mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
gwenview: adjust document test case
note the comment at: https://github.com/fluxer/kde-extraapps/blob/master/gwenview/lib/document/animateddocumentloadedimpl.cpp#L66 Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
42e3ab6a4d
commit
48fa074955
1 changed files with 2 additions and 2 deletions
|
@ -289,10 +289,10 @@ void DocumentTest::testLoadAnimated()
|
|||
doc->waitUntilLoaded();
|
||||
QVERIFY(doc->isAnimated());
|
||||
|
||||
// Test we receive only one imageRectUpdated() until animation is started
|
||||
// Test we do not receive imageRectUpdated() until animation is started
|
||||
// (the imageRectUpdated() is triggered by the loading of the first image)
|
||||
QTest::qWait(1000);
|
||||
QCOMPARE(spy.count(), 1);
|
||||
QCOMPARE(spy.count(), 0);
|
||||
|
||||
// Test we now receive some imageRectUpdated()
|
||||
doc->startAnimation();
|
||||
|
|
Loading…
Add table
Reference in a new issue