Home
last modified time | relevance | path

Searched refs:keyEventSpy (Results 1 – 4 of 4) sorted by relevance

/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/autotests/client/
H A Dtest_text_input_v2.cpp646 QSignalSpy keyEventSpy(textInput.data(), &TextInput::keyEvent); in testKeyEvent() local
647 QVERIFY(keyEventSpy.isValid()); in testKeyEvent()
650 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
651 QCOMPARE(keyEventSpy.count(), 1); in testKeyEvent()
652 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
654 QCOMPARE(keyEventSpy.last().at(2).value<Qt::KeyboardModifiers>(), Qt::KeyboardModifiers()); in testKeyEvent()
655 QCOMPARE(keyEventSpy.last().at(3).value<quint32>(), 100u); in testKeyEvent()
658 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
659 QCOMPARE(keyEventSpy.count(), 2); in testKeyEvent()
660 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
[all …]
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/autotests/client/
H A Dtext_input.cpp728 QSignalSpy keyEventSpy(textInput.get(), &Wrapland::Client::TextInputV2::keyEvent); in testKeyEvent() local
729 QVERIFY(keyEventSpy.isValid()); in testKeyEvent()
732 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
733 QCOMPARE(keyEventSpy.count(), 1); in testKeyEvent()
734 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
735 QCOMPARE(keyEventSpy.last().at(1).value<Wrapland::Client::TextInputV2::KeyState>(), in testKeyEvent()
738 QCOMPARE(keyEventSpy.last().at(3).value<quint32>(), 100u); in testKeyEvent()
741 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
742 QCOMPARE(keyEventSpy.count(), 2); in testKeyEvent()
743 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
[all …]
/dports/x11/kf5-kwayland/kwayland-5.89.0/autotests/client/
H A Dtest_text_input.cpp808 QSignalSpy keyEventSpy(textInput.data(), &TextInput::keyEvent); in testKeyEvent() local
809 QVERIFY(keyEventSpy.isValid()); in testKeyEvent()
812 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
813 QCOMPARE(keyEventSpy.count(), 1); in testKeyEvent()
814 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
816 QCOMPARE(keyEventSpy.last().at(2).value<Qt::KeyboardModifiers>(), Qt::KeyboardModifiers()); in testKeyEvent()
817 QCOMPARE(keyEventSpy.last().at(3).value<quint32>(), 100u); in testKeyEvent()
820 QVERIFY(keyEventSpy.wait()); in testKeyEvent()
821 QCOMPARE(keyEventSpy.count(), 2); in testKeyEvent()
822 QCOMPARE(keyEventSpy.last().at(0).value<quint32>(), 2u); in testKeyEvent()
[all …]
/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/autotests/server/
H A Dtest_inputmethod_interface.cpp466 QSignalSpy keyEventSpy(serverContext, &KWaylandServer::InputMethodContextV1Interface::key); in testGrabkeyboard() local
467 QVERIFY(keyEventSpy.isValid()); in testGrabkeyboard()
470 QVERIFY(!keyEventSpy.wait(200)); in testGrabkeyboard()