org.tritonus.test
Class ControlTestCase

java.lang.Object
  extended by TestCase
      extended by org.tritonus.test.ControlTestCase

public class ControlTestCase
extends TestCase

Tests for class javax.sound.sampled.Control.


Constructor Summary
ControlTestCase(java.lang.String strName)
           
 
Method Summary
 void testGetTypeNull()
          Checks getType().
 void testGetTypeObject()
          Checks getType().
 void testToString()
          Checks toString().
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlTestCase

public ControlTestCase(java.lang.String strName)
Method Detail

testGetTypeObject

public void testGetTypeObject()
                       throws java.lang.Exception
Checks getType(). The test checks if the object returned by getType() is the one passed to the constructor.

Throws:
java.lang.Exception

testGetTypeNull

public void testGetTypeNull()
                     throws java.lang.Exception
Checks getType(). The test checks if the object returned by getType() is null, as is passed to the constructor.

Throws:
java.lang.Exception

testToString

public void testToString()
                  throws java.lang.Exception
Checks toString(). The test checks if the string returned by toString() contains characters (and doesn't throw an exception).

Throws:
java.lang.Exception