testsoon::simple_reporter Class Reference

Inherits testsoon::test_reporter.

Inherited by testsoon::concise_reporter.

List of all members.

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

streamout


Detailed Description

Definition at line 280 of file testsoon.hpp.


Member Typedef Documentation

typedef stream_class testsoon::simple_reporter::stream

Definition at line 282 of file testsoon.hpp.


Constructor & Destructor Documentation

testsoon::simple_reporter::simple_reporter ( stream out  ) 

Definition at line 283 of file testsoon.hpp.


Member Function Documentation

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.


Member Data Documentation

stream& testsoon::simple_reporter::out [protected]

Definition at line 308 of file testsoon.hpp.


The documentation for this class was generated from the following file:
Generated on Sat Dec 22 15:34:59 2007 for Test soon by  doxygen 1.5.3