mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Move test to regexp
This commit is contained in:
parent
76f5b050ba
commit
4b3ac09b74
@ -2044,7 +2044,7 @@ void TestQgsDxfExport::testExpressionContext()
|
||||
QCOMPARE( d.writeToFile( &dxfFile, QStringLiteral( "CP1252" ) ), QgsDxfExport::ExportResult::Success );
|
||||
dxfFile.close();
|
||||
QString debugInfo;
|
||||
QVERIFY2( fileContainsText( file, "\\fQGIS Vera Sans|i0|b1;\\H3.81136;Biplane", &debugInfo ), debugInfo.toUtf8().constData() );
|
||||
QVERIFY2( fileContainsText( file, "REGEX Biplane", &debugInfo ), debugInfo.toUtf8().constData() );
|
||||
}
|
||||
|
||||
bool TestQgsDxfExport::fileContainsText( const QString &path, const QString &text, QString *debugInfo ) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user