git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@70 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
54 lines
646 B
C++
54 lines
646 B
C++
#include <cppunit/extensions/TestDecorator.h>
|
|
|
|
CPPUNIT_NS_BEGIN
|
|
|
|
|
|
TestDecorator::TestDecorator( Test *test )
|
|
: m_test( test)
|
|
{
|
|
}
|
|
|
|
|
|
TestDecorator::~TestDecorator()
|
|
{
|
|
delete m_test;
|
|
}
|
|
|
|
|
|
int
|
|
TestDecorator::countTestCases() const
|
|
{
|
|
return m_test->countTestCases();
|
|
}
|
|
|
|
|
|
void
|
|
TestDecorator::run( TestResult *result )
|
|
{
|
|
m_test->run(result);
|
|
}
|
|
|
|
|
|
std::string
|
|
TestDecorator::getName() const
|
|
{
|
|
return m_test->getName();
|
|
}
|
|
|
|
|
|
int
|
|
TestDecorator::getChildTestCount() const
|
|
{
|
|
return m_test->getChildTestCount();
|
|
}
|
|
|
|
|
|
Test *
|
|
TestDecorator::doGetChildTestAt( int index ) const
|
|
{
|
|
return m_test->getChildTestAt( index );
|
|
}
|
|
|
|
|
|
CPPUNIT_NS_END
|