test.suite
Class TripletTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytest.suite.TripletTestCase
All Implemented Interfaces:
junit.framework.Test

public class TripletTestCase
extends junit.framework.TestCase

Author:
Chris

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TripletTestCase()
           
 
Method Summary
static Song loadGPToSong(java.lang.String fileName)
          Attempt to load a GP file as a Song.
 void testTriplet()
          Test that triplets are adapted and played correctly.
 
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

TripletTestCase

public TripletTestCase()
Method Detail

testTriplet

public void testTriplet()
                 throws GPFormatException,
                        java.io.IOException
Test that triplets are adapted and played correctly.

Throws:
java.io.IOException
GPFormatException

loadGPToSong

public static Song loadGPToSong(java.lang.String fileName)
                         throws GPFormatException,
                                java.io.IOException
Attempt to load a GP file as a Song.

Parameters:
fileName -
Returns:
a Song
Throws:
GPFormatException
java.io.IOException