Added cppunit to the ./contrib dir. Build config for x64 and dll builds (some bugs remaining, but most configs are working)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@70 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user