Package abbot.tester

Provide component-specific actions and tests.

See:
          Description

Interface Summary
KeyStrokeMapGenerator Provides read/write of local-specific mappings for virtual keycode-based KeyStrokes to characters and vice versa.
 

Class Summary
AbstractButtonTester  
BugChecker Provides automated checking for known OS/VM bugs related to the Robot.
ButtonTester Provides Button activation support, since otherwise AWT buttons cannot be activated in AWT mode.
CheckboxTester Provides Checkbox activation support, since otherwise AWT buttons cannot be activated in AWT mode.
ChoiceTester AWT Choice (ComboBox) support.
ComponentLocation Provides encapsulation of a Component-relative location.
ComponentTester Provides basic programmatic operation of a Component.
ContainerTester  
DialogTester  
FileComparator Compare two files or filenames.
FileDialogTester Tester for the java.awt.FileDialog.
FrameTester  
ImageComparator This code expects the availability of the com.sun.image.codec.jpeg extensions from the Sun JDK 1.3 or JRE.
InputState Class to keep track of a given input state.
JComboBoxTester  
JComponentTester Provides auto-scrolling prior to events for JComponent-derived classes.
JFileChooserTester Tester for the javax.swing.JFileChooser.
JInternalFrameTester  
JLabelTester  
JListLocation Provides encapsulation of the location of a row on a JList (a coordinate, item index or value).
JListTester Provide actions and assertions for a JList component.
JMenuItemTester  
JPopupMenuTester  
JRootPaneTester  
JSliderTester Provides access to all user actions on a JSlider.
JSpinnerTester Provides access to all user actions on a JSpinner.
JTabbedPaneLocation Provides encapsulation of a location on a JTabbedPane (notably a tab).
JTabbedPaneTester  
JTableHeaderLocation Provides encapsulation of the location of a col on a JTableHeader (a coordinate, item index or value).
JTableHeaderTester Provide table header location support, mostly.
JTableLocation Provides encapsulation of a location on a JTable (notably a row).
JTableLocation.Cell  
JTableTester Provide user actions on a JTable.
JTextComponentTester  
JTreeLocation Provides encapsulation of a location on a JTree.
JTreeTester Provide operations on a JTree component.
KeyStrokeMap Map characters to the keycodes (and modifiers) required to generate them.
Robot Provide a higher level of abstraction for user input (A Better Robot).
RobotVerifier  
WindowTester  
WindowTracker Keep track of all known root windows, and all known showing/hidden/closed windows.
 

Exception Summary
ActionFailedException Indicates that a ComponentTester action failed to execute properly.
ComponentMissingException Indicates that a component required by a ComponentTester action was not found.
ComponentNotShowingException Indicates that a ComponentTester action failed due to the component not being visible on screen.
LocationUnavailableException Indicates that a location can't be provided.
 

Package abbot.tester Description

Provide component-specific actions and tests. Each unique class of GUI component can have its own Tester class derived from ComponentTester. This class provides any number of action methods which can exercise the various user semantic actions that the GUI component supports. For example, AbstractButtonTester provides the actionClick method to perform a button click. The Tester may also provide bean-like is/get methods to facilitate access to component properties that might not otherwise be readily available as a property. For example, JPopupMenuTester has a getMenuLabels method which returns the text of the menu items within it as an array of String.



Copyright © 2002-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge