2021-04-12 21:51:51 +07:00

23 lines
347 B
C++

#pragma once
class Failure;
class TestResult
{
public:
TestResult ();
virtual void testsStarted ();
virtual void addFailure (const Failure& failure);
virtual void testsEnded ();
int getFailureCount() {
return failureCount;
}
int getWarningCount() {
return warningCount;
}
private:
int failureCount;
int warningCount;
};