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
44 lines
961 B
C++
44 lines
961 B
C++
|
|
|
|
|
|
#ifndef TESTSCENEPREPROCESSOR_H
|
|
#define TESTSCENEPREPROCESSOR_H
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include <aiMesh.h>
|
|
#include <aiScene.h>
|
|
#include <assimp.hpp>
|
|
#include <ScenePreprocessor.h>
|
|
|
|
using namespace std;
|
|
using namespace Assimp;
|
|
|
|
class ScenePreprocessorTest : public CPPUNIT_NS :: TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (ScenePreprocessorTest);
|
|
CPPUNIT_TEST (testMeshPreprocessingPos);
|
|
CPPUNIT_TEST (testMeshPreprocessingNeg);
|
|
CPPUNIT_TEST (testAnimationPreprocessingPos);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void setUp (void);
|
|
void tearDown (void);
|
|
|
|
protected:
|
|
|
|
void testMeshPreprocessingPos (void);
|
|
void testMeshPreprocessingNeg (void);
|
|
void testAnimationPreprocessingPos (void);
|
|
|
|
private:
|
|
|
|
void CheckIfOnly(aiMesh* p,unsigned int num, unsigned flag);
|
|
|
|
ScenePreprocessor* pp;
|
|
aiScene* scene;
|
|
};
|
|
|
|
#endif |