Update testcases for OneShot plugin

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1024/head
Michael Richters 4 years ago
parent fb95769250
commit d2cb078604
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -0,0 +1,6 @@
{
"cpu": {
"fqbn": "keyboardio:virtual:model01",
"port": ""
}
}

@ -15,7 +15,7 @@ EXPECT keyboard-report Key_LeftShift # The report should contain `shift`
RUN 5 ms RUN 5 ms
RELEASE OS_shift RELEASE OS_shift
RUN 45 ms RUN 45 ms
RUN 2 cycles RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty EXPECT keyboard-report empty # Report should be empty
# ============================================================================== # ==============================================================================
@ -32,7 +32,6 @@ RUN 10 ms
PRESS A PRESS A
RUN 1 cycle RUN 1 cycle
EXPECT keyboard-report Key_LeftShift Key_A # There should be `shift`+`A` EXPECT keyboard-report Key_LeftShift Key_A # There should be `shift`+`A`
RUN 2 cycle
EXPECT keyboard-report Key_A # There should be only `A` EXPECT keyboard-report Key_A # There should be only `A`
RUN 5 ms RUN 5 ms
RELEASE A RELEASE A

Loading…
Cancel
Save