![]() |
tut::xml_reporter Class Reference |
JUnit XML TUT reporter. More...
#include <tut_xml_reporter.hpp>
Public Member Functions | |
xml_reporter (const std::string &filename) | |
number of tests where destructors threw an exception More... | |
xml_reporter (std::ostream &stream) | |
virtual bool | all_ok () const |
Returns true, if all tests passed. | |
virtual void | run_completed () |
Callback function This function is called when all tests are completed. It generates XML output to file(s). File name base can be set with constructor. | |
virtual void | run_started () |
Callback function This function is called before the first test is executed. It initializes counters. | |
virtual void | test_completed (const tut::test_result &tr) |
Callback function This function is called when test completes. Counters are updated here, and test results stored. | |
![]() | |
callback () | |
virtual | ~callback () |
virtual void | group_completed (const std::string &name) |
virtual void | group_started (const std::string &name) |
Public Attributes | |
int | exceptions_count |
number of passed tests | |
int | failures_count |
number of tests that threw exceptions | |
int | ok_count |
int | terminations_count |
number of tests that failed | |
int | warnings_count |
number of tests that would terminate | |
JUnit XML TUT reporter.
|
inline |
number of tests where destructors threw an exception
Default constructor
filename | base filename |
All Rights Reserved. Generated on Wed Dec 18 2013 11:19:52 for TUT by doxygen 1.8.5 |