Speedup tst_qtimeline::finished
Change-Id: Id9ae42663d8830365d4dcfab92b48621eb1b409f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>bb10
parent
6606b151c4
commit
8dd84c6420
|
|
@ -483,9 +483,8 @@ void tst_QTimeLine::finished()
|
|||
QSignalSpy spy(&timeLine, &QTimeLine::finished);
|
||||
QVERIFY(spy.isValid());
|
||||
timeLine.start();
|
||||
QTest::qWait(timeLine.duration()*2);
|
||||
QTRY_COMPARE(spy.count(), 1);
|
||||
QCOMPARE(timeLine.state(), QTimeLine::NotRunning);
|
||||
QCOMPARE(spy.count(), 1);
|
||||
|
||||
spy.clear();
|
||||
timeLine.start();
|
||||
|
|
|
|||
Loading…
Reference in New Issue