com.mtp.pounder
Class KeyItemTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.pounder.RecordingItemTest
                    |
                    +--com.mtp.pounder.ComponentItemTest
                          |
                          +--com.mtp.pounder.KeyItemTest
All Implemented Interfaces:
PounderConstants, Test

public class KeyItemTest
extends ComponentItemTest
implements PounderConstants


Field Summary
 
Fields inherited from class com.mtp.pounder.RecordingItemTest
dummyComponent, frame
 
Fields inherited from interface com.mtp.pounder.PounderConstants
FILE_EXTENSION, FILE_FORMAT_VERSION, VERSION
 
Constructor Summary
KeyItemTest(String name)
           
 
Method Summary
protected  Document buildDocument()
           
protected  KeyItem buildKeyItem()
           
protected  KeyItem buildKeyItem(KeyEvent event)
           
 Collection buildTestItems()
           
static Test suite()
           
 void testBuildXMLNodeForKeyPressed()
           
 void testBuildXMLNodeForKeyTyped()
           
 void testCtrlO()
           
 void testKeyReleasedJapaneseCharacter()
           
 
Methods inherited from class com.mtp.pounder.ComponentItemTest
testWindowIDAndComponentCompared
 
Methods inherited from class com.mtp.pounder.RecordingItemTest
getDummyComponent, getDummyFrame, setUp, tearDown, 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

KeyItemTest

public KeyItemTest(String name)
Method Detail

suite

public static Test suite()

buildKeyItem

protected KeyItem buildKeyItem()

buildKeyItem

protected KeyItem buildKeyItem(KeyEvent event)

buildTestItems

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

testKeyReleasedJapaneseCharacter

public void testKeyReleasedJapaneseCharacter()
                                      throws Exception
Exception

testCtrlO

public void testCtrlO()
               throws Exception
Exception

buildDocument

protected Document buildDocument()
                          throws Exception
Exception

testBuildXMLNodeForKeyPressed

public void testBuildXMLNodeForKeyPressed()
                                   throws Exception
Exception

testBuildXMLNodeForKeyTyped

public void testBuildXMLNodeForKeyTyped()
                                 throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.