Major API cleanup. Unified formatting & doxygen tags in the public API.
Added factory provider for default log streams. Added default log streams to std::out and std::cerr. Updated VC8 project config, boost workarounds is now working for the viewer. Updated unit test suite. Fixed some minor issues in the postprocessing-framework. BROKEN: DebugDLL build. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@292 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
#include "UnitTestPCH.h"
|
||||
#include "utSharedPPData.h"
|
||||
|
||||
|
||||
@@ -14,17 +15,21 @@ struct TestType
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void SharedPPDataTest :: setUp (void)
|
||||
{
|
||||
shared = new SharedPostProcessInfo();
|
||||
destructed = false;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void SharedPPDataTest :: tearDown (void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void SharedPPDataTest :: testPODProperty (void)
|
||||
{
|
||||
int i = 5;
|
||||
@@ -38,6 +43,7 @@ void SharedPPDataTest :: testPODProperty (void)
|
||||
CPPUNIT_ASSERT(shared->GetProperty("test",m) && 12.f == m);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void SharedPPDataTest :: testPropertyPointer (void)
|
||||
{
|
||||
int *i = new int[35];
|
||||
@@ -48,6 +54,7 @@ void SharedPPDataTest :: testPropertyPointer (void)
|
||||
CPPUNIT_ASSERT(!shared->GetProperty("test16",o));
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void SharedPPDataTest :: testPropertyDeallocation (void)
|
||||
{
|
||||
TestType *out, * pip = new TestType();
|
||||
|
||||
Reference in New Issue
Block a user