You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
793 B

  1. #ifndef INCLUDED_UT_EXPORT_H
  2. #define INCLUDED_UT_EXPORT_H
  3. #ifndef ASSIMP_BUILD_NO_EXPORT
  4. #include <assimp/cexport.h>
  5. #include <assimp/Exporter.hpp>
  6. using namespace Assimp;
  7. class ExporterTest : public CPPUNIT_NS :: TestFixture
  8. {
  9. CPPUNIT_TEST_SUITE (ExporterTest);
  10. CPPUNIT_TEST (testExportToFile);
  11. CPPUNIT_TEST (testExportToBlob);
  12. CPPUNIT_TEST (testCppExportInterface);
  13. CPPUNIT_TEST (testCExportInterface);
  14. CPPUNIT_TEST_SUITE_END ();
  15. public:
  16. void setUp (void);
  17. void tearDown (void);
  18. protected:
  19. void testExportToFile (void);
  20. void testExportToBlob (void);
  21. void testCppExportInterface (void);
  22. void testCExportInterface (void);
  23. private:
  24. const aiScene* pTest;
  25. Assimp::Exporter* ex;
  26. Assimp::Importer* im;
  27. };
  28. #endif
  29. #endif