X: add unittest to ensure no exception will be thrown.
parent
3685791e0d
commit
862a145ea5
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue