X: add unittest to ensure no exception will be thrown.

pull/1767/head
Kim Kulling 2018-02-04 22:18:54 +01:00
parent 3685791e0d
commit 862a145ea5
1 changed files with 5 additions and 0 deletions

View File

@ -62,3 +62,8 @@ public:
TEST_F( utXImporterExporter, importXFromFileTest ) {
EXPECT_TRUE( importerTest() );
}
TEST_F( utXImporterExporter, heap_overflow_in_tokenizer ) {
Assimp::Importer importer;
EXPECT_NO_THROW( importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/X/OV_GetNextToken", 0 ) );
}