Inherited by testsoon::concise_reporter.
Public Types | |
typedef stream_class | stream |
Public Member Functions | |
simple_reporter (stream &out) | |
void | before_tests (test_group const &group) |
Indicates that the next event will be success() or failure(). | |
void | after_tests (test_group const &) |
Indicates that the next event will not be success() or failure(). | |
void | success (test_info const &, string const &) |
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. | |
Protected Attributes | |
stream & | out |
Definition at line 280 of file testsoon.hpp.
Definition at line 282 of file testsoon.hpp.
testsoon::simple_reporter::simple_reporter | ( | stream & | out | ) |
Definition at line 283 of file testsoon.hpp.
void testsoon::simple_reporter::before_tests | ( | test_group const & | group | ) | [virtual] |
Indicates that the next event will be success() or failure().
Reimplemented from testsoon::test_reporter.
Definition at line 284 of file testsoon.hpp.
void testsoon::simple_reporter::after_tests | ( | test_group const & | group | ) | [virtual] |
Indicates that the next event will not be success() or failure().
Reimplemented from testsoon::test_reporter.
Definition at line 289 of file testsoon.hpp.
void testsoon::simple_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 294 of file testsoon.hpp.
void testsoon::simple_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 299 of file testsoon.hpp.
References testsoon::test_failure::line.
stream& testsoon::simple_reporter::out [protected] |
Definition at line 308 of file testsoon.hpp.