Testing: split input test (#2762)
test(pointing): Add mock input device. New mock input device to generate input events for tests. test(split): Add peripheral input test. Test event propagation from peripheral input devices. fix(split): Proper scoping for local within switch. Minor compile fix. chore: Fix up test snapshots after logging changes. Adjust the test snapshots after logging changes to the central. fix(kscan): Don't fire last mock event twice. Fix a bug where the kscan mock would raise the last mock event twice before halting processing.
This commit is contained in:
parent
022603ec16
commit
8dddb1d9d7
25 changed files with 332 additions and 21 deletions
1
app/tests/ble/split/peripheral-input/events.patterns
Normal file
1
app/tests/ble/split/peripheral-input/events.patterns
Normal file
|
|
@ -0,0 +1 @@
|
|||
s/^d_02: @[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9][0-9][0-9][0-9] .{19}/profile 0 /p
|
||||
Loading…
Add table
Add a link
Reference in a new issue