Commit graph

3 commits

Author SHA1 Message Date
Clemens Ladisch
a7f744888e test/lsb/midi_event.c: check for buffer size check
Add a test to check that snd_midi_event_decode() checks its output
buffer size.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-07-08 08:50:54 +02:00
Clemens Ladisch
61f5b8438b test/lsb/midi_event.c: abort on fatal errors
If snd_midi_event_fails(), we cannot use the object and must abort the
current test.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-07-08 08:50:19 +02:00
Clemens Ladisch
7f73f1bb15 add midi event tests
Add some tests for the snd_midi_event_* functions.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-07-06 12:00:04 +02:00