com.mtp.pounder.assrt
Class TextEqualsItemTest

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

public class TextEqualsItemTest
extends WindowAssertItemTest


Field Summary
 
Fields inherited from class com.mtp.pounder.assrt.WindowAssertItemTest
windowWatcher
 
Fields inherited from class com.mtp.pounder.RecordingItemTest
dummyComponent, frame
 
Constructor Summary
TextEqualsItemTest(String name)
           
 
Method Summary
protected  WindowAssertItem buildTestItem(int windowID)
           
protected  WindowAssertItem buildTestItem(String windowTitle)
           
 Collection buildTestItems()
           
static Test suite()
           
 void testDifferentComponentNameEquals()
           
 void testDifferentDesiredValueEquals()
           
 void testEqualsWithNullDesiredValue()
           
 void testPlaybackComponentDoesNotExist()
           
 void testPlaybackComponentNotJTextComponent()
           
 void testPlaybackExceptionDesiredValueNotPresent()
           
 void testPlaybackExceptionDesiredValueNull()
           
 void testPlaybackExceptionDesiredValueNullAndNotPresent()
           
 
Methods inherited from class com.mtp.pounder.assrt.WindowAssertItemTest
setUp, tearDown, testDifferentTitleEquals, testDifferentTypeEquals, testDifferentWindowIDEquals, testGetWindow, testGetWindowByID, testGetWindowByIDNotThere, testGetWindowByTitle, testGetWindowByTitleNotThere, testGetWindowByTitleOnJOptionPane, testTitleConstructor, testWindowIDConstructor
 
Methods inherited from class com.mtp.pounder.RecordingItemTest
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
 

Constructor Detail

TextEqualsItemTest

public TextEqualsItemTest(String name)
Method Detail

suite

public static Test suite()

buildTestItem

protected WindowAssertItem buildTestItem(int windowID)
Specified by:
buildTestItem in class WindowAssertItemTest

buildTestItem

protected WindowAssertItem buildTestItem(String windowTitle)
Specified by:
buildTestItem in class WindowAssertItemTest

buildTestItems

public Collection buildTestItems()
                          throws Exception
Specified by:
buildTestItems in class RecordingItemTest
Exception

testDifferentComponentNameEquals

public void testDifferentComponentNameEquals()
                                      throws Exception
Exception

testEqualsWithNullDesiredValue

public void testEqualsWithNullDesiredValue()
                                    throws Exception
Exception

testDifferentDesiredValueEquals

public void testDifferentDesiredValueEquals()
                                     throws Exception
Exception

testPlaybackComponentDoesNotExist

public void testPlaybackComponentDoesNotExist()
                                       throws Exception
Exception

testPlaybackComponentNotJTextComponent

public void testPlaybackComponentNotJTextComponent()
                                            throws Exception
Exception

testPlaybackExceptionDesiredValueNotPresent

public void testPlaybackExceptionDesiredValueNotPresent()
                                                 throws Exception
Exception

testPlaybackExceptionDesiredValueNull

public void testPlaybackExceptionDesiredValueNull()
                                           throws Exception
Exception

testPlaybackExceptionDesiredValueNullAndNotPresent

public void testPlaybackExceptionDesiredValueNullAndNotPresent()
                                                        throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.