From 3e0dece1518989bfd6cf5769e574ce199670ec88 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 11 Nov 2011 13:30:00 +1000 Subject: 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 --- .../auto/corelib/concurrent/qfuture/tst_qfuture.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tests/auto') 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 *Interface = new QFutureInterface(); - Interface.reportStarted(); - QFuture f = QFuture(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() -- cgit v1.2.3