MCPcopy Create free account
hub / github.com/assimp/assimp / TEST_F

Function TEST_F

test/unit/AssimpAPITest.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48};
49
50TEST_F( AssimpAPITest, aiGetImporterDescTest ) {
51 const aiImporterDesc *desc( nullptr );
52 desc = aiGetImporterDesc(nullptr);
53 EXPECT_EQ(nullptr, desc);
54
55 desc = aiGetImporterDesc( "obj" );
56 EXPECT_TRUE(nullptr != desc);
57}
58
59TEST_F( AssimpAPITest, aiGetLastErrorTest ) {
60 const char *error = aiGetErrorString();

Callers

nothing calls this directly

Calls 3

aiGetImporterDescFunction · 0.85
aiGetErrorStringFunction · 0.85
aiImportFileFromMemoryFunction · 0.85

Tested by

no test coverage detected