diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-12-16 16:24:11 +0100 |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-12-17 12:59:28 +0100 |
commit | 5daf1ab79e3dd906664a7af00b311ba7c3f51138 (patch) | |
tree | b8d629024b681fd0741c548763d7d91ce2611211 /tests/auto/qcompleter | |
parent | ce3dabc8863440a56540d86537848621581afa7d (diff) |
Test doesn't need to depend on temp path
Instead, use the current directory for creating test data.
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'tests/auto/qcompleter')
-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 650c3289b6..abc86ec72b 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)); |