#include <tut_reporter.h>
Inheritance diagram for tut::reporter:


| Public Member Functions | |
| reporter () | |
| reporter (std::ostream &out) | |
| void | run_started () | 
| void | test_completed (const tut::test_result &tr) | 
| void | run_completed () | 
| bool | all_ok () const | 
| Public Attributes | |
| int | ok_count | 
| int | exceptions_count | 
| int | failures_count | 
| int | terminations_count | 
| int | warnings_count | 
| Private Types | |
| typedef std::vector< tut::test_result > | not_passed_list | 
| Private Member Functions | |
| void | init () | 
| Private Attributes | |
| std::string | current_group | 
| not_passed_list | not_passed | 
| std::ostream & | os | 
Definition at line 48 of file tut_reporter.h.
| typedef std::vector<tut::test_result> tut::reporter::not_passed_list  [private] | 
Definition at line 51 of file tut_reporter.h.
| tut::reporter::reporter | ( | ) |  [inline] | 
Definition at line 62 of file tut_reporter.h.
References init().
Here is the call graph for this function:

| tut::reporter::reporter | ( | std::ostream & | out | ) |  [inline] | 
Definition at line 67 of file tut_reporter.h.
References init().
Here is the call graph for this function:

| bool tut::reporter::all_ok | ( | ) | const  [inline] | 
| void tut::reporter::init | ( | ) |  [inline, private] | 
Definition at line 169 of file tut_reporter.h.
References exceptions_count, failures_count, not_passed, ok_count, terminations_count, and warnings_count.
Referenced by reporter(), and run_started().
| void tut::reporter::run_completed | ( | ) |  [inline, virtual] | 
Called when all tests in run completed.
Reimplemented from tut::callback.
Definition at line 98 of file tut_reporter.h.
References tut::test_result::ex, exceptions_count, tut::test_result::fail, failures_count, not_passed, ok_count, os, tut::test_result::term, terminations_count, tut::test_result::warn, and warnings_count.
| void tut::reporter::run_started | ( | ) |  [inline, virtual] | 
Called when new test run started.
Reimplemented from tut::callback.
Definition at line 72 of file tut_reporter.h.
References init().
Here is the call graph for this function:

| void tut::reporter::test_completed | ( | const tut::test_result & | tr | ) |  [inline, virtual] | 
Called when a test finished.
| tr | Test results. | 
Reimplemented from tut::callback.
Definition at line 77 of file tut_reporter.h.
References current_group, tut::test_result::ex, exceptions_count, tut::test_result::fail, failures_count, tut::test_result::group, not_passed, tut::test_result::ok, ok_count, os, tut::test_result::result, terminations_count, tut::test_result::warn, and warnings_count.
| std::string tut::reporter::current_group  [private] | 
Definition at line 57 of file tut_reporter.h.
Referenced by init(), run_completed(), and test_completed().
Definition at line 58 of file tut_reporter.h.
Referenced by init(), run_completed(), and test_completed().
| not_passed_list tut::reporter::not_passed  [private] | 
Definition at line 52 of file tut_reporter.h.
Referenced by all_ok(), init(), run_completed(), and test_completed().
Definition at line 56 of file tut_reporter.h.
Referenced by init(), run_completed(), and test_completed().
| std::ostream& tut::reporter::os  [private] | 
Definition at line 59 of file tut_reporter.h.
Referenced by init(), run_completed(), and test_completed().
Definition at line 60 of file tut_reporter.h.
Referenced by init(), run_completed(), and test_completed().
 1.4.7
 1.4.7