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>
This commit is contained in:
Jason McDonald 2011-11-11 13:30:00 +10:00 committed by Qt by Nokia
parent 198933a043
commit 3e0dece151

View File

@ -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()