18#ifndef __LIBTEST_TESTREPORTER_H
19#define __LIBTEST_TESTREPORTER_H
Simple linked list template class.
Represents a test instance.
Responsible for outputting test results.
void setMultiline(bool value)
Set multine mode on/off.
virtual ~TestReporter()
Destructor.
bool m_statistics
Final statistics on/off.
int m_argc
Argument count.
virtual void prepare(TestInstance &test)
Prepare for next test.
virtual void begin(List< TestInstance * > &tests)
Begin testing.
uint m_ok
Test statistics.
char ** m_argv
Argument values.
void setReport(bool value)
Set reporting on/off.
virtual void reportFinish(List< TestInstance * > &tests)=0
Report completion of all tests.
uint getFailed() const
Get fail count.
void setStatistics(bool value)
Set final statistics on/off.
virtual void reportAfter(TestInstance &test, TestResult &result)=0
Report finish of a test.
virtual void finish(List< TestInstance * > &tests)
Finish testing.
virtual void reportBefore(TestInstance &test)=0
Report start of a test.
uint getSkipped() const
Get skip count.
virtual void collect(TestInstance &test, TestResult &result)
Collect test statistics.
bool m_report
Report on/off.
uint getOk() const
Get OK count.
virtual void reportBegin(List< TestInstance * > &tests)=0
Report start of testing.
bool m_multiline
Multi line output.
Represents a Test result created by a TestInstance.
unsigned int uint
Unsigned integer number.