diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2012-10-30 11:37:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-02 12:16:49 +0100 |
commit | 44e0d2b3287d3b4e5e9589f887e7d436402d02b4 (patch) | |
tree | 44c7f45af11a6ad9127263880d7ba21283e9770a /tests/auto | |
parent | a4aa5ea63fc9f6fa3d1d54398a297d89e7342342 (diff) |
fix tst_QProcess::batFiles for shadow builds
Change-Id: If7a9c9aa6ba16b7744d8ef8a66b43e40f375b5e7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/corelib/io/qprocess/tst_qprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp index 94ecffb147..49188c3057 100644 --- a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp +++ b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp @@ -532,8 +532,8 @@ void tst_QProcess::batFiles_data() QTest::addColumn<QString>("batFile"); QTest::addColumn<QByteArray>("output"); - QTest::newRow("simple") << QString::fromLatin1("testBatFiles/simple.bat") << QByteArray("Hello"); - QTest::newRow("with space") << QString::fromLatin1("testBatFiles/with space.bat") << QByteArray("Hello"); + QTest::newRow("simple") << QFINDTESTDATA("testBatFiles/simple.bat") << QByteArray("Hello"); + QTest::newRow("with space") << QFINDTESTDATA("testBatFiles/with space.bat") << QByteArray("Hello"); } void tst_QProcess::batFiles() |