diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2011-02-14 16:55:29 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2011-04-04 11:22:39 (GMT) |
commit | da7674a6465a311504927c0b8ed65feaf22ab5fa (patch) | |
tree | 7b5ce24c78474daddd4a4a173e553cf156fd6b29 /tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp | |
parent | ae9a504def982f32111bbcc28788d7ad1cadaa10 (diff) | |
download | Qt-da7674a6465a311504927c0b8ed65feaf22ab5fa.zip Qt-da7674a6465a311504927c0b8ed65feaf22ab5fa.tar.gz Qt-da7674a6465a311504927c0b8ed65feaf22ab5fa.tar.bz2 |
Test should fail, debug output here is useless
Reviewed-by: Olivier Goffart
Reviewed-by: Harald Fernengel
Reviewed-by: Robin Burchell
Diffstat (limited to 'tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp')
-rw-r--r-- | tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp b/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp index f89e033..91d62b0 100644 --- a/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp +++ b/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp @@ -359,10 +359,7 @@ void tst_QTemporaryFile::stressTest() for (int i = 0; i < iterations; ++i) { QTemporaryFile file; file.setAutoRemove(false); - if (!file.open()) { - qDebug() << "Could not open File:" << file.fileName(); - continue; - } + QVERIFY2(file.open(), qPrintable(file.errorString())); QVERIFY(!names.contains(file.fileName())); names.insert(file.fileName()); } |