[autotests] Bring SeatInterface::focusedTextInputSurface under coverage

This commit is contained in:
Martin Gräßlin 2016-06-28 14:53:45 +02:00
parent 59bfac50ba
commit 1c16f881e2

View file

@ -248,7 +248,9 @@ void TextInputTest::testEnterLeave()
// now let's try to enter it
QVERIFY(!m_seatInterface->focusedTextInput());
QVERIFY(!m_seatInterface->focusedTextInputSurface());
m_seatInterface->setFocusedKeyboardSurface(serverSurface);
QCOMPARE(m_seatInterface->focusedTextInputSurface(), serverSurface);
// text input not yet set for the surface
QFETCH(bool, updatesDirectly);
QCOMPARE(bool(m_seatInterface->focusedTextInput()), updatesDirectly);