From 9d66b02f081570699ad205826f6b307af4449bf1 Mon Sep 17 00:00:00 2001 From: Chris Dreher Date: Fri, 19 Aug 2016 10:26:02 -0700 Subject: Add a lot more MIDI test-cases. Code coverage increased to 98%, only 5 lines missed. 4 are from handle_channel_msg_generic(). --- decoder/test/midi/system_common.output | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 decoder/test/midi/system_common.output (limited to 'decoder/test/midi/system_common.output') diff --git a/decoder/test/midi/system_common.output b/decoder/test/midi/system_common.output new file mode 100644 index 0000000..10698ab --- /dev/null +++ b/decoder/test/midi/system_common.output @@ -0,0 +1,16 @@ +7-106 midi: text-verbose: "System Common: song position pointer 0x39 0x60 (12345)" +118-180 midi: text-verbose: "System Common: song select number 66" +192-217 midi: text-verbose: "System Common: undefined 0xf4" +229-254 midi: text-verbose: "System Common: undefined 0xf5" +266-291 midi: text-verbose: "System Common: tune request" +303-365 midi: text-verbose: "System Common: MIDI time code quarter frame of frame count LS nibble, value 0xd" +377-439 midi: text-verbose: "System Common: MIDI time code quarter frame of frame count MS nibble, value 0x0" +451-513 midi: text-verbose: "System Common: MIDI time code quarter frame of seconds count LS nibble, value 0x8" +525-587 midi: text-verbose: "System Common: MIDI time code quarter frame of seconds count MS nibble, value 0x3" +599-661 midi: text-verbose: "System Common: MIDI time code quarter frame of minutes count LS nibble, value 0x2" +673-735 midi: text-verbose: "System Common: MIDI time code quarter frame of minutes count MS nibble, value 0x2" +747-809 midi: text-verbose: "System Common: MIDI time code quarter frame of hours count LS nibble, value 0xc" +821-883 midi: text-verbose: "System Common: MIDI time code quarter frame of hours count MS nibble and SMPTE type, value 0x0 for 24 frames/second" +895-957 midi: text-verbose: "System Common: MIDI time code quarter frame of hours count MS nibble and SMPTE type, value 0x2 for 25 frames/second" +969-1031 midi: text-verbose: "System Common: MIDI time code quarter frame of hours count MS nibble and SMPTE type, value 0x4 for 30 frames/second (drop-frame)" +1043-1104 midi: text-verbose: "System Common: MIDI time code quarter frame of hours count MS nibble and SMPTE type, value 0x6 for 30 frames/second (non-drop)" -- cgit v1.2.3-70-g09d2