File: TestDecorator.cpp

package info (click to toggle)
poco 1.3.2%2Bdfsg1-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 17,144 kB
  • ctags: 26,948
  • sloc: cpp: 139,746; ansic: 75,988; makefile: 632; sh: 328; xml: 59; perl: 29
file content (43 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// TestDecorator.cpp
//
// $Id: //poco/1.3/CppUnit/src/TestDecorator.cpp#1 $
//


#include "CppUnit/TestDecorator.h"


namespace CppUnit {


TestDecorator::TestDecorator(Test* test)
{
	_test = test;
}


TestDecorator::~TestDecorator()
{
}


int TestDecorator::countTestCases()
{
	return _test->countTestCases();
}


void TestDecorator::run(TestResult* result)
{
	_test->run(result);
} 


std::string TestDecorator::toString()
{
	return _test->toString();
}


} // namespace CppUnit