Simple linked list template class.
Represents a test instance.
void setMultiline(bool value)
Set multine mode on/off.
virtual ~TestReporter()
Destructor.
TestReporter(int argc, char **argv)
Constructor.
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.
bool isFailed() const
Check if the test failed.
bool isOK() const
Check if the test passed.
bool isSkipped() const
Check if the test is skipped.
unsigned int uint
Unsigned integer number.