ir_irmp: introduce IRMP test cases, cover NEC/RC5/RC6/SIRC and others
commit97b2e74f29fa79c15ece5844fd99aa2dd0f6d0b0
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 25 Dec 2021 19:02:00 +0000 (25 20:02 +0100)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 26 Dec 2021 12:37:03 +0000 (26 13:37 +0100)
tree60df01b16f7f866ad2e8d27959145554b76d2468
parent873dd231a86f022c00d2f4562c18694024b1051c
ir_irmp: introduce IRMP test cases, cover NEC/RC5/RC6/SIRC and others

The upstream IRMP project's decoder core is only slowly moving, we can
consider the IRMP decoder integration to be stable and don't expect the
output to change violently any longer. The issue of requiring a single
core instance remains and affects the GUI, but not the single threaded
test suite.

This set of test cases re-uses the NEC, RC5, RC6, and SIRC dumps which
are covered by individual decoders, too. Ideally detection results would
be identical, but in practise the annotation positions and the level of
details will differ between implementations due to their internal
operation and design choices.

The IRMP test set also covers dumps which are not covered by other IR
decoders. It's interesting to see how not all key repetitions are caught
and how single press might be missed as well. It's valuable to remain
aware during maintenance, and see how occassional failure changes. This
is why an empty output for a non-empty dump is kept here, too.
16 files changed:
decoder/test/ir_irmp/nec_extended_capture.output [new file with mode: 0644]
decoder/test/ir_irmp/nec_tv_matsui_0001_button_av_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/other_bose_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/other_bose_press.output [new file with mode: 0644]
decoder/test/ir_irmp/other_nec_rum111_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/other_nec_rum111_press.output [new file with mode: 0644]
decoder/test/ir_irmp/rc5_vcr_philips_0082_button1_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/rc5_vcr_philips_0082_button1_hold_one_bogus_packet.output [new file with mode: 0644]
decoder/test/ir_irmp/rc5_vcr_philips_0082_button2_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/rc5_vcr_philips_0082_button_standby_hold.output [new file with mode: 0644]
decoder/test/ir_irmp/rc6_kathrein_rc674_numbers.output [new file with mode: 0644]
decoder/test/ir_irmp/rc6_philips_rc2143604_numbers.output [new file with mode: 0644]
decoder/test/ir_irmp/rc6_philips_unknown_numbers.output [new file with mode: 0644]
decoder/test/ir_irmp/sirc_1.output [new file with mode: 0644]
decoder/test/ir_irmp/sirc_2.output [new file with mode: 0644]
decoder/test/ir_irmp/test.conf [new file with mode: 0644]