Merge pull request #26362 from ksooo/estuary-rework-pvr-info-dialog
[xbmc.git] / xbmc / utils / test / TestGlobalsHandling.cpp
blob5b8d26a6039dcd673504c5b66069298152531a24
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #include "utils/test/TestGlobalsHandlingPattern1.h"
11 #include <gtest/gtest.h>
13 using namespace xbmcutil;
14 using namespace test;
16 bool TestGlobalPattern1::ctorCalled = false;
17 bool TestGlobalPattern1::dtorCalled = false;
19 TEST(TestGlobal, Pattern1)
21 EXPECT_TRUE(TestGlobalPattern1::ctorCalled);
23 std::shared_ptr<TestGlobalPattern1> ptr = g_testGlobalPattern1Ref;