Files
wlan-cloud-lib-poco/CppUnit/include/CppUnit/TestDecorator.h
Guenter Obiltschnig 5f3f36dd76 branched off 1.2.7
2006-12-07 17:49:15 +00:00

53 lines
767 B
C++

//
// TestDecorator.h
//
// $Id: //poco/1.2/CppUnit/include/CppUnit/TestDecorator.h#1 $
//
#ifndef CppUnit_TestDecorator_INCLUDED
#define CppUnit_TestDecorator_INCLUDED
#include "CppUnit/CppUnit.h"
#include "CppUnit/Guards.h"
#include "CppUnit/Test.h"
namespace CppUnit {
class TestResult;
/*
* A Decorator for Tests
*
* Does not assume ownership of the test it decorates
*
*/
class CppUnit_API TestDecorator: public Test
{
REFERENCEOBJECT(TestDecorator)
public:
TestDecorator(Test* test);
virtual ~TestDecorator();
int countTestCases();
void run(TestResult* result);
std::string toString();
protected:
Test* _test;
};
} // namespace CppUnit
#endif // CppUnit_TestDecorator_INCLUDED