Renamed test data directory according to renaming of RifSurfaceReader->RifSurfaceImporter.

Added unit test for a clipped ptl file.
This commit is contained in:
rubenthoms
2020-08-28 11:57:19 +02:00
committed by Magne Sjaastad
parent 5a4399f8ce
commit a43d575ae7
9 changed files with 61 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ std::string readIncorrectFile( const QString filename )
TEST( RifRoffReader, ReadWrongFileType )
{
// Read a surface file: no expected to work
QString filename( "RifSurfaceReader/test.ptl" );
QString filename( "RifSurfaceImporter/test.ptl" );
ASSERT_EQ( readIncorrectFile( filename ), std::string( "Unexpected file type: roff-asc header missing." ) );
}