#include <failure_listener.h>
Event listener that only handles test failures
failure_listener |
( |
::testing::TestEventListener * |
event_listener, |
|
|
const bool |
regression |
|
) |
| |
|
inlineexplicit |
Reuse GTest's default listener
- Parameters
-
event_listener | gtests dfault listener |
regression | turn on extra printing for regression tests |
virtual void OnEnvironmentsSetUpEnd |
( |
const ::testing::UnitTest & |
| ) |
|
|
inlinevirtual |
virtual void OnEnvironmentsSetUpStart |
( |
const ::testing::UnitTest & |
| ) |
|
|
inlinevirtual |
virtual void OnEnvironmentsTearDownEnd |
( |
const ::testing::UnitTest & |
| ) |
|
|
inlinevirtual |
virtual void OnEnvironmentsTearDownStart |
( |
const ::testing::UnitTest & |
| ) |
|
|
inlinevirtual |
virtual void OnTestCaseEnd |
( |
const ::testing::TestCase & |
test_case | ) |
|
|
inlinevirtual |
Print message on test case end (regression mode only)
- Parameters
-
virtual void OnTestCaseStart |
( |
const ::testing::TestCase & |
test_case | ) |
|
|
inlinevirtual |
Print message on test case start (regression mode only)
- Parameters
-
virtual void OnTestEnd |
( |
const ::testing::TestInfo & |
test_info | ) |
|
|
inlinevirtual |
Print on test fail
- Parameters
-
test_info | test information |
virtual void OnTestIterationEnd |
( |
const ::testing::UnitTest & |
unit_test, |
|
|
int |
iteration |
|
) |
| |
|
inlinevirtual |
Print message on iteration end
- Parameters
-
unit_test | unit test |
iteration | current iteration |
virtual void OnTestIterationStart |
( |
const ::testing::UnitTest & |
unit_test, |
|
|
int |
iteration |
|
) |
| |
|
inlinevirtual |
Print message on iteration start
- Parameters
-
unit_test | unit test |
iteration | current iteration |
virtual void OnTestPartResult |
( |
const ::testing::TestPartResult & |
result | ) |
|
|
inlinevirtual |
Print on partial result
- Parameters
-
virtual void OnTestProgramEnd |
( |
const ::testing::UnitTest & |
unit_test | ) |
|
|
inlinevirtual |
Print message on program end
- Parameters
-
virtual void OnTestProgramStart |
( |
const ::testing::UnitTest & |
unit_test | ) |
|
|
inlinevirtual |
Print message on program start
- Parameters
-
virtual void OnTestStart |
( |
const ::testing::TestInfo & |
| ) |
|
|
inlinevirtual |
::testing::TestEventListener* m_event_listener |
|
protected |
Pointer to default event listener
The documentation for this class was generated from the following file: