CPUnit 0.95 (beta)
The REAL C++ port of JUnit.
|
#include <cpunit_ErrorReportFormat.hpp>
Public Member Functions | |
ErrorReportFormat () | |
ErrorReportFormat (const std::string &format) | |
ErrorReportFormat (const ErrorReportFormat &o) | |
~ErrorReportFormat () | |
ErrorReportFormat & | operator= (const ErrorReportFormat &o) |
std::string | format (const ExecutionReport &r) const |
Private Types | |
enum | Fragment { PATH, TEST_NAME, TEST_TIME, FILE, LINE, MESSAGE, ERROR_TYPE, NEWLINE, TABULATOR } |
Private Member Functions | |
void | parse (const std::string &) |
void | handle_fragment_identifier (const char) |
std::string | format (const ExecutionReport &r, const Fragment f) const |
Private Attributes | |
std::vector< std::string > | msg_parts |
std::vector< Fragment > | fragments |
Definition at line 41 of file cpunit_ErrorReportFormat.hpp.
enum cpunit::ErrorReportFormat::Fragment [private] |
Definition at line 42 of file cpunit_ErrorReportFormat.hpp.
cpunit::ErrorReportFormat::ErrorReportFormat | ( | ) |
Definition at line 39 of file cpunit_ErrorReportFormat.cpp.
cpunit::ErrorReportFormat::ErrorReportFormat | ( | const std::string & | format | ) |
Definition at line 42 of file cpunit_ErrorReportFormat.cpp.
cpunit::ErrorReportFormat::ErrorReportFormat | ( | const ErrorReportFormat & | o | ) |
Definition at line 46 of file cpunit_ErrorReportFormat.cpp.
cpunit::ErrorReportFormat::~ErrorReportFormat | ( | ) |
Definition at line 51 of file cpunit_ErrorReportFormat.cpp.
std::string cpunit::ErrorReportFormat::format | ( | const ExecutionReport & | r, |
const Fragment | f | ||
) | const [private] |
Definition at line 74 of file cpunit_ErrorReportFormat.cpp.
std::string cpunit::ErrorReportFormat::format | ( | const ExecutionReport & | r | ) | const |
Definition at line 64 of file cpunit_ErrorReportFormat.cpp.
void cpunit::ErrorReportFormat::handle_fragment_identifier | ( | const char | c | ) | [private] |
Definition at line 121 of file cpunit_ErrorReportFormat.cpp.
cpunit::ErrorReportFormat & cpunit::ErrorReportFormat::operator= | ( | const ErrorReportFormat & | o | ) |
Definition at line 55 of file cpunit_ErrorReportFormat.cpp.
void cpunit::ErrorReportFormat::parse | ( | const std::string & | format | ) | [private] |
Definition at line 100 of file cpunit_ErrorReportFormat.cpp.
std::vector<Fragment> cpunit::ErrorReportFormat::fragments [private] |
Definition at line 56 of file cpunit_ErrorReportFormat.hpp.
std::vector<std::string> cpunit::ErrorReportFormat::msg_parts [private] |
Definition at line 55 of file cpunit_ErrorReportFormat.hpp.