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:
28
contrib/cppunit-1.12.1/src/cppunit/TestLeaf.cpp
Normal file
28
contrib/cppunit-1.12.1/src/cppunit/TestLeaf.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#include <cppunit/TestLeaf.h>
|
||||
|
||||
|
||||
CPPUNIT_NS_BEGIN
|
||||
|
||||
|
||||
int
|
||||
TestLeaf::countTestCases() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
TestLeaf::getChildTestCount() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Test *
|
||||
TestLeaf::doGetChildTestAt( int index ) const
|
||||
{
|
||||
checkIsValidIndex( index );
|
||||
return NULL; // never called, checkIsValidIndex() always throw.
|
||||
}
|
||||
|
||||
CPPUNIT_NS_END
|
||||
Reference in New Issue
Block a user