1//
2// TestDecorator.cpp
3//
4
5
6#include "Poco/CppUnit/TestDecorator.h"
7
8
9namespace CppUnit {
10
11
12TestDecorator::TestDecorator(Test* test)
13{
14 _test = test;
15}
16
17
18TestDecorator::~TestDecorator()
19{
20}
21
22
23int TestDecorator::countTestCases()
24{
25 return _test->countTestCases();
26}
27
28
29void TestDecorator::run(TestResult* result)
30{
31 _test->run(result);
32}
33
34
35std::string TestDecorator::toString()
36{
37 return _test->toString();
38}
39
40
41} // namespace CppUnit
42