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
52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
#ifndef TESTLBW_H
|
|
#define TESTLBW_H
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include <aiScene.h>
|
|
#include <RemoveVCProcess.h>
|
|
#include <MaterialSystem.h>
|
|
|
|
using namespace std;
|
|
using namespace Assimp;
|
|
|
|
class RemoveVCProcessTest : public CPPUNIT_NS :: TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (RemoveVCProcessTest);
|
|
CPPUNIT_TEST (testMeshRemove);
|
|
CPPUNIT_TEST (testAnimRemove);
|
|
CPPUNIT_TEST (testMaterialRemove);
|
|
CPPUNIT_TEST (testTextureRemove);
|
|
CPPUNIT_TEST (testCameraRemove);
|
|
CPPUNIT_TEST (testLightRemove);
|
|
CPPUNIT_TEST (testMeshComponentsRemoveA);
|
|
CPPUNIT_TEST (testMeshComponentsRemoveB);
|
|
CPPUNIT_TEST (testRemoveEverything);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void setUp (void);
|
|
void tearDown (void);
|
|
|
|
protected:
|
|
|
|
void testMeshRemove (void);
|
|
void testAnimRemove (void);
|
|
void testMaterialRemove (void);
|
|
void testTextureRemove (void);
|
|
void testCameraRemove (void);
|
|
void testLightRemove (void);
|
|
|
|
void testMeshComponentsRemoveA (void);
|
|
void testMeshComponentsRemoveB (void);
|
|
void testRemoveEverything (void);
|
|
|
|
private:
|
|
|
|
RemoveVCProcess* piProcess;
|
|
aiScene* pScene;
|
|
};
|
|
|
|
#endif
|