summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-11 13:30:00 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-14 05:15:04 +0100
commit3e0dece1518989bfd6cf5769e574ce199670ec88 (patch)
tree08927e05ee37cd449c8da19498b021fe849ef5bf /tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp
parent198933a04331252e324cce4e6cf9fe719b6e3ddb (diff)
Remove commented code from qfuture test.
The removed code was already commented out when first added in November 2007 and is nowhere near compiling. If there was anything of value here, anyone who is able to find it is free to re-add a version that actually works. Change-Id: I4a7127a272254224f6a1e65fbd2a01000a4d2be9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp')
-rw-r--r--tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp b/tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp
index 495884c806..0ea5478947 100644
--- a/tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp
+++ b/tests/auto/corelib/concurrent/qfuture/tst_qfuture.cpp
@@ -1258,26 +1258,6 @@ void tst_QFuture::throttling()
i.reportFinished();
}
-/*
- QFutureInterface<int> *Interface = new QFutureInterface<int>();
- Interface.reportStarted();
- QFuture<int> f = QFuture<int>(Interface);
-
- ResultObject object;
- f.connectTo(ThrottledResultReadyAtSignal, &object, SLOT(resultReady(int)), Qt::DirectConnection);
-
- for (int i = 0; i < 100; ++i)
- Interface.reportResult(&i);
-
- QVERIFY(Interface.isPaused() == true);
-
- // read the results, this should resume the task.
- for (int i = 0; i < 100; ++i)
- f.throttledResult(i);
-
- QVERIFY(Interface.isPaused() == false);
- Interface.reportFinished();
-*/
}
void tst_QFuture::voidConversions()