add unittest for x3d-importer.

pull/1542/head
Kim Kulling 2017-11-05 17:41:26 +01:00
parent d5692ccf30
commit 2929a27edc
3 changed files with 17 additions and 12 deletions

View File

@ -41,7 +41,11 @@ struct Property;
template<class T>
inline
bool isEmbeddedCommentOpenTag( T *in, T */*end*/ ) {
bool isEmbeddedCommentOpenTag( T *in, T *end ) {
if ( in == end ) {
return false;
}
if ( in == '/' && in+1 == '*' ) {
return true;
}

View File

@ -129,6 +129,7 @@ SET( TEST_SRCS
unit/utVersion.cpp
unit/utVector3.cpp
unit/utXImporterExporter.cpp
unit/utX3DImportExport.cpp
unit/utD3MFImportExport.cpp
unit/utQ3DImportExport.cpp
unit/utProfiler.cpp