Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

abbot.tester
Class KeyStrokeMapTest  view KeyStrokeMapTest download KeyStrokeMapTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byabbot.tester.KeyStrokeMapTest
All Implemented Interfaces:
junit.framework.Test

public class KeyStrokeMapTest
extends junit.framework.TestCase

Unit test to verify basic key stroke mappings.


Field Summary
private static java.lang.String charList
           
private  boolean flag
           
private  test.AbbotHelper helper
           
private  ComponentTester tester
           
private  javax.swing.JTextField tf
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
KeyStrokeMapTest(java.lang.String name)
          Create a new test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testBackSpace()
           
 void testCharacterGeneration()
          Test the basic ASCII set.
 void testEnter()
           
 void xtestDelete()
          Forward delete character, usually, although sometimes it gets mapped in the OS to the same as backspace/rubout.
 
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

tester

private ComponentTester tester

helper

private test.AbbotHelper helper

tf

private javax.swing.JTextField tf

charList

private static final java.lang.String charList
See Also:
Constant Field Values

flag

private boolean flag
Constructor Detail

KeyStrokeMapTest

public KeyStrokeMapTest(java.lang.String name)
Create a new test case with the given name.

Method Detail

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testCharacterGeneration

public void testCharacterGeneration()
Test the basic ASCII set.


testBackSpace

public void testBackSpace()

xtestDelete

public void xtestDelete()
Forward delete character, usually, although sometimes it gets mapped in the OS to the same as backspace/rubout.


testEnter

public void testEnter()

main

public static void main(java.lang.String[] args)