You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/tests/plugins/Redial/basic/test.ktest

75 lines
1.1 KiB

VERSION 1
KEYSWITCH Redial 0 9
KEYSWITCH A 2 1
KEYSWITCH X 3 2
NAME Redial with no prior keypress
RUN 10 ms
PRESS Redial
RUN 25ms
RELEASE Redial
RUN 10 ms
EXPECT no keyboard-reports # There should be no HID report without a prior keypress"
NAME RedialFirstKey
RUN 10 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_A # Report should contain only an A
RUN 25 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
RUN 10ms
PRESS Redial
RUN 1 cycle
EXPECT keyboard-report Key_A # Report should contain only an A
RUN 25 ms
RELEASE Redial
RUN 1 cycle
EXPECT keyboard-report empty # keyboard report should be empty
NAME Redial next key
RUN 10 ms
PRESS X
RUN 1 cycle
EXPECT keyboard-report Key_X # Report should contain only an X
RUN 25 ms
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 25 ms
RELEASE Redial
RUN 1 cycle
EXPECT keyboard-report empty # keyboard report should be empty