summaryrefslogtreecommitdiff
path: root/decoder/test/midi/test.conf
diff options
context:
space:
mode:
authorChris Dreher <chrisdreher@hotmail.com>2016-08-19 10:26:02 -0700
committerUwe Hermann <uwe@hermann-uwe.de>2016-08-23 11:55:10 +0200
commit9d66b02f081570699ad205826f6b307af4449bf1 (patch)
treedef0cc74d63e080975a2803138406f9edeb03256 /decoder/test/midi/test.conf
parent510345315a1632cc0227e51d6678571b74f5013c (diff)
downloadsigrok-test-9d66b02f081570699ad205826f6b307af4449bf1.tar.gz
sigrok-test-9d66b02f081570699ad205826f6b307af4449bf1.zip
Add a lot more MIDI test-cases.
Code coverage increased to 98%, only 5 lines missed. 4 are from handle_channel_msg_generic().
Diffstat (limited to 'decoder/test/midi/test.conf')
-rw-r--r--decoder/test/midi/test.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/decoder/test/midi/test.conf b/decoder/test/midi/test.conf
index 5fadc9f..baf5d30 100644
--- a/decoder/test/midi/test.conf
+++ b/decoder/test/midi/test.conf
@@ -39,3 +39,53 @@ test rockband_multiple_keys
stack uart midi
input uart/midi/rockband_wireless_keyboard_wii/midi_multiple_keys.sr
output midi annotation match rockband_multiple_keys.output
+
+test falcosoft_channel_pressure_program_change_pitch_bend
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/falcosoft_midi_player_3/initializes_for_dogos2_full.mid.sr
+ output midi annotation match falcosoft_channel_pressure_program_change_pitch_bend.output
+
+test realtime_messages
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/realtime_messages.sr
+ output midi annotation match realtime_messages.output
+
+test channel_modes
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/channel_modes.sr
+ output midi annotation match channel_modes.output
+
+test controller_misc
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/controller_misc.sr
+ output midi annotation match controller_misc.output
+
+test polyphonic_pressure
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/polyphonic_pressure.sr
+ output midi annotation match polyphonic_pressure.output
+
+test sysex_vendor_specific
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/sysex_vendor_specific.sr
+ output midi annotation match sysex_vendor_specific.output
+
+test system_common
+ protocol-decoder uart channel rx=0 option baudrate=31250
+ protocol-decoder midi
+ stack uart midi
+ input uart/midi/artifically_generated/system_common.sr
+ output midi annotation match system_common.output
+