mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-06 03:55:32 +03:00
23 lines
369 B
C++
23 lines
369 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;
|
|
};
|