Lines Matching refs:UnitTest
7049 class UnitTest; // A collection of test cases.
7059 class UnitTestImpl; // Opaque implementation of UnitTest
7612 UnitTest* unit_test, int skip_count);
10423 // UnitTest class invokes this method to register tests in this
10482 // UnitTest class invokes this method to register tests in this test case
10486 // UnitTest has a guard to prevent from calling this method more then once.
16955 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
16977 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
17589 class UnitTest;
17957 friend class UnitTest;
18032 // The constructor of TestInfo registers itself with the UnitTest
18378 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
18383 virtual void OnTestIterationStart(const UnitTest& unit_test,
18387 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
18390 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
18408 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
18411 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
18414 virtual void OnTestIterationEnd(const UnitTest& unit_test,
18418 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
18428 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {}
18429 virtual void OnTestIterationStart(const UnitTest& /*unit_test*/,
18431 virtual void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) {}
18432 virtual void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) {}
18438 virtual void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) {}
18439 virtual void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) {}
18440 virtual void OnTestIterationEnd(const UnitTest& /*unit_test*/,
18442 virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {}
18523 // A UnitTest consists of a vector of TestCases.
18525 // This is a singleton class. The only instance of UnitTest is
18526 // created when UnitTest::GetInstance() is first called. This
18529 // UnitTest is not copyable.
18533 class GTEST_API_ UnitTest {
18535 // Gets the singleton UnitTest object. The first time this method
18536 // is called, a UnitTest object is constructed and returned.
18538 static UnitTest* GetInstance();
18540 // Runs all tests in this UnitTest object and prints the result.
18549 // was executed. The UnitTest object owns the string.
18641 // The UnitTest object takes ownership of the given environment.
18673 // members of UnitTest.
18685 // Creates an empty UnitTest.
18686 UnitTest();
18689 virtual ~UnitTest();
18706 // doing so will cause a warning in the constructor of UnitTest.
18710 // We disallow copying UnitTest.
18711 GTEST_DISALLOW_COPY_AND_ASSIGN_(UnitTest);
18733 return UnitTest::GetInstance()->AddEnvironment(env);
20059 return ::testing::UnitTest::GetInstance()->Run();