1 #ifndef CPPUNIT_COMPILERTESTRESULTOUTPUTTER_H
2 #define CPPUNIT_COMPILERTESTRESULTOUTPUTTER_H
96 void setLocationFormat(
const std::string &locationFormat );
109 void setWrapColumn(
int wrapColumn );
111 int wrapColumn()
const;
113 virtual void printSuccess();
114 virtual void printFailureReport();
115 virtual void printFailuresList();
116 virtual void printStatistics();
117 virtual void printFailureDetail(
TestFailure *failure );
118 virtual void printFailureLocation(
SourceLine sourceLine );
119 virtual void printFailureType(
TestFailure *failure );
120 virtual void printFailedTestName(
TestFailure *failure );
121 virtual void printFailureMessage(
TestFailure *failure );
130 virtual bool processLocationFormatCommand(
char command,
133 virtual std::string extractBaseName(
const std::string &fileName )
const;
146 #endif // CPPUNIT_COMPILERTESTRESULTOUTPUTTER_H
Exceptions thrown by failed assertions.Exception is an exception that serves descriptive strings thro...
Definition: Exception.h:19
std::string m_locationFormat
Definition: CompilerOutputter.h:138
CPPUNIT_NS_BEGIN typedef std::ostream OStream
Definition: Stream.h:330
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
Represents a source line location.Used to capture the failure location in assertion.
Definition: SourceLine.h:30
#define CPPUNIT_COMPILER_LOCATION_FORMAT
Definition: Portability.h:86
Outputs a TestResultCollector in a compiler compatible format.Printing the test results in a compiler...
Definition: CompilerOutputter.h:55
Record of a failed Test execution.A TestFailure collects a failed test together with the caught excep...
Definition: TestFailure.h:24
OStream & m_stream
Definition: CompilerOutputter.h:137
#define CPPUNIT_NS_END
Definition: Portability.h:120
TestResultCollector * m_result
Definition: CompilerOutputter.h:136
Collects test result.A TestResultCollector is a TestListener which collects the results of executing ...
Definition: TestResultCollector.h:36
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
Abstract outputter to print test result summary.
Definition: Outputter.h:13
int m_wrapColumn
Definition: CompilerOutputter.h:139
#define CPPUNIT_API
Definition: CppUnitApi.h:27