Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
<
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
<
()
- Static method in class junit.extensions.awt.editor.
ScriptTable
()
- Static method in class junit.extensions.awt.tester.
ComponentTester
Set up the underlying robot and initialize descriptions.
()
- Static method in class junit.extensions.awt.tester.
JComboBoxTester
()
- Static method in class junit.extensions.awt.tester.
JListTester
A
AbstractButtonTester
- class junit.extensions.awt.tester.
AbstractButtonTester
.
AbstractButtonTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
AbstractButtonTester
accept(File)
- Method in class junit.extensions.awt.
AWTTestSuite
Return whether to accept the given file.
accept(File)
- Method in class junit.extensions.awt.script.
ScriptFilter
Action
- class junit.extensions.awt.script.
Action
.
Encapsulate an action.
actionXXX on ComponentTester actionXXX on ComponentTester subclass, requires component attribute
Action(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Action
Action(Resolver, ComponentFinder, String, String, String[])
- Constructor for class junit.extensions.awt.script.
Action
Action for a method in the ComponentTester base class.
Action(Resolver, ComponentFinder, String, String, String[], Class)
- Constructor for class junit.extensions.awt.script.
Action
actionClick(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
Click on the center of the component.
actionClick(Component)
- Method in class junit.extensions.awt.tester.
AbstractButtonTester
AbstractButton click action.
actionClick(Component, int, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
Click on the component at the given location.
actionClick(Component, int, int, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
Click on the component at the given location.
actionDelay(int)
- Method in class junit.extensions.awt.tester.
ComponentTester
Delay the given number of ms.
actionKeyStroke(String, String)
- Method in class junit.extensions.awt.tester.
ComponentTester
Send the given keystroke to the program.
actionMenuItem(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
Select the given menu item.
actionPerformed(ActionEvent)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Respond to various components.
actionPerformed(ActionEvent)
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Generic action handler for buttons.
actionPerformed(ActionEvent)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
actionPerformed(ActionEvent)
- Method in class example.
NumberChooser
actionPopupMenuItem(Component, int, int, String)
- Method in class junit.extensions.awt.tester.
ComponentTester
Pop up a menu at the given location on the given component; Select the given item.
actionSelectCell(Component, int, int)
- Method in class junit.extensions.awt.tester.
JTableTester
JTable select cell action.
actionSetSelectedIndex(Component, int)
- Method in class junit.extensions.awt.tester.
JComboBoxTester
actionSetSelectedIndex(Component, int)
- Method in class junit.extensions.awt.tester.
JListTester
actionSetSelectedItem(Component, String)
- Method in class junit.extensions.awt.tester.
JComboBoxTester
actionSetSelectedValue(Component, String)
- Method in class junit.extensions.awt.tester.
JListTester
actionShowPopupMenu(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
Pop up a menu in the center of the given component.
actionShowPopupMenu(Component, int, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
Pop up a menu at the given location on the given component.
actionText(Component, String)
- Method in class junit.extensions.awt.tester.
JTextComponentTester
addActionListener(ActionListener)
- Method in class example.
ArrowButton
addComponent(Component)
- Method in interface junit.extensions.awt.
Resolver
Add a new component to the existing collection.
addComponent(Component)
- Method in class junit.extensions.awt.script.
Script
Add a new component reference for the given component.
addComponentPropertyCheck(Component, Method, String)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Invoked after the user has selected a component and a property for it.
addPropertyChangeListener(PropertyChangeListener)
- Method in class example.
NumberChooser
addPropertyChangeListener(PropertyChangeListener)
- Method in class example.
FontChooser
addStep(int, Step)
- Method in class junit.extensions.awt.script.
Sequence
Inserts a step at the given index in the sequence.
addStep(Step)
- Method in class junit.extensions.awt.script.
Sequence
Adds a step to the end of the sequence.
addStepListener(StepListener)
- Method in class junit.extensions.awt.script.
Step
AM_CLEAR
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_COPY
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_CUT
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_DELETE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_INSERT_LAUNCH
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_INSERT_SCRIPT
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_INSERT_SEQUENCE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_INSERT_TERMINATE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_LAUNCH
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_MOVE_DN
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_MOVE_UP
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_NEW
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_OPEN
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_PASTE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_QUIT
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_RENAME
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_RUN_SCRIPT
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_SAVE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_SELECT_TESTSUITE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_STOP_ON_ERROR
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_STOP_ON_FAILURE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_TERMINATE
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
AM_UNDO
- Static variable in class junit.extensions.awt.editor.
ScriptEditor
ArrowButton
- class example.
ArrowButton
.
Simple arrow button that spews events.
ArrowButton()
- Constructor for class example.
ArrowButton
ArrowButton(String)
- Constructor for class example.
ArrowButton
Assert
- class junit.extensions.awt.script.
Assert
.
Encapsulate an assertion.
Assert(Resolver, ComponentFinder, HashMap, boolean)
- Constructor for class junit.extensions.awt.script.
Assert
Construct an assert step from XML.
Assert(Resolver, ComponentFinder, String, String, String[], Class, String, boolean, boolean)
- Constructor for class junit.extensions.awt.script.
Assert
Assertion provided by a ComponentTester subclass.
Assert(Resolver, ComponentFinder, String, String, String[], Class, String, boolean, long, long)
- Constructor for class junit.extensions.awt.script.
Assert
Wait provided by a ComponentTester subclass.
Assert(Resolver, ComponentFinder, String, String, String[], String, boolean, boolean)
- Constructor for class junit.extensions.awt.script.
Assert
Assertion provided by the ComponentTester class.
Assert(Resolver, ComponentFinder, String, String, String[], String, boolean, long, long)
- Constructor for class junit.extensions.awt.script.
Assert
Wait provided by the ComponentTester class.
Assert(Resolver, ComponentFinder, String, String, String[], String, String, boolean, boolean)
- Constructor for class junit.extensions.awt.script.
Assert
Property assertion on Component subclass.
Assert(Resolver, ComponentFinder, String, String, String[], String, String, boolean, long, long)
- Constructor for class junit.extensions.awt.script.
Assert
Wait on a Component's property.
assertFrameShowing(String)
- Method in class junit.extensions.awt.tester.
ComponentTester
Returns whether frame/dialog with the given title is showing.
availableFonts
- Static variable in class example.
FontChooser
AWTEventRecorder
- class junit.extensions.awt.editor.
AWTEventRecorder
.
Provides recording of raw AWT events.
AWTEventRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
AWTEventRecorder
Create a Recorder for use in capturing raw AWTEvents.
AWTTestCase
- class junit.extensions.awt.
AWTTestCase
.
Simple wrapper for a test script to run under JUnit.
AWTTestCase(String)
- Constructor for class junit.extensions.awt.
AWTTestCase
Construct a test case with the given name.
AWTTestCollector
- class junit.extensions.awt.
AWTTestCollector
.
Collects all available classes derived from AWTestCase in the current classpath.
AWTTestCollector()
- Constructor for class junit.extensions.awt.
AWTTestCollector
AWTTestSuite
- class junit.extensions.awt.
AWTTestSuite
.
Similar to TestSuite, except that it auto-generates a suite based on test scripts matching certain criteria.
AWTTestSuite(Class)
- Constructor for class junit.extensions.awt.
AWTTestSuite
Constructs a suite of tests from all the scripts found in the current directory.
AWTTestSuite(Class, String)
- Constructor for class junit.extensions.awt.
AWTTestSuite
Constructs a suite of tests from all the scripts found in the given directory.
AWTTestSuite(Class, String, boolean)
- Constructor for class junit.extensions.awt.
AWTTestSuite
Constructs an AWTTestSuite from all the scripts in the given directory, recursing if recurse is true.
B
bold
- Variable in class example.
FontChooser
BORDER
- Static variable in class example.
ArrowButton
ButtonClickRecorder
- class junit.extensions.awt.editor.
ButtonClickRecorder
.
That means mouse button click, not GUI button click.
ButtonClickRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
ButtonClickRecorder
Create a recorder for capturing mouse button clicks.
C
cancel(String)
- Method in class junit.extensions.awt.editor.
Recorder
Cancel the current recording.
cancelCellEditing()
- Method in class junit.extensions.awt.editor.
XMLEditor
cancelCellEditing()
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
checkEnableOK(ListSelectionEvent)
- Method in class junit.extensions.awt.editor.
TestSelector
clamp(int)
- Method in class example.
NumberChooser
clear()
- Method in class junit.extensions.awt.editor.
ComponentPropertyModel
clear()
- Method in class junit.extensions.awt.script.
Sequence
Remove all stepchildren.
clear()
- Method in class junit.extensions.awt.script.
Script
Set up a blank script, discarding any current state.
clearFailures()
- Method in class junit.extensions.awt.script.
Step
clearFailures()
- Method in class junit.extensions.awt.script.
Sequence
Recursively clear all failures.
clearSelection()
- Method in class junit.extensions.awt.editor.
ScriptTable
click(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
Click in the center of the given component.
click(Component, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
click(Component, int, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
click(Component, int, int, int)
- Method in class junit.extensions.awt.tester.
ComponentTester
Click in the given part of the component.
clickCountToStart
- Variable in class junit.extensions.awt.editor.
XMLEditor
closeWindows()
- Method in interface junit.extensions.awt.
ComponentFinder
Send close events to all available showing windows.
closeWindows()
- Method in class junit.extensions.awt.
DefaultComponentFinder
Send an explicit window close event to all showing windows.
ComponentBrowser
- class junit.extensions.awt.editor.
ComponentBrowser
.
Browse an existing component hierarchy.
ComponentBrowser(ScriptEditor, ComponentFinder)
- Constructor for class junit.extensions.awt.editor.
ComponentBrowser
Default constructor
ComponentFinder
- interface junit.extensions.awt.
ComponentFinder
.
Interface to support looking up existing components based on a number of different criteria.
ComponentNode
- class junit.extensions.awt.editor.
ComponentNode
.
ComponentNode(ComponentFinder)
- Constructor for class junit.extensions.awt.editor.
ComponentNode
ComponentNode(ComponentNode, Component)
- Constructor for class junit.extensions.awt.editor.
ComponentNode
ComponentNotFoundException
- exception junit.extensions.awt.script.
ComponentNotFoundException
.
ComponentNotFoundException()
- Constructor for class junit.extensions.awt.script.
ComponentNotFoundException
ComponentNotFoundException(String)
- Constructor for class junit.extensions.awt.script.
ComponentNotFoundException
ComponentPropertyModel
- class junit.extensions.awt.editor.
ComponentPropertyModel
.
ComponentPropertyModel()
- Constructor for class junit.extensions.awt.editor.
ComponentPropertyModel
ComponentReference
- class junit.extensions.awt.script.
ComponentReference
.
Encapsulate as much information as is available to identify a GUI component.
ComponentReference(Resolver, ComponentFinder, Component)
- Constructor for class junit.extensions.awt.script.
ComponentReference
Create a reference based on the given component.
ComponentReference(Resolver, ComponentFinder, Element)
- Constructor for class junit.extensions.awt.script.
ComponentReference
componentsMatch(Component, ComponentReference)
- Method in interface junit.extensions.awt.
ComponentFinder
Determine the best we can whether the component is the one referred to by the reference.
componentsMatch(Component, ComponentReference)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Determine the best we can whether the component is the one referred to by the reference.
ComponentTester
- class junit.extensions.awt.tester.
ComponentTester
.
Provide basic actions and assertions for anything of class Component.
ComponentTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
ComponentTester
ComponentTesterTest
- class test.
ComponentTesterTest
.
Unit test to verify the base ComponentTester class.
ComponentTesterTest(String)
- Constructor for class test.
ComponentTesterTest
Create a new test case with the given name.
ContainerTester
- class junit.extensions.awt.tester.
ContainerTester
.
ContainerTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
ContainerTester
convert(String)
- Method in interface junit.extensions.awt.converter.
Converter
Converter
- interface junit.extensions.awt.converter.
Converter
.
This interface provides a method for converting a String into some destination class type.
createAttributeMap(Element)
- Static method in class junit.extensions.awt.script.
Step
createStep()
- Method in class junit.extensions.awt.editor.
Recorder
Create a script step based on the information gathered so far.
createStep()
- Method in class junit.extensions.awt.editor.
TextRecorder
createStep()
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
createStep()
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
createStep()
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
createStep()
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
createStep()
- Method in class junit.extensions.awt.editor.
EventRecorder
Encapsulate all the events we've collected into a single sequence.
createStep()
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
createStep(Resolver, ComponentFinder, Element)
- Static method in class junit.extensions.awt.script.
Step
Factory method, equivalent to a "fromXML".
createStep(Resolver, ComponentFinder, String)
- Static method in class junit.extensions.awt.script.
Step
Create a new step from an XML string.
D
DEFAULT_INTERVAL
- Static variable in class junit.extensions.awt.script.
Assert
DEFAULT_TIMEOUT
- Static variable in class junit.extensions.awt.script.
Assert
DefaultComponentFinder
- class junit.extensions.awt.
DefaultComponentFinder
.
Basic component lookup implementation.
DefaultComponentFinder()
- Constructor for class junit.extensions.awt.
DefaultComponentFinder
DefaultComponentFinder(ComponentFinder)
- Constructor for class junit.extensions.awt.
DefaultComponentFinder
defaultTag(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
Component names take precedence over other identifying tags.
delay(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Sleep for the given duration of ms.
delegate
- Variable in class junit.extensions.awt.editor.
XMLEditor
depth
- Variable in class junit.extensions.awt.script.
StepEvent
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
ComponentTester
For a generic component, there's nothing we can really use to identify the component, except maybe toString, but that's probably too volatile.
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
JComponentTester
Derive a tag for identifying this component.
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
AbstractButtonTester
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
WindowTester
The window's size seems as good an ID as any.
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
FrameTester
Return a unique tag to help identify the given component.
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
JLabelTester
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
JPopupMenuTester
Return an identifying tag for the popup menu.
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
JMenuItemTester
deriveTag(Component)
- Method in class junit.extensions.awt.tester.
DialogTester
Return a unique tag to help identify the given component.
destroyRoller()
- Method in class example.
ArrowButton
DialogTester
- class junit.extensions.awt.tester.
DialogTester
.
DialogTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
DialogTester
direction
- Variable in class example.
ArrowButton
discardComponent(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Discard the given component from any future queries.
discardComponent(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Discard and no longer reference the given component.
displayString(String)
- Static method in class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
disposeWindows()
- Method in interface junit.extensions.awt.
ComponentFinder
Discard all currently available windows.
disposeWindows()
- Method in class junit.extensions.awt.
DefaultComponentFinder
Dispose of all available windows, and does not return until they have been disposed of.
doCheck()
- Method in class junit.extensions.awt.script.
Assert
Check the assertion.
doLayout()
- Method in class junit.extensions.awt.editor.
ScriptModel
Scan the layout to initialize the row entries.
down
- Variable in class example.
ArrowButton
down
- Variable in class example.
NumberChooser
DOWN
- Static variable in class example.
ArrowButton
drawCursor(Graphics)
- Method in class junit.extensions.awt.editor.
ScriptTable
E
editorComponent
- Variable in class junit.extensions.awt.editor.
XMLEditor
elapsed()
- Method in class test.
Timer
Return the number of milliseconds elapsed since the last timer reset.
elapsed(Runnable)
- Method in class test.
Timer
Return the length of time elapsed to run the given runnable.
EM_AWT
- Static variable in class junit.extensions.awt.tester.
ComponentTester
Post events to the AWT event queue.
EM_PROG
- Static variable in class junit.extensions.awt.tester.
ComponentTester
Use programmatic control where possible.
EM_ROBOT
- Static variable in class junit.extensions.awt.tester.
ComponentTester
Use java.awt.Robot to generate events.
equals(Object)
- Method in class junit.extensions.awt.editor.
ComponentNode
Return true if the represented components are the same.
equals(Object)
- Method in class junit.extensions.awt.script.
ComponentReference
Any two component references are equivalent if they have the same XML.
equals(Object, Object)
- Method in class junit.extensions.awt.tester.
ComponentTester
Perform piecewise comparisons of arrays in addition to regular comparisons.
eval(Resolver, ComponentFinder, String[], Class[])
- Static method in class junit.extensions.awt.tester.
ComponentTester
Evaluate the given set of arguments into the given set of types.
eval(Resolver, ComponentFinder, String, Class)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Convert the given string into the given class, if possible, using any available converters if conversion to basic types fails.
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
Recorder
Handle an action.
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
TextRecorder
Watch for a sequence of characters to be typed.
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Event reception callback.
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
EventRecorder
Handle an action.
eventDispatched(AWTEvent)
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
Handle an action.
eventDispatched(AWTEvent)
- Method in class example.
MyCode
eventMode
- Static variable in class junit.extensions.awt.tester.
ComponentTester
Only robot mode is currently supported.
EventRecorder
- class junit.extensions.awt.editor.
EventRecorder
.
Provides recording of raw AWT events, attempting to parse them as high-level semantic events.
EventRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
EventRecorder
Create a Recorder for use in capturing raw AWTEvents.
eventToString(AWTEvent)
- Method in class junit.extensions.awt.editor.
Recorder
example
- package example
F
field
- Variable in class example.
NumberChooser
filterComponent(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Don't return the given component in any queries.
filterComponent(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
findActivePopupMenu(Component, Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Find the active popup menu invoked by the given component.
findActivePopupMenu(Component, Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
findComponent(ComponentReference)
- Method in interface junit.extensions.awt.
ComponentFinder
Attempt to find the given component.
findComponent(ComponentReference)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Attempt to find the given component.
findDescendent(Component, ComponentReference)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the first component matching the reference's hierarchy.
findMenuItemByName(Component, String)
- Method in interface junit.extensions.awt.
ComponentFinder
Look up the first menu item below root with the given title.
findMenuItemByName(Component, String)
- Method in class junit.extensions.awt.
DefaultComponentFinder
findTestScripts(File, Vector)
- Method in class junit.extensions.awt.
AWTTestSuite
Add all test scripts in the given directory and below that start with the given prefix.
findWindow(String)
- Method in interface junit.extensions.awt.
ComponentFinder
Find the first window with a name or title that matches the given string.
findWindow(String)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the window with the given name or title.
findWindowByName(String)
- Method in interface junit.extensions.awt.
ComponentFinder
Find the first window with the given name.
findWindowByName(String)
- Method in class junit.extensions.awt.
DefaultComponentFinder
findWindowByTitle(String)
- Method in interface junit.extensions.awt.
ComponentFinder
Find the first window with the given title pattern.
findWindowByTitle(String)
- Method in class junit.extensions.awt.
DefaultComponentFinder
fireActionEvent()
- Method in class example.
ArrowButton
fireHierarchyChanged()
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Indicates that the component hierarchy may have changed.
fireReferencesChanged()
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Indicate that the reference list may have changed.
fireStateChange()
- Method in class example.
FontChooser
update our internal font, then tell everyone about it
fireStepEnd()
- Method in class junit.extensions.awt.script.
Step
fireStepError()
- Method in class junit.extensions.awt.script.
Step
fireStepEvent(StepEvent)
- Method in class junit.extensions.awt.script.
Step
fireStepEvent(String)
- Method in class junit.extensions.awt.script.
Step
fireStepEvent(String, int)
- Method in class junit.extensions.awt.script.
Step
fireStepFailure()
- Method in class junit.extensions.awt.script.
Step
fireStepProgress(int)
- Method in class junit.extensions.awt.script.
Step
fireStepStart()
- Method in class junit.extensions.awt.script.
Step
fireValueChange(int)
- Method in class example.
NumberChooser
fLeafIcon
- Variable in class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
FontChooser
- class example.
FontChooser
.
Select a font
FontChooser()
- Constructor for class example.
FontChooser
FontChooserTest
- class example.
FontChooserTest
.
Simple test instance of AWTTestCase.
FontChooserTest(String)
- Constructor for class example.
FontChooserTest
Construct a test case with the given name.
FrameTester
- class junit.extensions.awt.tester.
FrameTester
.
FrameTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
FrameTester
fromXML(String)
- Method in class junit.extensions.awt.script.
ComponentReference
fSuiteIcon
- Variable in class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
G
getActions()
- Method in class junit.extensions.awt.tester.
ComponentTester
Return a list of all actions defined by this class that don't depend on a component argument.
getArgList()
- Method in class junit.extensions.awt.script.
MethodInvocation
Convert our argument vector into an XML attribute.
getArgs()
- Method in class junit.extensions.awt.script.
MethodInvocation
getAssertions()
- Method in class junit.extensions.awt.tester.
ComponentTester
Return a list of all assertions defined by this class that don't depend on a component argument.
getAttributes()
- Method in class junit.extensions.awt.script.
Step
Attributes to save in script.
getAttributes()
- Method in class junit.extensions.awt.script.
MethodInvocation
Attributes to save in script.
getAttributes()
- Method in class junit.extensions.awt.script.
SendEvent
getAttributes()
- Method in class junit.extensions.awt.script.
Script
getAttributes()
- Method in class junit.extensions.awt.script.
Assert
The invert "tag" is encoded in the method name.
getAttributes()
- Method in class junit.extensions.awt.script.
Action
Return custom attributes for an Action.
getAttributes()
- Method in class junit.extensions.awt.script.
Launch
getAutoDelay()
- Static method in class junit.extensions.awt.tester.
ComponentTester
getAWTEventType(AWTEvent)
- Static method in class junit.extensions.awt.editor.
ScriptEditor
Return the AWT event type as a string.
getCellEditorValue()
- Method in class junit.extensions.awt.editor.
XMLEditor
getCellEditorValue()
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
getChildCount()
- Method in class junit.extensions.awt.editor.
ComponentNode
getClickCountToStart()
- Method in class junit.extensions.awt.editor.
XMLEditor
ClickCountToStart controls the number of clicks required to start editing.
getColumnClass(int)
- Method in class junit.extensions.awt.editor.
ReferencesModel
getColumnClass(int)
- Method in class junit.extensions.awt.editor.
ScriptModel
getColumnCount()
- Method in class junit.extensions.awt.editor.
ReferencesModel
getColumnCount()
- Method in class junit.extensions.awt.editor.
ScriptModel
getColumnName(int)
- Method in class junit.extensions.awt.editor.
ReferencesModel
getColumnName(int)
- Method in class junit.extensions.awt.editor.
ScriptModel
getColumns()
- Method in class example.
NumberChooser
getComponent()
- Method in class junit.extensions.awt.editor.
ComponentNode
getComponent()
- Method in class junit.extensions.awt.editor.
XMLEditor
Returns the a reference to the editor component.
getComponentActions()
- Method in class junit.extensions.awt.tester.
ComponentTester
Return a list of all actions defined by this class that require a component argument.
getComponentAssertions()
- Method in class junit.extensions.awt.tester.
ComponentTester
Return a list of all assertions defined by this class that require a component argument.
getComponentFrame(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the component's owning frame.
getComponentFrame(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the nearest Frame or Dialog ancestor of the given component.
getComponentFrameTitle(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Returns the title of the frame for the given component, or null if none.
getComponentFrameTitle(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the title of the Frame for the given component, if any.
getComponentID(Component)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Returns null if not found.
getComponentName(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the component's name.
getComponentName(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the component's name (null if it's auto-generated)
getComponentParent(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Look up the apparent parent of a component.
getComponentParent(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Look up the apparent parent of a component.
getComponentReference(Component)
- Method in interface junit.extensions.awt.
Resolver
Return the existing reference for the given component, or null if none exists.
getComponentReference(Component)
- Method in class junit.extensions.awt.script.
Script
Return the reference for the given component, or null if none yet exists.
getComponentReference(String)
- Method in interface junit.extensions.awt.
Resolver
Convert the reference ID into a component reference.
getComponentReference(String)
- Method in class junit.extensions.awt.script.
Script
Convert the given reference ID into a component reference.
getComponentReferences()
- Method in interface junit.extensions.awt.
Resolver
Returns a collection of all the existing references.
getComponentReferences()
- Method in class junit.extensions.awt.script.
Script
getComponents(Container)
- Method in interface junit.extensions.awt.
ComponentFinder
Include Windows and MenuElements.
getComponents(Container)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Returns all components below the GUI hierarchy of the given Container, including Windows and MenuElements.
getComponentWindow(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Returns the parent window for the given component.
getComponentWindow(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the nearest Window ancestor of the given Component.
getContents()
- Method in class junit.extensions.awt.script.
Step
Override if the step actually has some contents.
getContents()
- Method in class junit.extensions.awt.script.
Sequence
getContents(Component)
- Method in class junit.extensions.awt.tester.
JComboBoxTester
Return an array of strings that represent the combo box list.
getContents(Component)
- Method in class junit.extensions.awt.tester.
JListTester
Return an array of strings that represent the combo box list.
getConverter(Class)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Find a string converter for the given class.
getCursorLocation()
- Method in class junit.extensions.awt.editor.
ScriptTable
There are one more cursor locations than there are entries in the table.
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Step
Return a reasonable default description for this script step.
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Sequence
getDefaultDescription()
- Method in class junit.extensions.awt.script.
SendEvent
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Script
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Assert
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Terminate
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Action
Return a default description for this action.
getDefaultDescription()
- Method in class junit.extensions.awt.script.
Launch
getDepth()
- Method in class junit.extensions.awt.script.
StepEvent
getDescription()
- Method in class junit.extensions.awt.script.
Step
getDescription()
- Method in class junit.extensions.awt.script.
ScriptFilter
getDirection()
- Method in class example.
ArrowButton
getDirectory()
- Method in class junit.extensions.awt.
AWTTestSuite
Returns the directory in which to begine the script search.
getEntry(int)
- Method in class junit.extensions.awt.editor.
ScriptModel
getError()
- Method in class junit.extensions.awt.script.
Step
getEventID(Class, int, String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
getEventID(Class, String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Return the numeric event ID corresponding to the given string.
getEventMask()
- Method in class junit.extensions.awt.editor.
Recorder
Return the events of interest to this Recorder.
getEventMask()
- Method in class junit.extensions.awt.editor.
TextRecorder
Listen for keystrokes and termination events.
getEventMask()
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
getEventMask()
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
Return a mask for events of interest to this recorder.
getEventMask()
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
getEventMask()
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
Return a mask for events of interest to this recorder.
getEventMask()
- Method in class junit.extensions.awt.editor.
EventRecorder
Return the events of interest to this Recorder.
getEventMask()
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
Return the events of interest to this Recorder.
getEventQueue(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the AWT event queue for the given component.
getEventQueue(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
getFailure()
- Method in class junit.extensions.awt.script.
Step
getFile()
- Method in class junit.extensions.awt.script.
Script
getFinder()
- Method in class junit.extensions.awt.editor.
Recorder
Return the ComponentFinder to be used by this recorder.
getFinder()
- Method in class junit.extensions.awt.script.
Step
getFinder()
- Method in class junit.extensions.awt.tester.
ComponentTester
getFrames()
- Method in interface junit.extensions.awt.
ComponentFinder
Returns all available frames.
getFrames()
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return an array of all available Frames.
getID()
- Method in class junit.extensions.awt.script.
StepEvent
getID()
- Method in class junit.extensions.awt.script.
ComponentReference
Unique identifier for this component.
getInvocationLocation()
- Method in class junit.extensions.awt.script.
ComponentReference
getInvoker()
- Method in class junit.extensions.awt.script.
ComponentReference
Invoker of a JPopupMenu.
getKeyCode(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
getKeyCode(String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
getKeyStroke(char)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Return the keycode KeyStroke corresponding to the given character, as best we can guess it.
getListCellRendererComponent(JList, Object, int, boolean, boolean)
- Method in class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
getMaximum()
- Method in class example.
NumberChooser
getMaximumSize()
- Method in class example.
ArrowButton
getMenuLabels(Component)
- Method in class junit.extensions.awt.tester.
JPopupMenuTester
Return the contents of the popup menu as a String array.
getMethod()
- Method in class junit.extensions.awt.script.
MethodInvocation
Resolve the method name into an actual method.
getMethodName()
- Method in class junit.extensions.awt.script.
MethodInvocation
Method name to save in script.
getMethodName()
- Method in class junit.extensions.awt.script.
Assert
Method name to save in script.
getMinimum()
- Method in class example.
NumberChooser
getMinimumSize()
- Method in class example.
ArrowButton
getModifiers(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Convert the integer flags into a string representation.
getModifiers(String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Convert the string representation into the actual modifier mask.
getName()
- Method in class junit.extensions.awt.editor.
Recorder
Return the name of the type of GUI action to be recorded.
getName()
- Method in class junit.extensions.awt.editor.
TextRecorder
getName()
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
getName()
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
For use with actions.
getName()
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
getName()
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
For use with actions.
getName()
- Method in class junit.extensions.awt.editor.
EventRecorder
Return the name of the type of GUI action to be recorded.
getName()
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
Return the name of the type of GUI action to be recorded.
getName()
- Method in class junit.extensions.awt.script.
Script
getName()
- Method in class junit.extensions.awt.script.
ComponentReference
This component's name, null if no name was set.
getParentID()
- Method in class junit.extensions.awt.script.
ComponentReference
Reference ID of this component's parent (optional).
getParentReference()
- Method in class junit.extensions.awt.script.
ComponentReference
Return a reference to this reference's parent, if available.
getPreferredSize()
- Method in class example.
ArrowButton
getPropertyChecks()
- Method in class junit.extensions.awt.tester.
ComponentTester
Return a list of all property checks defined by this class.
getRefClass()
- Method in class junit.extensions.awt.script.
ComponentReference
This component's class.
getResolver()
- Method in class junit.extensions.awt.editor.
Recorder
Return the Resolver to be used by this recorder.
getResolver()
- Method in class junit.extensions.awt.editor.
ScriptEditor
getResolver()
- Method in class junit.extensions.awt.script.
Step
getRoller()
- Method in class example.
ArrowButton
getRowCount()
- Method in class junit.extensions.awt.editor.
ReferencesModel
getRowCount()
- Method in class junit.extensions.awt.editor.
ScriptModel
getRowOf(Step)
- Method in class junit.extensions.awt.editor.
ScriptModel
Returns -1 if the step is not found.
getScript()
- Method in class junit.extensions.awt.editor.
ScriptModel
getScriptContext()
- Method in class junit.extensions.awt.editor.
ScriptTable
Returns the script context of the currently selected row.
getSelectedComponent()
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Returns which component is currently selected.
getSelectedItem()
- Method in class junit.extensions.awt.editor.
TestSelector
getSelectedReference()
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Returns the currently selected reference.
getSpecifiedFont()
- Method in class example.
FontChooser
getStep()
- Method in class junit.extensions.awt.script.
StepEvent
getStep()
- Method in class example.
NumberChooser
getStep(int)
- Method in class junit.extensions.awt.script.
Sequence
Return the step at the given index in the sequence.
getStopOnError()
- Method in class junit.extensions.awt.script.
Step
getStopOnFailure()
- Method in class junit.extensions.awt.script.
Step
getTableCellEditorComponent(JTable, Object, boolean, int, int)
- Method in class junit.extensions.awt.editor.
XMLEditor
getTag()
- Method in class junit.extensions.awt.script.
ComponentReference
Returns a component class-specific tag used to match this reference to a real component.
getTag(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Return a reasonable identifier for the given component.
getTag(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return a reasonable identifier for the given component.
getTestedClass(ComponentTester)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the class tested by the given tester.
getTestedClass(ComponentTester)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the class tested by the given tester.
getTester()
- Method in class junit.extensions.awt.script.
Step
getTester(Class)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the tester registered for the given class, chaining up the inheritance tree if necessary.
getTester(Class)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the tester registered for the given class, chaining up the inheritance tree if necessary.
getTester(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the tester registered for the given component's class.
getTester(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the tester registered for the given component's class.
getTester(ComponentReference)
- Method in interface junit.extensions.awt.
ComponentFinder
Return the tester registered for the given component reference's class.
getTester(ComponentReference)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return the tester registered for the given component reference's class.
getThreadedDefault()
- Method in class junit.extensions.awt.script.
MethodInvocation
getThreadedDefault()
- Method in class junit.extensions.awt.script.
Launch
getTitle()
- Method in class junit.extensions.awt.script.
ComponentReference
Title string of this component's parent frame (optional).
getTreeCellEditorComponent(JTree, Object, boolean, boolean, boolean, int)
- Method in class junit.extensions.awt.editor.
XMLEditor
getType()
- Method in class junit.extensions.awt.script.
StepEvent
getUniqueID(ComponentReference)
- Method in interface junit.extensions.awt.
Resolver
Derive a unique identifier for the given reference.
getUniqueID(ComponentReference)
- Method in class junit.extensions.awt.script.
Script
Return a unique reference ID.
getUsage()
- Method in class junit.extensions.awt.script.
Step
Provide a usage String for this step.
getUsage()
- Method in class junit.extensions.awt.script.
Sequence
Returns a string describing the proper XML usage for this class.
getUsage()
- Method in class junit.extensions.awt.script.
SendEvent
getUsage()
- Method in class junit.extensions.awt.script.
Script
getUsage()
- Method in class junit.extensions.awt.script.
Assert
getUsage()
- Method in class junit.extensions.awt.script.
Terminate
getUsage()
- Method in class junit.extensions.awt.script.
Action
Return the proper XML usage for this step.
getUsage()
- Method in class junit.extensions.awt.script.
Launch
getValue()
- Method in class example.
NumberChooser
getValueAt(int, int)
- Method in class junit.extensions.awt.editor.
ReferencesModel
Returns the entry object at the given row.
getValueAt(int, int)
- Method in class junit.extensions.awt.editor.
ScriptModel
Returns the entry object at the given row.
getValueAt(int, int)
- Method in class junit.extensions.awt.editor.
ComponentPropertyModel
getWindowID()
- Method in class junit.extensions.awt.script.
ComponentReference
Reference ID of this component's parent window (optional).
getWindowReference()
- Method in class junit.extensions.awt.script.
ComponentReference
Return a reference to this reference's window, if available.
getWindows()
- Method in interface junit.extensions.awt.
ComponentFinder
Returns the set of all available windows.
getWindows()
- Method in class junit.extensions.awt.
DefaultComponentFinder
Returns the set of all available windows that have not been filtered.
getWindows(Window)
- Method in interface junit.extensions.awt.
ComponentFinder
Returns all available windows under the given parent window.
getWindows(Window)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return all windows owned by the given window.
getXMLTag()
- Method in class junit.extensions.awt.script.
Step
Define the XML tag to use for this script step.
getXMLTag()
- Method in class junit.extensions.awt.script.
Sequence
getXMLTag()
- Method in class junit.extensions.awt.script.
SendEvent
getXMLTag()
- Method in class junit.extensions.awt.script.
Script
For use in embedding this script in another.
getXMLTag()
- Method in class junit.extensions.awt.script.
Assert
getXMLTag()
- Method in class junit.extensions.awt.script.
Terminate
getXMLTag()
- Method in class junit.extensions.awt.script.
Action
Return the XML tag for this step.
getXMLTag()
- Method in class junit.extensions.awt.script.
Launch
H
hashCode()
- Method in class junit.extensions.awt.editor.
ComponentNode
hashCode()
- Method in class junit.extensions.awt.script.
ComponentReference
Hash off of the XML representation rather than the objects themselves.
hasLaunch()
- Method in class junit.extensions.awt.script.
Script
hasTerminate()
- Method in class junit.extensions.awt.script.
Script
I
in
- Variable in class example.
ArrowButton
indent
- Variable in class junit.extensions.awt.editor.
ScriptModel.Entry
indexOf(Step)
- Method in class junit.extensions.awt.script.
Sequence
Returns the index of the given step in the sequence, or -1 if the step is not in the sequence.
initialize()
- Method in class junit.extensions.awt.editor.
Recorder
Set up state prior to capturing events.
initialize()
- Method in class junit.extensions.awt.editor.
TextRecorder
initialize()
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
initialize()
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
initialize()
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
initialize()
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
initialize()
- Method in class junit.extensions.awt.editor.
EventRecorder
initialize()
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
InvalidScriptException
- exception junit.extensions.awt.script.
InvalidScriptException
.
Exception to indicate the script being parsed is invalid.
InvalidScriptException()
- Constructor for class junit.extensions.awt.script.
InvalidScriptException
InvalidScriptException(String)
- Constructor for class junit.extensions.awt.script.
InvalidScriptException
isCancelEvent(AWTEvent)
- Method in class junit.extensions.awt.editor.
Recorder
Default method of canceling an action is to hit the escape key.
isCancelEvent(AWTEvent)
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
Since we quit after any key is pressed anyway, we don't need to provide a cancel event.
isCancelEvent(AWTEvent)
- Method in class junit.extensions.awt.editor.
EventRecorder
ESC indicates the end of the stream, unless no windows are showing, in which case it will cancel the recording.
isCellEditable(EventObject)
- Method in class junit.extensions.awt.editor.
XMLEditor
isCellEditable(EventObject)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
isCellEditable(int, int)
- Method in class junit.extensions.awt.editor.
ReferencesModel
isCellEditable(int, int)
- Method in class junit.extensions.awt.editor.
ScriptModel
isComponentSelected()
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Utility method showing whether a component node has been selected or not.
isEmpty()
- Method in class junit.extensions.awt.editor.
TestSelector
isFiltered(Component)
- Method in interface junit.extensions.awt.
ComponentFinder
Is the given component being filtered?
isFiltered(Component)
- Method in class junit.extensions.awt.
DefaultComponentFinder
isOpen(int)
- Method in class junit.extensions.awt.editor.
ScriptModel
Return whether the given row is "open".
isScript(File)
- Static method in class junit.extensions.awt.script.
Script
Return whether the given file looks like a valid AWT script.
isTestClass(String)
- Method in class junit.extensions.awt.
AWTTestCollector
isThreaded()
- Method in class junit.extensions.awt.script.
MethodInvocation
italic
- Variable in class example.
FontChooser
itemStateChanged(ItemEvent)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
itemStateChanged(ItemEvent)
- Method in class example.
FontChooser
J
JComboBoxTester
- class junit.extensions.awt.tester.
JComboBoxTester
.
JComboBoxTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JComboBoxTester
JComponentTester
- class junit.extensions.awt.tester.
JComponentTester
.
JComponentTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JComponentTester
JLabelTester
- class junit.extensions.awt.tester.
JLabelTester
.
JLabelTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JLabelTester
JListTester
- class junit.extensions.awt.tester.
JListTester
.
JListTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JListTester
JMenuItemTester
- class junit.extensions.awt.tester.
JMenuItemTester
.
JMenuItemTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JMenuItemTester
JPopupMenuTester
- class junit.extensions.awt.tester.
JPopupMenuTester
.
JPopupMenuTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JPopupMenuTester
JTableTester
- class junit.extensions.awt.tester.
JTableTester
.
JTableTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JTableTester
JTextComponentTester
- class junit.extensions.awt.tester.
JTextComponentTester
.
JTextComponentTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
JTextComponentTester
junit.extensions.awt
- package junit.extensions.awt
Provide testing support for Java GUIs under JUnit.
junit.extensions.awt.converter
- package junit.extensions.awt.converter
Provide explicit conversions from String to another class.
junit.extensions.awt.editor
- package junit.extensions.awt.editor
Provides support for editing AWT test scripts.
junit.extensions.awt.script
- package junit.extensions.awt.script
Provides basic elements for constructing a test script.
junit.extensions.awt.tester
- package junit.extensions.awt.tester
Provide component-specific actions and tests.
K
key(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Type the given keycode with no modifiers.
key(int, int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Type the given keycode with the given modifiers.
keyPress(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Send a key press event.
keyRelease(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Send a key release event.
keySelectTestClass(char)
- Method in class junit.extensions.awt.editor.
TestSelector
keyString(String)
- Method in class junit.extensions.awt.tester.
ComponentTester
Type the given string.
keyStroke(char)
- Method in class junit.extensions.awt.tester.
ComponentTester
Type the given character.
KeyStrokeRecorder
- class junit.extensions.awt.editor.
KeyStrokeRecorder
.
Record a key stroke (press and release).
KeyStrokeRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
KeyStrokeRecorder
Create a recorder for capturing mouse button clicks.
keyTyped(KeyEvent)
- Method in class junit.extensions.awt.editor.
TestSelector.KeySelectListener
L
Launch
- class junit.extensions.awt.script.
Launch
.
Provides scripted static method invocation.
launch()
- Method in class junit.extensions.awt.script.
MethodInvocation
Deferred evaluation of arguments allows us to refer to components that don't necessarily exist when the script is read in.
launch()
- Method in class junit.extensions.awt.script.
Script
Convenience function to run the first step of the script if it's a Launch step.
Launch(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Launch
Launch(Resolver, ComponentFinder, String, String, String, String[])
- Constructor for class junit.extensions.awt.script.
Launch
LEFT
- Static variable in class example.
ArrowButton
listeners
- Variable in class junit.extensions.awt.script.
Step
listeners
- Variable in class example.
ArrowButton
listeners
- Variable in class example.
NumberChooser
listeners
- Variable in class example.
FontChooser
load()
- Method in class junit.extensions.awt.script.
Script
Parse the script file and build internal structures.
M
main(String[])
- Static method in class junit.extensions.awt.editor.
ScriptEditor
Launch the script editor.
main(String[])
- Static method in class example.
MyCodeTest
main(String[])
- Static method in class example.
ArrowButton
Basic component unit test
main(String[])
- Static method in class example.
MyCode
main(String[])
- Static method in class example.
NumberChooser
main(String[])
- Static method in class example.
FontChooserTest
main(String[])
- Static method in class example.
FontChooser
Put up a frame containing a font chooser to make it easy for a script to play with.
main(String[])
- Static method in class test.
ComponentTesterTest
main(String[])
- Static method in class test.
StepTest
main(String[])
- Static method in class test.
ScriptEditorTest
Run the default test suite.
matches(Component)
- Method in class junit.extensions.awt.script.
ComponentReference
matchesKey(String, char)
- Static method in class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
maximum
- Variable in class example.
NumberChooser
MenuSelectionRecorder
- class junit.extensions.awt.editor.
MenuSelectionRecorder
.
Record a normal menu selection.
MenuSelectionRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
MenuSelectionRecorder
MethodInvocation
- class junit.extensions.awt.script.
MethodInvocation
.
Meta class for script steps that basically consist of a method invocation.
MethodInvocation(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
MethodInvocation
MethodInvocation(Resolver, ComponentFinder, String, String, String[])
- Constructor for class junit.extensions.awt.script.
MethodInvocation
MethodInvocation(Resolver, ComponentFinder, String, String, String[], boolean)
- Constructor for class junit.extensions.awt.script.
MethodInvocation
minimum
- Variable in class example.
NumberChooser
mouseClicked(MouseEvent)
- Method in class junit.extensions.awt.editor.
TestSelector.DoubleClickListener
mouseMove(Component)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Move the pointer to the center of the given component.
mouseMove(Component, int, int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Move the pointer to the given coordinates relative to the given component.
mouseMove(int, int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Move the mouse to the given location.
mousePress(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Send a button press event.
mouseRelease(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Send a button release event.
MyCode
- class example.
MyCode
.
MyCode()
- Constructor for class example.
MyCode
MyCodeTest
- class example.
MyCodeTest
.
Simple example of AWTTestCase.
MyCodeTest(String)
- Constructor for class example.
MyCodeTest
Name is the name of a script filename.
N
name
- Variable in class example.
FontChooser
NumberChooser
- class example.
NumberChooser
.
Pick a number, any number.
NumberChooser()
- Constructor for class example.
NumberChooser
NumberChooser(int, int, int)
- Constructor for class example.
NumberChooser
O
okSelected()
- Method in class junit.extensions.awt.editor.
TestSelector
oldDirection
- Variable in class example.
ArrowButton
oValue
- Variable in class example.
NumberChooser
P
paint(Graphics)
- Method in class junit.extensions.awt.editor.
ScriptTable
paint(Graphics)
- Method in class example.
ArrowButton
parent
- Variable in class junit.extensions.awt.editor.
ScriptModel.Entry
parseArgs(String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Convert the comma-separated list into individual strings.
parseAttributes(HashMap)
- Method in class junit.extensions.awt.script.
Step
parseChild(Element)
- Method in class junit.extensions.awt.script.
Sequence
parseChild(Element)
- Method in class junit.extensions.awt.script.
Script
parseChildren(Node)
- Method in class junit.extensions.awt.script.
Sequence
parser
- Static variable in class junit.extensions.awt.script.
Step
PopupMenuSelectionRecorder
- class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
.
Record a normal menu selection.
PopupMenuSelectionRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
processEvent(AWTEvent)
- Method in class junit.extensions.awt.editor.
ScriptEditor
This allows stuff triggered from the event queue to cause an exit, distinguishes such events from the application under test.
processMouseEvent(MouseEvent)
- Method in class example.
ArrowButton
propertyChange(PropertyChangeEvent)
- Method in class example.
FontChooser
R
record()
- Method in class junit.extensions.awt.editor.
Recorder
Record the GUI action.
Recorder
- class junit.extensions.awt.editor.
Recorder
.
Template for recording AWTEvents and converting them into a more semantic event.
Recorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
Recorder
Create a Recorder for use in capturing the semantics of a GUI action.
recordEvent(AWTEvent)
- Method in class junit.extensions.awt.editor.
Recorder
Verify the recording is still active prior to handling an event.
RecordingCanceledException
- exception junit.extensions.awt.editor.
RecordingCanceledException
.
RecordingCanceledException()
- Constructor for class junit.extensions.awt.editor.
RecordingCanceledException
RecordingCanceledException(String)
- Constructor for class junit.extensions.awt.editor.
RecordingCanceledException
recurse()
- Method in class junit.extensions.awt.
AWTTestSuite
Return whether to recurse into the base directory.
ReferencesModel
- class junit.extensions.awt.editor.
ReferencesModel
.
Formats a Script for display in a table.
ReferencesModel(ScriptEditor)
- Constructor for class junit.extensions.awt.editor.
ReferencesModel
removeActionListener(ActionListener)
- Method in class example.
ArrowButton
removePropertyChangeListener(PropertyChangeListener)
- Method in class example.
NumberChooser
removePropertyChangeListener(PropertyChangeListener)
- Method in class example.
FontChooser
removeStep(int)
- Method in class junit.extensions.awt.script.
Sequence
Removes the step at the given index in the sequence.
removeStep(Step)
- Method in class junit.extensions.awt.script.
Sequence
Removes the step if it exists in the sequence.
removeStepListener(StepListener)
- Method in class junit.extensions.awt.script.
Step
requestFocus()
- Method in class example.
NumberChooser
reset()
- Method in class test.
Timer
Set the start time to the current time.
resolve()
- Method in class junit.extensions.awt.script.
ComponentReference
resolve(String)
- Method in class junit.extensions.awt.script.
Step
Resolve the given name into a component.
resolveMethod()
- Method in class junit.extensions.awt.script.
MethodInvocation
The implementation of this method should invoke the defined resolveMethod with the appropriate arguments.
resolveMethod()
- Method in class junit.extensions.awt.script.
Assert
Resolve the method name to an actual method.
resolveMethod()
- Method in class junit.extensions.awt.script.
Action
Resolve the method name into its final form.
resolveMethod()
- Method in class junit.extensions.awt.script.
Launch
resolveMethod(String, Class, Class)
- Method in class junit.extensions.awt.script.
MethodInvocation
Look up the given method name in the given class.
Resolver
- interface junit.extensions.awt.
Resolver
.
Interface to support management of a set of component references.
resolveTester()
- Method in class junit.extensions.awt.script.
Step
Override this to provide a more specific tester.
resolveTester()
- Method in class junit.extensions.awt.script.
SendEvent
resolveTester()
- Method in class junit.extensions.awt.script.
Assert
Get the component tester appropriate for this step.
resolveTester()
- Method in class junit.extensions.awt.script.
Action
Get the component tester appropriate for this step.
RIGHT
- Static variable in class example.
ArrowButton
roller
- Static variable in class example.
ArrowButton
run()
- Method in class junit.extensions.awt.script.
Step
Main run method, which stores any failures or exceptions for later retrieval.
run()
- Method in class junit.extensions.awt.script.
Script
Make sure we've loaded before running.
runStep()
- Method in class junit.extensions.awt.script.
Step
Main run method, which stores any failures or exceptions for later retrieval.
runStep()
- Method in class junit.extensions.awt.script.
Sequence
Process each event in our list.
runStep()
- Method in class junit.extensions.awt.script.
MethodInvocation
runStep()
- Method in class junit.extensions.awt.script.
SendEvent
Send our event to the component's event queue.
runStep()
- Method in class junit.extensions.awt.script.
Assert
Run this step.
runStep()
- Method in class junit.extensions.awt.script.
Terminate
runTest()
- Method in class junit.extensions.awt.
AWTTestCase
Override the default TestCase runTest method to invoke the script.
S
save()
- Method in class junit.extensions.awt.script.
Script
Write the script to file.
Script
- class junit.extensions.awt.script.
Script
.
Provide a structure to encapsulate actions invoked on GUI components and tests performed on those components.
Script(ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Script
Create a script included from another.
Script(File, ComponentFinder)
- Constructor for class junit.extensions.awt.script.
Script
Create a script.
ScriptEditor
- class junit.extensions.awt.editor.
ScriptEditor
.
Costello, the editor for Abbot scripts.
ScriptEditor(String)
- Constructor for class junit.extensions.awt.editor.
ScriptEditor
ScriptEditorTest
- class test.
ScriptEditorTest
.
Simple test instance of AWTTestCase
ScriptEditorTest(String)
- Constructor for class test.
ScriptEditorTest
Construct a test case with the given name.
ScriptFilter
- class junit.extensions.awt.script.
ScriptFilter
.
ScriptFilter()
- Constructor for class junit.extensions.awt.script.
ScriptFilter
ScriptModel
- class junit.extensions.awt.editor.
ScriptModel
.
Formats a Script for display in a table.
ScriptModel.Entry
- class junit.extensions.awt.editor.
ScriptModel.Entry
.
Encapsulate information we need to manipulate the row.
ScriptModel.Entry(ScriptModel, Step, Sequence, int)
- Constructor for class junit.extensions.awt.editor.
ScriptModel.Entry
ScriptModel()
- Constructor for class junit.extensions.awt.editor.
ScriptModel
ScriptTable
- class junit.extensions.awt.editor.
ScriptTable
.
Provides a component to edit a test script.
ScriptTable(ScriptModel)
- Constructor for class junit.extensions.awt.editor.
ScriptTable
SendEvent
- class junit.extensions.awt.script.
SendEvent
.
Script step to send an AWT event to a component.
sendEvent(AWTEvent)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Send the given event as appropriate to the event-generation mode.
SendEvent(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
SendEvent
SendEvent(Resolver, ComponentFinder, String, AWTEvent)
- Constructor for class junit.extensions.awt.script.
SendEvent
Create one based on the given event.
Sequence
- class junit.extensions.awt.script.
Sequence
.
Script step which groups a sequence of other Steps.
Sequence(Resolver, ComponentFinder, Element, HashMap)
- Constructor for class junit.extensions.awt.script.
Sequence
Sequence(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Sequence
Sequence(Resolver, ComponentFinder, String, ArrayList)
- Constructor for class junit.extensions.awt.script.
Sequence
Create an aggregate from existing AWTEvents.
setClickCountToStart(int)
- Method in class junit.extensions.awt.editor.
XMLEditor
Specifies the number of clicks needed to start editing.
setColumns(int)
- Method in class example.
NumberChooser
setComponent(Component)
- Method in class junit.extensions.awt.editor.
ComponentPropertyModel
setCursorLocation(int)
- Method in class junit.extensions.awt.editor.
ScriptTable
setDescription(String)
- Method in class junit.extensions.awt.script.
Step
setDirection(String)
- Method in class example.
ArrowButton
setDocumentationProperties(String, String, String, String)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Install the given documentation properties.
setError(Throwable)
- Method in class junit.extensions.awt.script.
Step
setFailure(AssertionFailedError)
- Method in class junit.extensions.awt.script.
Step
setFile(File)
- Method in class junit.extensions.awt.script.
Script
setFilterEnabled(boolean)
- Method in interface junit.extensions.awt.
ComponentFinder
Indicate whether to filter component lists.
setFilterEnabled(boolean)
- Method in class junit.extensions.awt.
DefaultComponentFinder
setMaximum(int)
- Method in class example.
NumberChooser
setMinimum(int)
- Method in class example.
NumberChooser
setResolver(Resolver)
- Method in class junit.extensions.awt.editor.
Recorder
The context into which we add component references may change.
setRobotDelay(int)
- Static method in class junit.extensions.awt.tester.
ComponentTester
Allow this to be adjusted, mostly for testing.
setRowSelectionInterval(int, int)
- Method in class junit.extensions.awt.editor.
ScriptTable
setScript(Script)
- Method in class junit.extensions.awt.editor.
ScriptModel
Set the script to display.
setSelectedComponent(Component)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Sets the currently selected component.
setSelectedComponent(Component)
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Select the given component (and make it visible) in the current view.
setSelectedReference(ComponentReference, Component)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Indicate the reference currently in use, and the corresponding component.
setSpecifiedFont(Font)
- Method in class example.
FontChooser
setStatus(String)
- Method in class junit.extensions.awt.editor.
Recorder
Indicate the current recording state, so that the status may be displayed elsewhere.
setStatus(String)
- Method in class junit.extensions.awt.editor.
ScriptEditor
setStatus(String, int)
- Method in class junit.extensions.awt.editor.
ScriptEditor
Set the contents of the status message.
setStep(int)
- Method in class example.
NumberChooser
setStep(int, Step)
- Method in class junit.extensions.awt.script.
Sequence
Replaces the step at the given index.
setStopOnError(boolean)
- Method in class junit.extensions.awt.script.
Step
setStopOnFailure(boolean)
- Method in class junit.extensions.awt.script.
Step
setUp()
- Method in class test.
ComponentTesterTest
setValue(int)
- Method in class example.
NumberChooser
setValue(Object)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
setValueAt(Object, int, int)
- Method in class junit.extensions.awt.editor.
ReferencesModel
Assumes value is XML for a script step.
setValueAt(Object, int, int)
- Method in class junit.extensions.awt.editor.
ScriptModel
Assumes value is XML for a script step.
shouldSelectCell(EventObject)
- Method in class junit.extensions.awt.editor.
XMLEditor
shouldSelectCell(EventObject)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
shouldStop()
- Method in class junit.extensions.awt.editor.
Recorder
Override this to indicate when the recording whould terminate (not cancel.
shouldStop()
- Method in class junit.extensions.awt.editor.
TextRecorder
shouldStop()
- Method in class junit.extensions.awt.editor.
MenuSelectionRecorder
shouldStop()
- Method in class junit.extensions.awt.editor.
ButtonClickRecorder
shouldStop()
- Method in class junit.extensions.awt.editor.
PopupMenuSelectionRecorder
shouldStop()
- Method in class junit.extensions.awt.editor.
KeyStrokeRecorder
shouldStop()
- Method in class junit.extensions.awt.editor.
EventRecorder
The stop flag gets set when we've determined we should stop recording events.
shouldStop()
- Method in class junit.extensions.awt.editor.
AWTEventRecorder
simpleClassName(Class)
- Method in class junit.extensions.awt.editor.
Recorder
simpleClassName(Class)
- Method in class junit.extensions.awt.script.
Step
simpleClassName(Class)
- Static method in class junit.extensions.awt.tester.
ComponentTester
size
- Variable in class example.
FontChooser
SIZE
- Static variable in class example.
ArrowButton
size()
- Method in class junit.extensions.awt.script.
Sequence
Returns the number of steps contained in this one.
specifiedFont
- Variable in class example.
FontChooser
startCellEditing(EventObject)
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
stateChanged(ChangeEvent)
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Invoked when the tab changes.
stateChanged(StepEvent)
- Method in class junit.extensions.awt.editor.
ScriptModel
stateChanged(StepEvent)
- Method in class junit.extensions.awt.editor.
ScriptEditor
stateChanged(StepEvent)
- Method in class junit.extensions.awt.script.
Sequence
Propagate step changes to whomever is listening.
stateChanged(StepEvent)
- Method in interface junit.extensions.awt.script.
StepListener
step
- Variable in class junit.extensions.awt.editor.
ScriptModel.Entry
step
- Variable in class example.
NumberChooser
Step
- class junit.extensions.awt.script.
Step
.
Provides access to one step (line) from a script.
STEP_END
- Static variable in class junit.extensions.awt.script.
Step
The step has finished.
STEP_ERROR
- Static variable in class junit.extensions.awt.script.
Step
The step encountered an error.
STEP_FAILURE
- Static variable in class junit.extensions.awt.script.
Step
The step failed.
STEP_PROGRESS
- Static variable in class junit.extensions.awt.script.
Step
The step is N% complete.
STEP_START
- Static variable in class junit.extensions.awt.script.
Step
The step has begun executing.
Step(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Step
Step(Resolver, ComponentFinder, String)
- Constructor for class junit.extensions.awt.script.
Step
StepEvent
- class junit.extensions.awt.script.
StepEvent
.
StepEvent(Step, String, int)
- Constructor for class junit.extensions.awt.script.
StepEvent
StepListener
- interface junit.extensions.awt.script.
StepListener
.
Listener for script step feedback.
steps()
- Method in class junit.extensions.awt.script.
Sequence
Returns a list of the steps contained in this one.
StepTest
- class test.
StepTest
.
StepTest(String)
- Constructor for class test.
StepTest
stopCellEditing()
- Method in class junit.extensions.awt.editor.
XMLEditor
stopCellEditing()
- Method in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
stringContainsMatch(String, String)
- Static method in class junit.extensions.awt.
DefaultComponentFinder
Return whether there is a match for the given regular expression within the given string.
stringMatch(String, String)
- Method in interface junit.extensions.awt.
ComponentFinder
Return whether the given pattern matches the given string.
stringMatch(String, String)
- Method in class junit.extensions.awt.
DefaultComponentFinder
Return whether the given regular expression matches the given string exactly.
stringMatch(String, String)
- Method in class junit.extensions.awt.tester.
ComponentTester
suite()
- Static method in class junit.extensions.awt.
AWTTestCase
Return a suite of tests found in the current directory, recursing to subdirectories.
suite()
- Static method in class example.
MyCodeTest
Return the set of scripts we want to run.
suite()
- Static method in class example.
FontChooserTest
Provide a default test suite for this test case.
suite()
- Static method in class test.
ComponentTesterTest
Provide a default test suite for this test case.
suite()
- Static method in class test.
StepTest
Provide a default test suite for this test case.
suite()
- Static method in class test.
ScriptEditorTest
Return the full suite of this test case's variations.
T
TAG_ACTION
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_ARGS
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_ASSERT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_AWTTESTSCRIPT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_CLASS
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_COMPONENT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_COUNT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_DESC
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_EVENT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_FILENAME
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_ID
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_INVERT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_INVOKER
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_KEYCHAR
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_KEYCODE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_KIND
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_LAUNCH
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_METHOD
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_MODIFIERS
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_NAME
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_PARENT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_POLL_INTERVAL
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_SCRIPT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_SEQUENCE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_STOP_ON_ERROR
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_STOP_ON_FAILURE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TAG
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TERMINATE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_THREADED
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TIMEOUT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TITLE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TRIGGER
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_TYPE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_VALUE
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_WAIT
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_WINDOW
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_X
- Static variable in interface junit.extensions.awt.script.
Tags
TAG_Y
- Static variable in interface junit.extensions.awt.script.
Tags
Tags
- interface junit.extensions.awt.script.
Tags
.
tearDown()
- Method in class test.
ComponentTesterTest
Terminate
- class junit.extensions.awt.script.
Terminate
.
Provides scripted static method invocation.
terminate()
- Method in class junit.extensions.awt.script.
Script
Convenience function to run the last step of the script if it's a terminate step.
Terminate(Resolver, ComponentFinder, HashMap)
- Constructor for class junit.extensions.awt.script.
Terminate
Terminate(Resolver, ComponentFinder, String)
- Constructor for class junit.extensions.awt.script.
Terminate
test
- package test
TEST_NONE
- Static variable in class junit.extensions.awt.editor.
TestSelector
If the selected item is this value, then use no test case class.
testClick()
- Method in class test.
ComponentTesterTest
Test the component click action.
TestSelector
- class junit.extensions.awt.editor.
TestSelector
.
A test class selector.
TestSelector.DoubleClickListener
- class junit.extensions.awt.editor.
TestSelector.DoubleClickListener
.
TestSelector.DoubleClickListener(TestSelector)
- Constructor for class junit.extensions.awt.editor.
TestSelector.DoubleClickListener
TestSelector.KeySelectListener
- class junit.extensions.awt.editor.
TestSelector.KeySelectListener
.
TestSelector.KeySelectListener(TestSelector)
- Constructor for class junit.extensions.awt.editor.
TestSelector.KeySelectListener
TestSelector.TestCellRenderer
- class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
.
Renders TestFailures in a JList
TestSelector.TestCellRenderer()
- Constructor for class junit.extensions.awt.editor.
TestSelector.TestCellRenderer
TestSelector(Frame, TestCollector)
- Constructor for class junit.extensions.awt.editor.
TestSelector
TextRecorder
- class junit.extensions.awt.editor.
TextRecorder
.
TextRecorder(Resolver, ComponentFinder, ActionListener)
- Constructor for class junit.extensions.awt.editor.
TextRecorder
Record a series of keystrokes into a text component.
Timer
- class test.
Timer
.
Time and performance measurement utilities.
Timer()
- Constructor for class test.
Timer
Basic constructor which sets the timer base to the current time.
toggle(int)
- Method in class junit.extensions.awt.editor.
ScriptModel
Toggle the open state of the node, if it's a sequence.
toString()
- Method in class junit.extensions.awt.editor.
ComponentNode
toString()
- Method in class junit.extensions.awt.editor.
ScriptModel.Entry
toString()
- Method in class junit.extensions.awt.editor.
ScriptEditor
toString()
- Method in class junit.extensions.awt.script.
Step
Return a description of this script step.
toString()
- Method in class junit.extensions.awt.script.
Script
toString()
- Method in class junit.extensions.awt.script.
StepEvent
toString()
- Method in class junit.extensions.awt.script.
ComponentReference
toString(Object)
- Method in class junit.extensions.awt.script.
Assert
Print out arrays by individual element.
toXML()
- Method in class junit.extensions.awt.editor.
ScriptModel.Entry
toXML()
- Method in class junit.extensions.awt.script.
Step
Convert the object to XML.
toXML()
- Method in class junit.extensions.awt.script.
ComponentReference
toXML()
- Method in interface junit.extensions.awt.script.
XMLifiable
Provide an XML representation of the object.
U
up
- Variable in class example.
NumberChooser
UP
- Static variable in class example.
ArrowButton
update(Graphics)
- Method in class example.
ArrowButton
usage()
- Method in class junit.extensions.awt.script.
Step
Throw an invalid script exception describing the proper script usage.
usage(String)
- Method in class junit.extensions.awt.script.
Step
Throw an invalid script exception describing the proper script usage.
V
value
- Variable in class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
valueChanged(ListSelectionEvent)
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Called when a the reference list selection changes, and when the property list changes.
valueChanged(TreeSelectionEvent)
- Method in class junit.extensions.awt.editor.
ComponentBrowser
Called whenever the value of the component tree selection changes.
W
waitForIdle()
- Static method in class junit.extensions.awt.tester.
ComponentTester
Wait for an idle event queue.
WaitTimedOutError
- error junit.extensions.awt.script.
WaitTimedOutError
.
WaitTimedOutError()
- Constructor for class junit.extensions.awt.script.
WaitTimedOutError
WaitTimedOutError(String)
- Constructor for class junit.extensions.awt.script.
WaitTimedOutError
WindowTester
- class junit.extensions.awt.tester.
WindowTester
.
WindowTester(ComponentFinder)
- Constructor for class junit.extensions.awt.tester.
WindowTester
X
XMLEditor
- class junit.extensions.awt.editor.
XMLEditor
.
An editor for an XMLifiable object.
XMLEditor.EditorDelegate
- class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
.
XMLEditor.EditorDelegate(XMLEditor)
- Constructor for class junit.extensions.awt.editor.
XMLEditor.EditorDelegate
XMLEditor()
- Constructor for class junit.extensions.awt.editor.
XMLEditor
Constructs a XMLEditor that uses a text field.
XMLifiable
- interface junit.extensions.awt.script.
XMLifiable
.
<
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES