1
0
forked from 0ad/0ad

# Added test for old Collada import error.

This was SVN commit r6918.
This commit is contained in:
Ykkrosh 2009-06-23 17:47:37 +00:00
parent 6c53859af3
commit cf17fe13ce
2 changed files with 17 additions and 0 deletions

BIN
binaries/data/tests/collada/bogus_material_target.dae (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -225,4 +225,18 @@ public:
CModelDefPtr modeldef = meshManager->GetMesh(testDAE);
TS_ASSERT(! modeldef);
}
//////////////////////////////////////////////////////////////////////////
// Tests based on real DAE files:
void test_load_dae_bogus_material_target()
{
copyFile("collada/bogus_material_target.dae", testDAE);
copyFile(srcSkeletonDefs, testSkeletonDefs);
CModelDefPtr modeldef = meshManager->GetMesh(testDAE);
TS_ASSERT(modeldef);
}
};