summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/task
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-01-30 16:38:00 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-01-31 12:22:17 +0100
commit858e16567539b793d31fe918f9728d68307df321 (patch)
tree3b31029dbabd66418030dfff6c1561c0a0560627 /tests/auto/installer/task
parent751a7b8e8f58acf3913659ff5026bff0108d5c0b (diff)
Fix auto test and Qt4 warning on Windows.
Change-Id: If06c40df13eb9ecb5a5cf8942f2f19c7e3dafcce Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/auto/installer/task')
-rw-r--r--tests/auto/installer/task/tst_task.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/installer/task/tst_task.cpp b/tests/auto/installer/task/tst_task.cpp
index c228a50f6..a966671ac 100644
--- a/tests/auto/installer/task/tst_task.cpp
+++ b/tests/auto/installer/task/tst_task.cpp
@@ -75,10 +75,6 @@ private slots:
QSignalSpy progress(&watcher, SIGNAL(progressValueChanged(int)));
watcher.setFuture(QtConcurrent::run(&CopyFileTask::doTask, &fileTask));
- QTest::qWait(10); // Spin the event loop to deliver queued signals.
-
- QCOMPARE(started.count(), 1);
- QCOMPARE(finished.count(), 0);
watcher.waitForFinished();
QTest::qWait(10); // Spin the event loop to deliver queued signals.
@@ -113,10 +109,6 @@ private slots:
QSignalSpy progress(&watcher, SIGNAL(progressValueChanged(int)));
watcher.setFuture(QtConcurrent::run(&DownloadFileTask::doTask, &fileTask));
- QTest::qWait(10); // Spin the event loop to deliver queued signals.
-
- QCOMPARE(started.count(), 1);
- QCOMPARE(finished.count(), 0);
watcher.waitForFinished();
QTest::qWait(10); // Spin the event loop to deliver queued signals.