Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 1, 2019
1 parent e87ea5e commit ba87ae6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/src/core/testqgsdxfexport.cpp
Expand Up @@ -742,7 +742,8 @@ void TestQgsDxfExport::testCurveExport()
QCOMPARE( d.writeToFile( &dxfFile, QStringLiteral( "CP1252" ) ), QgsDxfExport::ExportResult::Success );
dxfFile.close();

QVERIFY( fileContainsText( file, dxfText ) );
QString debugInfo;
QVERIFY2( fileContainsText( file, dxfText, &debugInfo ), debugInfo.toUtf8().constData() );
}

void TestQgsDxfExport::testCurveExport_data()
Expand Down Expand Up @@ -775,7 +776,7 @@ void TestQgsDxfExport::testCurveExport_data()
" 90\n"
" 2\n"
" 70\n"
" 2\n"
" 130\n"
" 43\n"
"-1.0\n"
" 10\n"
Expand Down Expand Up @@ -815,7 +816,7 @@ void TestQgsDxfExport::testCurveExport_data()
" 90\n"
" 5\n"
" 70\n"
" 3\n"
" 131\n"
" 43\n"
"-1.0\n"
" 10\n"
Expand Down Expand Up @@ -934,7 +935,7 @@ void TestQgsDxfExport::testDashedLine()
" 90\n"
" 6\n"
" 70\n"
" 0\n"
" 128\n"
" 43\n"
"0.11\n"
" 10\n"
Expand Down

0 comments on commit ba87ae6

Please sign in to comment.