Improve debug output of tst_QTimeLine::frameRate()
When the test fails, show the actual signals spy count. Change-Id: Id7312bfbfb6531404a9df73234031f13295c80ea Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
parent
23cb449885
commit
ba9bbf596f
@ -208,7 +208,7 @@ void tst_QTimeLine::frameRate()
|
||||
timeLine.start();
|
||||
QTest::qWait(timeLine.duration()*2);
|
||||
QCOMPARE(timeLine.state(), QTimeLine::NotRunning);
|
||||
QVERIFY(slowCount < spy.count());
|
||||
QVERIFY2(slowCount < spy.count(), QByteArray::number(spy.count()));
|
||||
}
|
||||
|
||||
void tst_QTimeLine::value()
|
||||
|
Loading…
Reference in New Issue
Block a user