com.mtp.pounder.assrt
Class WindowAssertItemTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.pounder.RecordingItemTest
                    |
                    +--com.mtp.pounder.assrt.WindowAssertItemTest
All Implemented Interfaces:
Test
Direct Known Subclasses:
TextEqualsItemTest, WindowShowingItemTest

public abstract class WindowAssertItemTest
extends RecordingItemTest


Field Summary
protected  WindowWatcher windowWatcher
           
 
Fields inherited from class com.mtp.pounder.RecordingItemTest
dummyComponent, frame
 
Constructor Summary
WindowAssertItemTest(String name)
           
 
Method Summary
protected abstract  WindowAssertItem buildTestItem(int windowID)
           
protected abstract  WindowAssertItem buildTestItem(String windowTitle)
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testDifferentTitleEquals()
           
 void testDifferentTypeEquals()
           
 void testDifferentWindowIDEquals()
           
 void testGetWindow()
           
 void testGetWindowByID()
           
 void testGetWindowByIDNotThere()
           
 void testGetWindowByTitle()
           
 void testGetWindowByTitleNotThere()
           
 void testGetWindowByTitleOnJOptionPane()
           
 void testTitleConstructor()
           
 void testWindowIDConstructor()
           
 
Methods inherited from class com.mtp.pounder.RecordingItemTest
buildTestItems, getDummyComponent, getDummyFrame, testDelaysCompared, testEquals, testXMLWriteRead
 
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
Constructor Detail

WindowAssertItemTest

public WindowAssertItemTest(String name)
Method Detail

suite

public static Test suite()

buildTestItem

protected abstract WindowAssertItem buildTestItem(int windowID)

buildTestItem

protected abstract WindowAssertItem buildTestItem(String windowTitle)

setUp

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

tearDown

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

testGetWindow

public void testGetWindow()
                   throws Exception
Exception

testGetWindowByID

public void testGetWindowByID()
                       throws Exception
Exception

testGetWindowByIDNotThere

public void testGetWindowByIDNotThere()
                               throws Exception
Exception

testGetWindowByTitle

public void testGetWindowByTitle()
                          throws Exception
Exception

testGetWindowByTitleOnJOptionPane

public void testGetWindowByTitleOnJOptionPane()
                                       throws Exception
Exception

testGetWindowByTitleNotThere

public void testGetWindowByTitleNotThere()
                                  throws Exception
Exception

testDifferentWindowIDEquals

public void testDifferentWindowIDEquals()
                                 throws Exception
Exception

testDifferentTypeEquals

public void testDifferentTypeEquals()
                             throws Exception
Exception

testDifferentTitleEquals

public void testDifferentTitleEquals()
                              throws Exception
Exception

testWindowIDConstructor

public void testWindowIDConstructor()
                             throws Exception
Exception

testTitleConstructor

public void testTitleConstructor()
                          throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.