tut::callback Struct Reference |
Public Member Functions | |
callback () | |
virtual | ~callback () |
virtual bool | all_ok () const |
virtual void | group_completed (const std::string &name) |
virtual void | group_started (const std::string &name) |
virtual void | run_completed () |
virtual void | run_started () |
virtual void | test_completed (const test_result &tr) |
Test runner callback interface. Can be implemented by caller to update tests results in real-time. User can implement any of callback methods, and leave unused in default implementation.
|
inline |
Default constructor.
|
inlinevirtual |
Virtual destructor is a must for subclassed types.
|
inlinevirtual |
Called when a group is completed
name | Name of the group |
|
inlinevirtual |
Called when a group started
name | Name of the group |
|
inlinevirtual |
Called when all tests in run completed.
Reimplemented in tut::xml_reporter, tut::console_reporter, and tut::cppunit_reporter.
|
inlinevirtual |
Called when new test run started.
Reimplemented in tut::xml_reporter, tut::console_reporter, and tut::cppunit_reporter.
|
inlinevirtual |
Called when a test finished.
tr | Test results. |
Reimplemented in tut::xml_reporter, tut::console_reporter, and tut::cppunit_reporter.
All Rights Reserved. Generated on Wed Dec 18 2013 11:19:52 for TUT by doxygen 1.8.5 |