diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-12-16 15:24:11 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-12-17 11:59:28 (GMT) |
commit | 5daf1ab79e3dd906664a7af00b311ba7c3f51138 (patch) | |
tree | b8d629024b681fd0741c548763d7d91ce2611211 | |
parent | ce3dabc8863440a56540d86537848621581afa7d (diff) | |
download | Qt-5daf1ab79e3dd906664a7af00b311ba7c3f51138.zip Qt-5daf1ab79e3dd906664a7af00b311ba7c3f51138.tar.gz Qt-5daf1ab79e3dd906664a7af00b311ba7c3f51138.tar.bz2 |
Test doesn't need to depend on temp path
Instead, use the current directory for creating test data.
Reviewed-by: Oswald Buddenhagen
-rw-r--r-- | tests/auto/qcompleter/tst_qcompleter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qcompleter/tst_qcompleter.cpp b/tests/auto/qcompleter/tst_qcompleter.cpp index 650c328..abc86ec 100644 --- a/tests/auto/qcompleter/tst_qcompleter.cpp +++ b/tests/auto/qcompleter/tst_qcompleter.cpp @@ -1455,7 +1455,7 @@ void tst_QCompleter::task247560_keyboardNavigation() void tst_QCompleter::QTBUG_14292_filesystem() { - QDir tmpDir = QDir::temp(); + QDir tmpDir = QDir::currentPath(); qsrand(QTime::currentTime().msec()); QString d = "tst_QCompleter_" + QString::number(qrand()); QVERIFY(tmpDir.mkdir(d)); |