diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-07-09 12:53:13 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-07-09 12:53:13 (GMT) |
commit | 0ab4319b15a3f5ae1d42841fab4b7db51904d0cb (patch) | |
tree | ce2f3eba6fe9712a0445c0fe84ae61c9365b438f /tests/auto/qfileinfo | |
parent | 3b1e30bb1d6651a626aba1f6b8883f5524598ed3 (diff) | |
download | Qt-0ab4319b15a3f5ae1d42841fab4b7db51904d0cb.zip Qt-0ab4319b15a3f5ae1d42841fab4b7db51904d0cb.tar.gz Qt-0ab4319b15a3f5ae1d42841fab4b7db51904d0cb.tar.bz2 |
Make this test slightly more easy to work with.
Diffstat (limited to 'tests/auto/qfileinfo')
-rw-r--r-- | tests/auto/qfileinfo/tst_qfileinfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp index 7f27a60..c5937cd 100644 --- a/tests/auto/qfileinfo/tst_qfileinfo.cpp +++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp @@ -432,6 +432,9 @@ void tst_QFileInfo::canonicalFilePath() if (file.link(link)) { QFileInfo info1("tst_qfileinfo.cpp"); QFileInfo info2(link + QDir::separator() + "tst_qfileinfo.cpp"); + + QVERIFY2(info1.exists(), "If this fails, one reason might be the test system has failed to copy the files."); + QVERIFY2(info2.exists(), "If this fails, one reason might be the test system has failed to copy the files."); QCOMPARE(info1.canonicalFilePath(), info2.canonicalFilePath()); QFileInfo info3(link + QDir::separator() + "link.lnk"); |