Lines Matching refs:expected

270             expected = [syn_event]
271 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 1))
274 self.assertInputEventsIn(expected, events)
278 expected = [syn_event]
279 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 0))
282 self.assertInputEventsIn(expected, events)
291 expected = [syn_event]
292 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 1))
293 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_Q, 1))
296 self.assertInputEventsIn(expected, events)
300 expected = [syn_event]
301 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 0))
302 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_Q, 0))
305 self.assertInputEventsIn(expected, events)
310 expected = [syn_event]
311 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_C, 1))
314 self.assertInputEventsIn(expected, events)
318 expected = [syn_event]
319 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_SPACE, 1))
323 self.assertInputEventsIn(expected, events)
328 expected = [syn_event]
329 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_C, 0))
333 self.assertInputEventsIn(expected, events)
338 expected = [syn_event]
339 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_SPACE, 0))
342 self.assertInputEventsIn(expected, events)
351 expected = [syn_event]
352 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_LEFTCTRL, 1))
353 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_LEFTSHIFT, 1))
354 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_EQUAL, 1))
357 self.assertInputEventsIn(expected, events)
382 expected = [syn_event]
383 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_0, 1))
384 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_1, 1))
385 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_2, 1))
386 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_3, 1))
387 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_4, 1))
388 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_5, 1))
389 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_6, 1))
390 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_7, 1))
391 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_8, 1))
392 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_9, 1))
395 self.assertInputEventsIn(expected, events)
398 expected = [syn_event]
399 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_0, 0))
400 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_1, 0))
401 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_2, 0))
402 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_3, 0))
403 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_4, 0))
404 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_5, 0))
405 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_6, 0))
406 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_7, 0))
407 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_8, 0))
408 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_9, 0))
411 self.assertInputEventsIn(expected, events)
432 expected = [syn_event]
433 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_1, 1))
434 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_2, 1))
435 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_3, 1))
436 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_4, 1))
437 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_5, 1))
438 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_6, 1))
442 self.assertInputEventsIn(expected, events)
466 expected = [syn_event]
467 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_1, 0))
468 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_2, 0))
469 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_3, 0))
470 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_4, 0))
471 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_5, 0))
472 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_6, 0))
475 self.assertInputEventsIn(expected, events)