Files
assimp/test/unit/utExport.h
aramis_acg 621bdef663 - rework exporter interface to be based primarily on the existing IOSystem.
- implement ExportToBlob/aiExportToBlob via a custom IOSystem implementation.
- split exporter C and C++ interfaces.
+ test cases for the exporter interface

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@913 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-03-08 16:09:54 +00:00

42 lines
817 B
C++

#ifndef INCLUDED_UT_EXPORT_H
#define INCLUDED_UT_EXPORT_H
#ifndef ASSIMP_BUILD_NO_EXPORT
#include <export.h>
#include <export.hpp>
using namespace Assimp;
class ExporterTest : public CPPUNIT_NS :: TestFixture
{
CPPUNIT_TEST_SUITE (ExporterTest);
CPPUNIT_TEST (testExportToFile);
CPPUNIT_TEST (testExportToBlob);
CPPUNIT_TEST (testCppExportInterface);
CPPUNIT_TEST (testCExportInterface);
CPPUNIT_TEST_SUITE_END ();
public:
void setUp (void);
void tearDown (void);
protected:
void testExportToFile (void);
void testExportToBlob (void);
void testCppExportInterface (void);
void testCExportInterface (void);
private:
const aiScene* pTest;
Assimp::Exporter* ex;
Assimp::Importer* im;
};
#endif
#endif