class TestEventListener
Defined at line 925 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
The interface for tracing execution of tests. The methods are organized in
the order the corresponding events are fired.
Public Methods
void OnTestProgramStart (const UnitTest & unit_test)
Fired before any test activity starts.
void OnTestIterationStart (const UnitTest & unit_test, int iteration)
Fired before each iteration of tests starts. There may be more than
one iteration if GTEST_FLAG(repeat) is set. iteration is the iteration
index, starting from 0.
void OnEnvironmentsSetUpStart (const UnitTest & unit_test)
Fired before environment set-up for each iteration of tests starts.
void OnEnvironmentsSetUpEnd (const UnitTest & unit_test)
Fired after environment set-up for each iteration of tests ends.
void ~TestEventListener ()
Defined at line 927 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestSuiteStart (const TestSuite & )
Fired before the test suite starts.
Defined at line 945 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestCaseStart (const TestCase & )
Defined at line 949 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestDisabled (const TestInfo & )
Fired when a test is disabled
Defined at line 956 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestStart (const TestInfo & test_info)
Fired before the test starts.
void OnTestPartResult (const TestPartResult & test_part_result)
Fired after a failed assertion or a SUCCEED() invocation.
If you want to throw an exception from this function to skip to the next
TEST, it must be AssertionException defined above, or inherited from it.
void OnTestEnd (const TestInfo & test_info)
Fired after the test ends.
void OnEnvironmentsTearDownStart (const UnitTest & unit_test)
Fired before environment tear-down for each iteration of tests starts.
void OnEnvironmentsTearDownEnd (const UnitTest & unit_test)
Fired after environment tear-down for each iteration of tests ends.
void OnTestSuiteEnd (const TestSuite & )
Fired after the test suite ends.
Defined at line 967 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestCaseEnd (const TestCase & )
Defined at line 971 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
void OnTestIterationEnd (const UnitTest & unit_test, int iteration)
Fired after each iteration of tests finishes.
void OnTestProgramEnd (const UnitTest & unit_test)
Fired after all test activities have ended.