fix warnings

This commit is contained in:
Günter Obiltschnig 2020-01-04 09:58:23 +01:00
parent 24c7d4ab97
commit b9cc21867b
2 changed files with 5 additions and 5 deletions

View File

@ -33,11 +33,11 @@ public:
virtual ~TestDecorator();
int countTestCases();
int countTestCases() const;
void run(TestResult* result);
std::string toString();
std::string toString() const;
protected:
Test* _test;

View File

@ -20,7 +20,7 @@ TestDecorator::~TestDecorator()
}
int TestDecorator::countTestCases()
int TestDecorator::countTestCases() const
{
return _test->countTestCases();
}
@ -32,7 +32,7 @@ void TestDecorator::run(TestResult* result)
}
std::string TestDecorator::toString()
std::string TestDecorator::toString() const
{
return _test->toString();
}