com.mtp.pounder
Class PlayerTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.pounder.PlayerTest
All Implemented Interfaces:
Test

public class PlayerTest
extends TestCase


Nested Class Summary
static class PlayerTest.ReturnNullConduit
           
 
Field Summary
protected  JFrame testFrame
           
protected  WindowWatcher windowWatcher
           
 
Constructor Summary
PlayerTest(String name)
           
 
Method Summary
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testBuildTestObjectWithNullReturnConduitDoesNotCallWaitTillWindowPresent()
           
 void testBuildWindowWatcher()
           
 void testConstructor()
           
 void testMisbehavingComponentPlayedPlaybackAttempts()
           
 void testPlayClearsMemberWindowWatcher()
           
 void testPlayItemPlaysOnce()
           
 void testPlayItemThatThrowsPlaybackExceptionGetsThrownOutOfPlay()
           
 void testSetDisposeWindowsToFalse()
           
 void testSetItemDelayEnabled()
           
 void testSetPausedFalse()
           
 void testSetPausedTrue()
           
 void testSetPausedTrueWindowWatcherFiltersAllWindows()
           
 void testSetStopRequested()
           
 void testSimplePlayback()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

windowWatcher

protected WindowWatcher windowWatcher

testFrame

protected JFrame testFrame
Constructor Detail

PlayerTest

public PlayerTest(String name)
Method Detail

suite

public static Test suite()

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class TestCase
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class TestCase
Exception

testBuildTestObjectWithNullReturnConduitDoesNotCallWaitTillWindowPresent

public void testBuildTestObjectWithNullReturnConduitDoesNotCallWaitTillWindowPresent()
                                                                              throws Exception
Exception

testConstructor

public void testConstructor()
                     throws Exception
Exception

testBuildWindowWatcher

public void testBuildWindowWatcher()
                            throws Exception
Exception

testSetPausedTrue

public void testSetPausedTrue()
                       throws Throwable
Throwable

testSetPausedTrueWindowWatcherFiltersAllWindows

public void testSetPausedTrueWindowWatcherFiltersAllWindows()
                                                     throws Exception
Exception

testSetPausedFalse

public void testSetPausedFalse()
                        throws Exception
Exception

testSetItemDelayEnabled

public void testSetItemDelayEnabled()
                             throws Exception
Exception

testSetDisposeWindowsToFalse

public void testSetDisposeWindowsToFalse()
                                  throws Exception
Exception

testPlayClearsMemberWindowWatcher

public void testPlayClearsMemberWindowWatcher()
                                       throws Exception
Exception

testPlayItemPlaysOnce

public void testPlayItemPlaysOnce()
                           throws Exception
Exception

testPlayItemThatThrowsPlaybackExceptionGetsThrownOutOfPlay

public void testPlayItemThatThrowsPlaybackExceptionGetsThrownOutOfPlay()
                                                                throws Exception
Exception

testMisbehavingComponentPlayedPlaybackAttempts

public void testMisbehavingComponentPlayedPlaybackAttempts()
                                                    throws Exception
Exception

testSimplePlayback

public void testSimplePlayback()
                        throws Exception
Exception

testSetStopRequested

public void testSetStopRequested()
                          throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.