#include <tut_reporter.h>
Public Member Functions | |
reporter () | |
reporter (std::ostream &out) | |
void | run_started () |
Called when new test run started. | |
void | test_completed (const tut::test_result &tr) |
Called when a test finished. | |
void | run_completed () |
Called when all tests in run completed. | |
bool | all_ok () const |
Public Attributes | |
int | ok_count |
int | exceptions_count |
int | failures_count |
int | terminations_count |
int | warnings_count |
tut::reporter::reporter | ( | ) | [inline] |
tut::reporter::reporter | ( | std::ostream & | out | ) | [inline] |
void tut::reporter::run_started | ( | ) | [inline, virtual] |
void tut::reporter::test_completed | ( | const tut::test_result & | ) | [inline, virtual] |
Called when a test finished.
tr | Test results. |
Reimplemented from tut::callback.
References tut::test_result::ex, tut::test_result::ex_ctor, exceptions_count, tut::test_result::fail, failures_count, tut::test_result::group, tut::test_result::ok, ok_count, tut::test_result::result, terminations_count, tut::test_result::warn, and warnings_count.
void tut::reporter::run_completed | ( | ) | [inline, virtual] |
Called when all tests in run completed.
Reimplemented from tut::callback.
References tut::test_result::ex, tut::test_result::ex_ctor, tut::test_result::exception_typeid, exceptions_count, tut::test_result::fail, failures_count, tut::test_result::group, tut::test_result::message, ok_count, tut::test_result::result, tut::test_result::term, terminations_count, tut::test_result::test, tut::test_result::warn, and warnings_count.
bool tut::reporter::all_ok | ( | ) | const [inline] |
Referenced by run_completed(), and test_completed().
Referenced by run_completed(), and test_completed().
Referenced by run_completed(), and test_completed().
Referenced by run_completed(), and test_completed().
Referenced by run_completed(), and test_completed().