Public Member Functions |
| | ~TestCaseFailure () |
| | Destructor.
|
| | TestCaseFailure (const TestCaseFailure &o) |
| | Copy constructor.
|
| void | operator= (TestCaseFailure &o) |
| | Copy operator used to insert into contanier.
|
Private Member Functions |
| | TestCaseFailure () |
| | Default constructor.
|
| | TestCaseFailure (const char *fname, int line, const char *label, bool destroy) |
| | Private constructor that can set m_label to true.
|
Private Attributes |
| const char * | m_fname |
| | Name of the file where the failure was produced.
|
| int | m_lineno |
| | Line number in the file where the failure was produced.
|
| const char * | m_label |
| | Descriptive message for the failure.
|
| bool | m_destroy_label |
| | Holds "true" if the destructor should return the dynamic memory for m_label.
|
Friends |
| class | TestCase |
| | Test case.
|
| template<class TestCase > |
| void | do_toXML (const TestCase *tc, std::basic_ostringstream< char > &ost) |
| | Adds to ost the string of al unsuccessful test from *tc in XML format.
|
| template<class TestCase > |
| void | do_toString (const TestCase *tc, std::basic_ostringstream< char > &ost) |
| | Adds to ost the string of al unsuccessful test from *tc.
|
Private class to hold test cases that didn´t succeed.
Definition at line 68 of file BUnit.h.