mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-11-04 04:28:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			485 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			485 B
		
	
	
	
		
			C++
		
	
	
	
	
	
//
 | 
						|
// TestDecorator.cpp
 | 
						|
//
 | 
						|
// $Id: //poco/1.4/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
 |