virtual void reportBefore(TestInstance &test)=0
Report start of a test.
virtual ~TestReporter()
Destructor.
int m_argc
Argument count.
uint getOk() const
Get OK count.
bool isOK() const
Check if the test passed.
virtual void begin(List< TestInstance * > &tests)
Begin testing.
bool m_statistics
Final statistics on/off.
bool m_multiline
Multi line output.
virtual void finish(List< TestInstance * > &tests)
Finish testing.
unsigned int uint
Unsigned integer number.
uint getSkipped() const
Get skip count.
bool isSkipped() const
Check if the test is skipped.
virtual void prepare(TestInstance &test)
Prepare for next test.
char ** m_argv
Argument values.
uint m_ok
Test statistics.
virtual void collect(TestInstance &test, TestResult &result)
Collect test statistics.
virtual void reportBegin(List< TestInstance * > &tests)=0
Report start of testing.
void setMultiline(bool value)
Set multine mode on/off.
TestReporter(int argc, char **argv)
Constructor.
Represents a Test result created by a TestInstance.
bool isFailed() const
Check if the test failed.
virtual void reportFinish(List< TestInstance * > &tests)=0
Report completion of all tests.
void setReport(bool value)
Set reporting on/off.
virtual void reportAfter(TestInstance &test, TestResult &result)=0
Report finish of a test.
bool m_report
Report on/off.
void setStatistics(bool value)
Set final statistics on/off.
uint getFailed() const
Get fail count.
Represents a test instance.