Home | History | Annotate | Download | only in include

Lines Matching refs:UnitTest

6792 class UnitTest;                        // A collection of test cases.
6802 class UnitTestImpl; // Opaque implementation of UnitTest
7404 GTEST_API_ String GetCurrentOsStackTraceExceptTop(UnitTest* unit_test,
10357 // UnitTest class invokes this method to register tests in this
10416 // UnitTest class invokes this method to register tests in this test case
10420 // UnitTest has a guard to prevent from calling this method more then once.
16568 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
16590 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
17209 class UnitTest;
17575 friend class UnitTest;
17647 // The constructor of TestInfo registers itself with the UnitTest
17959 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
17964 virtual void OnTestIterationStart(const UnitTest& unit_test,
17968 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
17971 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
17989 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
17992 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
17995 virtual void OnTestIterationEnd(const UnitTest& unit_test,
17999 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
18009 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {}
18010 virtual void OnTestIterationStart(const UnitTest& /*unit_test*/,
18012 virtual void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) {}
18013 virtual void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) {}
18019 virtual void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) {}
18020 virtual void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) {}
18021 virtual void OnTestIterationEnd(const UnitTest& /*unit_test*/,
18023 virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {}
18104 // A UnitTest consists of a vector of TestCases.
18106 // This is a singleton class. The only instance of UnitTest is
18107 // created when UnitTest::GetInstance() is first called. This
18110 // UnitTest is not copyable.
18114 class GTEST_API_ UnitTest {
18116 // Gets the singleton UnitTest object. The first time this method
18117 // is called, a UnitTest object is constructed and returned.
18119 static UnitTest* GetInstance();
18121 // Runs all tests in this UnitTest object and prints the result.
18130 // was executed. The UnitTest object owns the string.
18205 // The UnitTest object takes ownership of the given environment.
18233 // members of UnitTest.
18243 // Creates an empty UnitTest.
18244 UnitTest();
18247 virtual ~UnitTest();
18262 // doing so will cause a warning in the constructor of UnitTest.
18266 // We disallow copying UnitTest.
18267 GTEST_DISALLOW_COPY_AND_ASSIGN_(UnitTest);
18289 return UnitTest::GetInstance()->AddEnvironment(env);
19533 (::testing::UnitTest::GetInstance()->Run())