Unittests: add test if export is disabled.

pull/789/head
Kim Kulling 2016-02-05 18:31:19 +01:00
parent f7d979c46e
commit 51c9a9f80c
2 changed files with 18 additions and 14 deletions

View File

@ -3,7 +3,7 @@
Open Asset Import Library (assimp) Open Asset Import Library (assimp)
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Copyright (c) 2006-2014, assimp team Copyright (c) 2006-2016, assimp team
All rights reserved. All rights reserved.
@ -50,6 +50,8 @@ class utIssues : public ::testing::Test {
}; };
#ifndef ASSIMP_BUILD_NO_EXPORT
TEST_F( utIssues, OpacityBugWhenExporting_727 ) { TEST_F( utIssues, OpacityBugWhenExporting_727 ) {
aiScene *scene( new aiScene ); aiScene *scene( new aiScene );
@ -103,3 +105,5 @@ TEST_F( utIssues, OpacityBugWhenExporting_727 ) {
}*/ }*/
} }
} }
#endif // ASSIMP_BUILD_NO_EXPORT