My Project
|
#include <ErrorFormatter.h>
Public Member Functions | |
ErrorFormatter (OutputStream *o, const char *preLine=":", const char *postLine="") | |
int | run () |
void | enterWorld (const WorldDescription &) |
void | enterSuite (const SuiteDescription &) |
void | enterTest (const TestDescription &) |
void | leaveTest (const TestDescription &) |
void | leaveWorld (const WorldDescription &desc) |
void | trace (const char *file, unsigned line, const char *expression) |
void | warning (const char *file, unsigned line, const char *expression) |
void | failedTest (const char *file, unsigned line, const char *expression) |
void | failedAssert (const char *file, unsigned line, const char *expression) |
void | failedAssertEquals (const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y) |
void | failedAssertSameData (const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size) |
void | failedAssertDelta (const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d) |
void | failedAssertDiffers (const char *file, unsigned line, const char *xStr, const char *yStr, const char *value) |
void | failedAssertLessThan (const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y) |
void | failedAssertLessThanEquals (const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y) |
void | failedAssertRelation (const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y) |
void | failedAssertPredicate (const char *file, unsigned line, const char *predicate, const char *xStr, const char *x) |
void | failedAssertThrows (const char *file, unsigned line, const char *expression, const char *type, bool otherThrown) |
void | failedAssertThrowsNot (const char *file, unsigned line, const char *expression) |
Public Member Functions inherited from CxxTest::TestListener | |
TestListener () | |
virtual | ~TestListener () |
virtual void | enterWorld (const WorldDescription &) |
virtual void | enterSuite (const SuiteDescription &) |
virtual void | enterTest (const TestDescription &) |
virtual void | trace (const char *, unsigned, const char *) |
virtual void | warning (const char *, unsigned, const char *) |
virtual void | failedTest (const char *, unsigned, const char *) |
virtual void | failedAssert (const char *, unsigned, const char *) |
virtual void | failedAssertEquals (const char *, unsigned, const char *, const char *, const char *, const char *) |
virtual void | failedAssertSameData (const char *, unsigned, const char *, const char *, const char *, const void *, const void *, unsigned) |
virtual void | failedAssertDelta (const char *, unsigned, const char *, const char *, const char *, const char *, const char *, const char *) |
virtual void | failedAssertDiffers (const char *, unsigned, const char *, const char *, const char *) |
virtual void | failedAssertLessThan (const char *, unsigned, const char *, const char *, const char *, const char *) |
virtual void | failedAssertLessThanEquals (const char *, unsigned, const char *, const char *, const char *, const char *) |
virtual void | failedAssertPredicate (const char *, unsigned, const char *, const char *, const char *) |
virtual void | failedAssertRelation (const char *, unsigned, const char *, const char *, const char *, const char *, const char *) |
virtual void | failedAssertThrows (const char *, unsigned, const char *, const char *, bool) |
virtual void | failedAssertThrowsNot (const char *, unsigned, const char *) |
virtual void | leaveTest (const TestDescription &) |
virtual void | leaveSuite (const SuiteDescription &) |
virtual void | leaveWorld (const WorldDescription &) |
Static Public Member Functions | |
static void | totalTests (OutputStream &o) |
Protected Member Functions | |
OutputStream * | outputStream () const |
Private Member Functions | |
ErrorFormatter (const ErrorFormatter &) | |
ErrorFormatter & | operator= (const ErrorFormatter &) |
OutputStream & | stop (const char *file, unsigned line) |
void | newLine (void) |
void | reportTest (void) |
void | dump (const void *buffer, unsigned size) |
void | dumpNull () |
void | dumpBuffer (const void *buffer, unsigned size) |
Static Private Member Functions | |
static void | endl (OutputStream &o) |
Private Attributes | |
bool | _dotting |
bool | _reported |
OutputStream * | _o |
const char * | _preLine |
const char * | _postLine |
Definition at line 33 of file ErrorFormatter.h.
|
inline |
Definition at line 36 of file ErrorFormatter.h.
|
private |
|
inlineprivate |
Definition at line 240 of file ErrorFormatter.h.
|
inlineprivate |
Definition at line 253 of file ErrorFormatter.h.
|
inlineprivate |
Definition at line 248 of file ErrorFormatter.h.
|
inlinestaticprivate |
Definition at line 268 of file ErrorFormatter.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 71 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 51 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 114 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 141 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 150 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 120 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 159 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 168 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 185 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 177 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 129 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 192 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 201 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 108 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 76 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 84 of file ErrorFormatter.h.
|
inlineprivate |
Definition at line 224 of file ErrorFormatter.h.
|
private |
|
inlineprotected |
Definition at line 208 of file ErrorFormatter.h.
|
inlineprivate |
|
inline |
Definition at line 45 of file ErrorFormatter.h.
|
inlineprivate |
Definition at line 217 of file ErrorFormatter.h.
|
inlinestatic |
Definition at line 59 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 96 of file ErrorFormatter.h.
|
inlinevirtual |
Reimplemented from CxxTest::TestListener.
Definition at line 102 of file ErrorFormatter.h.
|
private |
Definition at line 273 of file ErrorFormatter.h.
|
private |
Definition at line 275 of file ErrorFormatter.h.
|
private |
Definition at line 277 of file ErrorFormatter.h.
|
private |
Definition at line 276 of file ErrorFormatter.h.
|
private |
Definition at line 274 of file ErrorFormatter.h.