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

Quick Search    Search Deep

abbot.editor.recorder
Class JListRecorderTest  view JListRecorderTest download JListRecorderTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byabbot.editor.recorder.AbstractRecorderTest
              extended byabbot.editor.recorder.AbstractSemanticRecorderTest
                  extended byabbot.editor.recorder.JListRecorderTest
All Implemented Interfaces:
java.awt.event.AWTEventListener, java.util.EventListener, junit.framework.Test

public class JListRecorderTest
extends AbstractSemanticRecorderTest

Unit test to verify proper capture of user semantic events on a JList.


Nested Class Summary
 
Nested classes inherited from class abbot.editor.recorder.AbstractRecorderTest
AbstractRecorderTest.StepThunk
 
Field Summary
private  javax.swing.JList list
           
private static int MAX_ENTRIES
           
private  abbot.tester.JListTester tester
           
 
Fields inherited from class abbot.editor.recorder.AbstractSemanticRecorderTest
currentRecorder, savedRecorder
 
Fields inherited from class abbot.editor.recorder.AbstractRecorderTest
helper, watcher
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JListRecorderTest(java.lang.String name)
           
 
Method Summary
protected  SemanticRecorder createRecorder(abbot.Resolver r)
          Each Recorder subclass test should implement this method to return the SemanticRecorder to be tested.
static void main(java.lang.String[] args)
           
private  void showList()
           
static junit.framework.Test suite()
          Return the default test suite.
 void testCaptureSelection()
           
 
Methods inherited from class abbot.editor.recorder.AbstractSemanticRecorderTest
assertNoStep, assertStep, assertStep, eventDispatched, getStep, hasRecorder, setUp, startRecording, tearDown
 
Methods inherited from class abbot.editor.recorder.AbstractRecorderTest
assertStep, assertStepCount, bugInfo, toString, waitForStep
 
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 abbot.tester.JListTester tester

list

private javax.swing.JList list

MAX_ENTRIES

private static final int MAX_ENTRIES
See Also:
Constant Field Values
Constructor Detail

JListRecorderTest

public JListRecorderTest(java.lang.String name)
Method Detail

createRecorder

protected SemanticRecorder createRecorder(abbot.Resolver r)
Description copied from class: AbstractSemanticRecorderTest
Each Recorder subclass test should implement this method to return the SemanticRecorder to be tested.

Specified by:
createRecorder in class AbstractSemanticRecorderTest

showList

private void showList()

testCaptureSelection

public void testCaptureSelection()

suite

public static junit.framework.Test suite()
Return the default test suite.


main

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