mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
fix warnings
This commit is contained in:
@@ -33,11 +33,11 @@ public:
|
|||||||
|
|
||||||
virtual ~TestDecorator();
|
virtual ~TestDecorator();
|
||||||
|
|
||||||
int countTestCases();
|
int countTestCases() const;
|
||||||
|
|
||||||
void run(TestResult* result);
|
void run(TestResult* result);
|
||||||
|
|
||||||
std::string toString();
|
std::string toString() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Test* _test;
|
Test* _test;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ TestDecorator::~TestDecorator()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int TestDecorator::countTestCases()
|
int TestDecorator::countTestCases() const
|
||||||
{
|
{
|
||||||
return _test->countTestCases();
|
return _test->countTestCases();
|
||||||
}
|
}
|
||||||
@@ -29,10 +29,10 @@ int TestDecorator::countTestCases()
|
|||||||
void TestDecorator::run(TestResult* result)
|
void TestDecorator::run(TestResult* result)
|
||||||
{
|
{
|
||||||
_test->run(result);
|
_test->run(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
std::string TestDecorator::toString()
|
std::string TestDecorator::toString() const
|
||||||
{
|
{
|
||||||
return _test->toString();
|
return _test->toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user