Public Types | |
typedef stream_class | stream |
Public Member Functions | |
xml_reporter (stream &out) | |
void | start () |
Indicates the start of a whole test run. | |
void | stop () |
Indicates the end of a whole test run. | |
void | begin_group (test_group const &group) |
Indicates the start of a test group. | |
void | end_group (test_group const &group) |
Indicates the end of a test group. | |
void | success (test_info const &i, string const &k) |
Indicates that the last test succeeded. | |
void | failure (test_info const &i, test_failure const &x, string const &k) |
Indicates that the last test failed. |
Definition at line 36 of file xml_reporter.hpp.
Definition at line 38 of file xml_reporter.hpp.
testsoon::xml_reporter::xml_reporter | ( | stream & | out | ) |
Definition at line 39 of file xml_reporter.hpp.
void testsoon::xml_reporter::start | ( | ) | [virtual] |
Indicates the start of a whole test run.
Reimplemented from testsoon::test_reporter.
Definition at line 41 of file xml_reporter.hpp.
void testsoon::xml_reporter::stop | ( | ) | [virtual] |
Indicates the end of a whole test run.
Reimplemented from testsoon::test_reporter.
Definition at line 45 of file xml_reporter.hpp.
void testsoon::xml_reporter::begin_group | ( | test_group const & | group | ) | [virtual] |
Indicates the start of a test group.
Reimplemented from testsoon::test_reporter.
Definition at line 49 of file xml_reporter.hpp.
void testsoon::xml_reporter::end_group | ( | test_group const & | group | ) | [virtual] |
Indicates the end of a test group.
Reimplemented from testsoon::test_reporter.
Definition at line 61 of file xml_reporter.hpp.
void testsoon::xml_reporter::success | ( | test_info const & | info, | |
string const & | sequence_key | |||
) | [virtual] |
Indicates that the last test succeeded.
Reimplemented from testsoon::test_reporter.
Definition at line 72 of file xml_reporter.hpp.
void testsoon::xml_reporter::failure | ( | test_info const & | info, | |
test_failure const & | failure, | |||
string const & | value | |||
) | [virtual] |
Indicates that the last test failed.
Implements testsoon::test_reporter.
Definition at line 87 of file xml_reporter.hpp.
References testsoon::test_failure::data, and testsoon::test_failure::message.