testsoon::xml_reporter Class Reference

Inherits testsoon::test_reporter.

List of all members.

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.


Detailed Description

Definition at line 36 of file xml_reporter.hpp.


Member Typedef Documentation

typedef stream_class testsoon::xml_reporter::stream

Definition at line 38 of file xml_reporter.hpp.


Constructor & Destructor Documentation

testsoon::xml_reporter::xml_reporter ( stream out  ) 

Definition at line 39 of file xml_reporter.hpp.


Member Function Documentation

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.


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