Merge pull request #987 from gedankenexperimenter/t/redial.rollover
Add testcases for Redial with rolloverpull/982/head
commit
7a7e969517
@ -1,74 +1,105 @@
|
|||||||
VERSION 1
|
VERSION 1
|
||||||
|
|
||||||
KEYSWITCH Redial 0 9
|
KEYSWITCH Redial 0 1
|
||||||
KEYSWITCH A 2 1
|
KEYSWITCH A 0 0
|
||||||
KEYSWITCH X 3 2
|
KEYSWITCH X 0 2
|
||||||
|
|
||||||
|
# ==============================================================================
|
||||||
NAME Redial with no prior keypress
|
NAME Redial with no prior keypress
|
||||||
|
|
||||||
RUN 10 ms
|
RUN 5 ms
|
||||||
|
|
||||||
PRESS Redial
|
PRESS Redial
|
||||||
|
|
||||||
RUN 25ms
|
|
||||||
|
|
||||||
RELEASE Redial
|
|
||||||
|
|
||||||
RUN 10 ms
|
RUN 10 ms
|
||||||
|
RELEASE Redial
|
||||||
|
RUN 5 ms
|
||||||
EXPECT no keyboard-reports # There should be no HID report without a prior keypress"
|
EXPECT no keyboard-reports # There should be no HID report without a prior keypress"
|
||||||
|
|
||||||
|
# ==============================================================================
|
||||||
NAME RedialFirstKey
|
NAME RedialFirstKey
|
||||||
|
|
||||||
RUN 10 ms
|
RUN 5 ms
|
||||||
PRESS A
|
PRESS A
|
||||||
|
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report Key_A # Report should contain only an A
|
EXPECT keyboard-report Key_A # Report should contain only an A
|
||||||
|
|
||||||
RUN 25 ms
|
RUN 10 ms
|
||||||
RELEASE A
|
RELEASE A
|
||||||
|
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report empty # Report should be empty
|
EXPECT keyboard-report empty # Report should be empty
|
||||||
|
|
||||||
RUN 10ms
|
RUN 10 ms
|
||||||
PRESS Redial
|
PRESS Redial
|
||||||
|
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report Key_A # Report should contain only an A
|
EXPECT keyboard-report Key_A # Report should contain only an A
|
||||||
|
|
||||||
RUN 25 ms
|
RUN 10 ms
|
||||||
RELEASE Redial
|
RELEASE Redial
|
||||||
|
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report empty # keyboard report should be empty
|
EXPECT keyboard-report empty # keyboard report should be empty
|
||||||
|
|
||||||
|
# ==============================================================================
|
||||||
|
|
||||||
NAME Redial next key
|
NAME Redial next key
|
||||||
|
|
||||||
RUN 10 ms
|
RUN 10 ms
|
||||||
PRESS X
|
PRESS X
|
||||||
|
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report Key_X # Report should contain only an X
|
EXPECT keyboard-report Key_X # Report should contain only an X
|
||||||
|
|
||||||
RUN 25 ms
|
RUN 10 ms
|
||||||
RELEASE X
|
RELEASE X
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report empty # keyboard report should be empty
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
PRESS Redial
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report Key_X # Report should contain only an X
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
RELEASE Redial
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report empty # keyboard report should be empty
|
EXPECT keyboard-report empty # keyboard report should be empty
|
||||||
|
|
||||||
|
# ==============================================================================
|
||||||
|
NAME Redial rollover
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
PRESS A
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report Key_A # Report should contain only an A
|
||||||
|
|
||||||
RUN 10 ms
|
RUN 10 ms
|
||||||
PRESS Redial
|
PRESS Redial
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report empty # Report should be empty
|
||||||
|
EXPECT keyboard-report Key_A # Report should contain only an A
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
RELEASE A
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
RELEASE Redial
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report empty # keyboard report should be empty
|
||||||
|
|
||||||
|
# ==============================================================================
|
||||||
|
NAME Redial rollover right to left
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
PRESS X
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report Key_X # Report should contain only an X
|
EXPECT keyboard-report Key_X # Report should contain only an X
|
||||||
|
|
||||||
RUN 25 ms
|
RUN 10 ms
|
||||||
RELEASE Redial
|
PRESS Redial
|
||||||
|
RUN 1 cycle
|
||||||
|
EXPECT keyboard-report empty # Report should be empty
|
||||||
|
EXPECT keyboard-report Key_X # Report should contain only an X
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
RELEASE X
|
||||||
|
|
||||||
|
RUN 10 ms
|
||||||
|
RELEASE Redial
|
||||||
RUN 1 cycle
|
RUN 1 cycle
|
||||||
EXPECT keyboard-report empty # keyboard report should be empty
|
EXPECT keyboard-report empty # keyboard report should be empty
|
||||||
|
Loading…
Reference in new issue