[autotests] Get Server::Cursor::pointer under coverage

Just verifying that it's returning the expected value.
This commit is contained in:
Martin Gräßlin 2016-06-28 18:39:19 +02:00
parent 594665c1df
commit 0b208fcd63

View file

@ -918,6 +918,7 @@ void TestWaylandSeat::testCursor()
QVERIFY(!cursor->surface());
QCOMPARE(cursor->hotspot(), QPoint());
QCOMPARE(cursor->enteredSerial(), serial);
QCOMPARE(cursor->pointer(), m_seatInterface->focusedPointer());
QSignalSpy hotspotChangedSpy(cursor, SIGNAL(hotspotChanged()));
QVERIFY(hotspotChangedSpy.isValid());