com.mtp.gui
Class WindowWatcherTest

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

public class WindowWatcherTest
extends TestCase


Field Summary
protected  JFrame frame
           
protected  WindowWatcher windowDisposer
           
protected  WindowWatcher ww
           
 
Constructor Summary
WindowWatcherTest(String name)
           
 
Method Summary
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testAddWindowTwiceMaintainsSameID()
           
 void testConstructor()
           
 void testContainsWindowByID()
           
 void testDisposeRemovesWindow()
           
 void testFilterRemovesFilteredWindows()
           
 void testFilterWindowByHashCode()
           
 void testGetWindowByID()
           
 void testGetWindowByName()
           
 void testGetWindowByTitle()
           
 void testGetWindows()
           
 void testRemovalDoesNotChangeIndex()
          Test not guaranteed.
 void testRemoveWindows()
           
 void testSetFilterAllWindows()
           
 void testSetVisibleCalledTwiceGivesSameID()
           
 void testWaitTillWindowNotPresent()
           
 void testWaitTillWindowPresent()
           
 void testWindowClosedDetected()
          Test not guaranteed.
 
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

frame

protected JFrame frame

ww

protected WindowWatcher ww

windowDisposer

protected WindowWatcher windowDisposer
Constructor Detail

WindowWatcherTest

public WindowWatcherTest(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

testConstructor

public void testConstructor()
                     throws Exception
Exception

testGetWindows

public void testGetWindows()
                    throws Exception
Exception

testContainsWindowByID

public void testContainsWindowByID()
                            throws Exception
Exception

testSetVisibleCalledTwiceGivesSameID

public void testSetVisibleCalledTwiceGivesSameID()
                                          throws Exception
Exception

testRemoveWindows

public void testRemoveWindows()
                       throws Exception
Exception

testAddWindowTwiceMaintainsSameID

public void testAddWindowTwiceMaintainsSameID()
                                       throws Exception
Exception

testSetFilterAllWindows

public void testSetFilterAllWindows()
                             throws Exception
Exception

testWaitTillWindowPresent

public void testWaitTillWindowPresent()
                               throws Exception
Exception

testWaitTillWindowNotPresent

public void testWaitTillWindowNotPresent()
                                  throws Exception
Exception

testFilterRemovesFilteredWindows

public void testFilterRemovesFilteredWindows()
                                      throws Exception
Exception

testFilterWindowByHashCode

public void testFilterWindowByHashCode()
                                throws Exception
Exception

testGetWindowByName

public void testGetWindowByName()
                         throws Exception
Exception

testGetWindowByTitle

public void testGetWindowByTitle()
                          throws Exception
Exception

testGetWindowByID

public void testGetWindowByID()
                       throws Exception
Exception

testRemovalDoesNotChangeIndex

public void testRemovalDoesNotChangeIndex()
                                   throws Exception
Test not guaranteed.

Exception

testWindowClosedDetected

public void testWindowClosedDetected()
                              throws Exception
Test not guaranteed.

Exception

testDisposeRemovesWindow

public void testDisposeRemovesWindow()
                              throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.