[autotests] Adjust ShellClientTest to changes in 634dfc09e4

The desktopPresenceChanged signal is no longer delayed by one cycle.
This commit is contained in:
Martin Gräßlin 2017-03-29 06:49:12 +02:00
parent 4adb2b65e8
commit dce674f3ae

View file

@ -220,9 +220,6 @@ void TestShellClient::testDesktopPresenceChanged()
QCOMPARE(c->desktop(), 2);
QCOMPARE(desktopPresenceChangedClientSpy.count(), 1);
QCOMPARE(desktopPresenceChangedWorkspaceSpy.count(), 1);
// effects is delayed by one cycle
QCOMPARE(desktopPresenceChangedEffectsSpy.count(), 0);
QVERIFY(desktopPresenceChangedEffectsSpy.wait());
QCOMPARE(desktopPresenceChangedEffectsSpy.count(), 1);
// verify the arguments