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:
47
contrib/cppunit-1.12.1/src/cppunit/TestCaseDecorator.cpp
Normal file
47
contrib/cppunit-1.12.1/src/cppunit/TestCaseDecorator.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user