git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@70 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
48 lines
534 B
C++
48 lines
534 B
C++
#include <cppunit/extensions/TestCaseDecorator.h>
|
|
|
|
CPPUNIT_NS_BEGIN
|
|
|
|
|
|
TestCaseDecorator::TestCaseDecorator( TestCase *test )
|
|
: TestCase( test->getName() ),
|
|
m_test( test )
|
|
{
|
|
}
|
|
|
|
|
|
TestCaseDecorator::~TestCaseDecorator()
|
|
{
|
|
delete m_test;
|
|
}
|
|
|
|
|
|
std::string
|
|
TestCaseDecorator::getName() const
|
|
{
|
|
return m_test->getName();
|
|
}
|
|
|
|
|
|
void
|
|
TestCaseDecorator::setUp()
|
|
{
|
|
m_test->setUp();
|
|
}
|
|
|
|
|
|
void
|
|
TestCaseDecorator::tearDown()
|
|
{
|
|
m_test->tearDown();
|
|
}
|
|
|
|
|
|
void
|
|
TestCaseDecorator::runTest()
|
|
{
|
|
m_test->runTest();
|
|
}
|
|
|
|
|
|
CPPUNIT_NS_END
|