test.suite
Class MidiAdaptorTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytest.suite.MidiTestCase
              extended bytest.suite.MidiAdaptorTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
MidiTools

public class MidiAdaptorTest
extends MidiTestCase

Author:
Chris

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
MidiAdaptorTest()
           
 
Method Summary
 void testAguaMIDI()
          Take one of the songs in the test suite that has a MIDI file.
 
Methods inherited from class test.suite.MidiTestCase
compareMIDIFiles
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MidiAdaptorTest

public MidiAdaptorTest()
Method Detail

testAguaMIDI

public void testAguaMIDI()
                  throws java.lang.Exception
Take one of the songs in the test suite that has a MIDI file. Load it using the MIDI adaptor, then write it back out using the MIDI filer. Remove optional metadata, standardize all MIDI events, and priooritize events by channel. The two resulting streams should be equal after adjusting to the same resolution.

Throws:
java.lang.Exception