OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2__INCLUDE_OTEST2_REPORTERSTATISTICS_H_
21 #define OTest2__INCLUDE_OTEST2_REPORTERSTATISTICS_H_
37 int assertions_failed;
void reportCase(bool result_)
Count new test case.
int getAssertionsFailed() const
Get count of failed assertions.
int getCases() const
Get count of test cases.
~ReporterStatistics()
Dtor.
int getCasesFailed() const
Get count of failed test cases.
void reportError()
Report a framework error.
void reportAssertion(bool result_)
Count new assertion.
int getCasesOK() const
Get count of passed test cases.
ReporterStatistics & operator=(const ReporterStatistics &)=delete
int getSuitesFailed() const
Get count of failed suites.
int getAssertionsOK() const
Get count of passed assertions.
A helper class keeping statistic counters.
ReporterStatistics()
Ctor.
int getErrors() const
Get count of the errors.
int getAssertions() const
Get count of assertions.
void reportSuite(bool result_)
Count new suite.
int getSuitesOK() const
Get count of passed suites.
int getSuites() const
Get count of suites.