|
DixShtix | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.dixshtix.midi.Test
Test everything in this CLI application.
Constructor Summary | |
Test()
|
Method Summary | |
static int |
BERTest(int num,
byte[] BER,
int testNumber)
Test of the variable-length encoding mechanism. |
static int |
EventTest(int num,
byte[] midi,
int testNumber)
Attempt to decode the midi bytes into a Event and
then reencode the Event into an array of bytes. |
static void |
main(java.lang.String[] args)
Test engine. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Test()
Method Detail |
public static int EventTest(int num, byte[] midi, int testNumber)
Event
and
then reencode the Event into an array of bytes.num
- The internal Event Type identifier.midi
- A sequence of raw bytes representing the Midi Event.testNumber
- The ordinal number of this test.public static int BERTest(int num, byte[] BER, int testNumber)
num
- A number in the range 0-0x0fffffff.BER
- A sequence of bytes representing the above number.testNumber
- The ordinal number of this test.public static void main(java.lang.String[] args)
|
DixShtix | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |