From 48fa0749550eb4d4b2a81ebb915f6b6a038818c2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 19 May 2022 04:24:44 +0300 Subject: [PATCH] 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 --- gwenview/tests/auto/documenttest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gwenview/tests/auto/documenttest.cpp b/gwenview/tests/auto/documenttest.cpp index e9faf621..21de825c 100644 --- a/gwenview/tests/auto/documenttest.cpp +++ b/gwenview/tests/auto/documenttest.cpp @@ -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();