Skip to content

Commit

Permalink
fixup! qgstest: add new check to compare long QString/QByteArray with…
Browse files Browse the repository at this point in the history
… an expected file content.
  • Loading branch information
benoitdm-oslandia committed Jul 24, 2024
1 parent 771d929 commit 0f5237c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/qgstest.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class TEST_EXPORT QgsTest : public QObject

bool checkLongStr( const char *file, const char *function, int line, const QString &name, const QString &referenceName, const QByteArray &actualStr )
{
QString subPath = "control_images/" + mControlPathPrefix + "/expected_" + name + "/" + "expected_" + referenceName;
QString subPath = "control_files/" + mControlPathPrefix + "/expected_" + name + "/" + "expected_" + referenceName;
QString expectedPath = testDataPath( subPath );
QFile expectedFile( expectedPath );
if ( ! expectedFile.open( QFile::ReadOnly | QIODevice::Text ) )
Expand Down

0 comments on commit 0f5237c

Please sign in to comment.