My Project
Loading...
Searching...
No Matches
Public Member Functions
CxxTest::ParenPrinter Class Reference

#include <ParenPrinter.h>

Public Member Functions

 ParenPrinter (CXXTEST_STD(ostream) &o=CXXTEST_STD(cout))
 
- Public Member Functions inherited from CxxTest::ErrorPrinter
 ErrorPrinter (CXXTEST_STD(ostream) &o=CXXTEST_STD(cout), const char *preLine=":", const char *postLine="")
 
virtual ~ErrorPrinter ()
 
- Public Member Functions inherited from CxxTest::ErrorFormatter
 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 &)
 

Additional Inherited Members

- Static Public Member Functions inherited from CxxTest::ErrorFormatter
static void totalTests (OutputStream &o)
 
- Protected Member Functions inherited from CxxTest::ErrorFormatter
OutputStreamoutputStream () const
 

Detailed Description

Definition at line 14 of file ParenPrinter.h.

Constructor & Destructor Documentation

◆ ParenPrinter()

CxxTest::ParenPrinter::ParenPrinter ( CXXTEST_STD(ostream) &  o = CXXTEST_STD(cout))
inline

Definition at line 17 of file ParenPrinter.h.

17: ErrorPrinter( o, "(", ")" ) {}
ErrorPrinter(CXXTEST_STD(ostream) &o=CXXTEST_STD(cout), const char *preLine=":", const char *postLine="")
Definition: ErrorPrinter.h:31

The documentation for this class was generated from the following file: