Lines Matching full:expected

425                 f"Unexpected data: {data}, expected {self.set_feature_report}"
497 raise InvalidHIDCommunication(f"Unexpected data: {data}, expected '[0]'")
766 expected = [syn_event]
767 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1))
769 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, 120))
772 self.assertInputEvents(expected, events)
775 expected = [syn_event]
776 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -1))
778 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, -120))
781 self.assertInputEvents(expected, events)
784 expected = [syn_event]
785 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
786 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2))
787 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 3))
789 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, 360))
792 self.assertInputEvents(expected, events)
819 expected = [syn_event]
820 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL, 1))
822 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL_HI_RES, 120))
825 self.assertInputEvents(expected, events)
828 expected = [syn_event]
829 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL, -1))
831 expected.append(
836 self.assertInputEvents(expected, events)
839 expected = [syn_event]
840 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
841 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2))
842 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL, 3))
844 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL_HI_RES, 360))
847 self.assertInputEvents(expected, events)
850 expected = [syn_event]
851 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
852 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2))
853 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -3))
855 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, -360))
856 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL, 4))
858 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL_HI_RES, 480))
861 self.assertInputEvents(expected, events)
899 expected = [syn_event]
900 expected.append(
905 self.assertInputEvents(expected, events)
908 expected = [syn_event]
909 expected.append(
914 self.assertInputEvents(expected, events)
916 expected = [syn_event]
917 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1))
918 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, -2))
919 expected.append(
927 self.assertInputEvents(expected, events)
930 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1))
933 self.assertInputEvents(expected, events)
988 expected = [syn_event]
989 expected.append(
994 self.assertInputEvents(expected, events)
997 expected = [syn_event]
998 expected.append(
1003 self.assertInputEvents(expected, events)
1005 expected = [syn_event]
1006 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1))
1007 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, -2))
1008 expected.append(
1016 self.assertInputEvents(expected, events)
1019 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_HWHEEL, 1))
1022 self.assertInputEvents(expected, events)