abbot.tester

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » abbot 1.0.1 » abbot.tester 
abbot.tester
Provide component-specific actions and tests. Each unique class of GUI component can have its own Tester class derived from {@link abbot.tester.ComponentTester}. This class provides any number of action methods which can exercise the various user semantic actions that the GUI component supports. For example, {@link abbot.tester.AbstractButtonTester} provides the {@link abbot.tester.AbstractButtonTester#actionClick(java.awt.Component)} 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, {@link abbot.tester.JPopupMenuTester} has a {@link abbot.tester.JPopupMenuTester#getMenuLabels(java.awt.Component)} method which returns the text of the menu items within it as an array of {@link java.lang.String}.

Keymaps

Provides maps between keystrokes and resulting typed characters, so that for any given key character, the keystroke required to produce it may be looked up. The maps are properties files where the keys are a combination of keycodes and modifiers. In the case of multiple keystrokes mapping to the same character, a modifier suffix of zero will take precedence over others, but otherwise you might get any valid keystroke which produces the character.

Each property key comprises a keycode represented by the suffix of {@link java.awt.event.KeyEvent}.VK_ constant, a period, and an integer modifier mask (0/shift, 1/control, 2/meta, or 8/alt). The value is either the hex value of the resulting character, or one of {illegal, system, untyped}. "Illegal" means an IllegalArgumentException is thrown if the value is used, "system" means that the key caused the key mapping application to lose keyboard focus, and "untyped" means that no keychar input was produced.

The name/value pairs in the keymap files are sorted to facilitate diffs. If keymaps differ for the same locale/OS, then non-producing values should take precedence over defined values, provided there exists at least one keystroke in the file for producing the given value. Only values defined across all keymaps for a given locale/OS should be used to avoid using any invalid keystrokes.

There is a keymap generator which generates these maps for the current locale and OS. @see abbot.tester.MapGenerator

Java Source File NameTypeComment
AbstractButtonTester.javaClass
AbstractButtonTesterTest.javaClass Unit test to verify the AbstractButtonTester class.

  • Test all exported actions.
ActionFailedException.javaClass Indicates that a ComponentTester action failed to execute properly.
AWTConstants.javaInterface Provides shared UI- and action-related constants.
ButtonTester.javaClass Provides Button activation support, since otherwise AWT buttons cannot be activated in AWT mode.
ButtonTesterTest.javaClass
CheckboxTester.javaClass Provides Checkbox activation support, since otherwise AWT buttons cannot be activated in AWT mode.
CheckboxTesterTest.javaClass
ChoiceTester.javaClass AWT Choice (ComboBox/picklist) support.
ChoiceTesterTest.javaClass
ComponentLocation.javaClass Provides encapsulation of a visible Component-relative location.
ComponentLocationTest.javaClass
ComponentMissingException.javaClass Indicates that a component required by a ComponentTester action was not found.
ComponentNotShowingException.javaClass Indicates that a ComponentTester action failed due to the component not being visible on screen.
ComponentTester.javaClass Provides basic programmatic operation of a Component and related UI objects such as windows, menus and menu bars throuh action methods. Also provides some useful assertions about properties of a Component .
ComponentTesterTest.javaClass Unit test to verify the base ComponentTester class.

  • Test all exported actions.
ContainerTester.javaClass Hierarchy placeholder for Container.
DialogTester.javaClass
DragLabel.javaClass
DropLabel.javaClass
DropTable.javaClass
DropTree.javaClass
FileComparator.javaClass Compare two files or filenames.
FileComparatorTest.javaClass Test FileComparator.
FileDialogTester.javaClass Tester for the java.awt.FileDialog.
author:
   Vrata Venet, European Space Agency, Madrid-Spain (av@iso.vilspa.esa.es)
author:
   Tim Wall (twall:users.sf.net)
author:
   NOTE: different platforms do different things when the dialog is hidden.
author:
   w32 returns null for the file if FileDialog.hide is invoked; other
author:
   platforms may leave the file as is.
FileDialogTesterTest.javaClass
FrameTester.javaClass
FrameTesterTest.javaClass
ImageComparator.javaClass This code expects the availability of the com.sun.image.codec.jpeg extensions from the Sun JDK 1.3 or JRE.
ImageComparatorTest.javaClass Test ImageComparator.
InputState.javaClass Class to keep track of a given input state.
InputStateTest.javaClass Verify proper operation of tracking input state.
JButtonTester.javaClass Provides action methods and assertions for JButton s.
JComboBoxTester.javaClass
JComboBoxTesterTest.javaClass
JComponentTester.javaClass Provides auto-scrolling prior to events for JComponent-derived classes.
JComponentTesterTest.javaClass
JFileChooserTester.javaClass Tester for the JFileChooser .
JFileChooserTesterTest.javaClass
JInternalFrameTester.javaClass
JInternalFrameTesterTest.javaClass
JLabelTester.javaClass Provides action methods and assertions for JLabel s.
JListLocation.javaClass Provides encapsulation of the location of a row on a JList (a coordinate, item index or value).
JListLocationTest.javaClass
JListTester.javaClass Provide actions and assertions for a JList component. The JList substructure is a "row", and JListLocation provides different identifiers for a row.
  • Select an item by index
  • Select an item by value (its string representation)
Note that JList uses "index" and "value" in its API.
JListTesterTest.javaClass
JMenuItemTester.javaClass Provide action methods and assertions for JMenuItem s.
JPopupMenuTester.javaClass Provides access to JPopupMenu contents.
JRootPaneTester.javaClass Hierarchy placeholder for JRootPane.
JScrollBarTester.javaClass Provides user actions on a JScrollPane.
JScrollBarTesterTest.javaClass
JSliderTester.javaClass Provides access to all user actions on a JSlider.
JSliderTesterTest.javaClass
JSpinnerTester.javaClass Provides access to all user actions on a JSpinner.
JSpinnerTesterTest.javaClass
JSplitPaneTester.javaClass Provides user actions on a JSplitPane.
JSplitPaneTesterTest.javaClass
JTabbedPaneLocation.javaClass Provides encapsulation of a location on a JTabbedPane (notably a tab). Use the JTabbedPaneLocation#JTabbedPaneLocation(Point) ctor to indicate a specific coordinate.
JTabbedPaneLocationTest.javaClass
JTabbedPaneTester.javaClass Provides user actions on a JTabbedPane.
JTabbedPaneTesterTest.javaClass
JTableHeaderLocation.javaClass Provides encapsulation of the location of a col on a JTableHeader (a coordinate, item index or value).
JTableHeaderLocationTest.javaClass
JTableHeaderTester.javaClass Provide table header location support, mostly.
JTableLocation.javaClass Provides encapsulation of a location on a JTable (notably a row). Use the JTableLocation#JTableLocation(Point) ctor to indicate a specific coordinate.
JTableLocationTest.javaClass
JTableTester.javaClass Provide user actions on a JTable.
JTableTesterTest.javaClass
JTextComponentTester.javaClass Provides actions and assertions JTextComponent -based components.
JTextComponentTesterTest.javaClass
JTextFieldTester.javaClass Provides actions and assertions JTextField -based components.
JTextFieldTesterTest.javaClass
JToolBarTester.javaClass
JToolBarTesterTest.javaClass
JTreeLocation.javaClass Provides encapsulation of a visible location on a JTree . A row index or a String ified TreePath (i.e.
JTreeLocationTest.javaClass
JTreeTester.javaClass Provide operations on a JTree component. The JTree substructure is a "row", and JTreeLocation provides different identifiers for a row.
  • Select an item by row index
  • Select an item by tree path (the string representation of the full path).
JTreeTesterTest.javaClass
KeyStrokeMap.javaClass Provides read of local-specific mappings for virtual keycode-based KeyStrokes to characters and vice versa.
KeyStrokeMapProvider.javaInterface Provides read/write of local-specific mappings for virtual keycode-based KeyStrokes to characters and vice versa.
KeyStrokeMapTest.javaClass Unit test to verify basic key stroke mappings.
ListLocation.javaClass Provides encapsulation of the location of a row on a List (a coordinate, item index or value).
ListTester.javaClass Provides actions for java.awt.List.
ListTesterTest.javaClass
LocationUnavailableException.javaClass Indicates that a location can't be provided.
MapGenerator.javaClass Provides read/write of locale-specific mappings for virtual keycode-based KeyStrokes to characters and vice versa.
MapGeneratorTest.javaClass
Robot.javaClass Provide a higher level of abstraction for user input (A Better Robot). The Robot's operation may be affected by the following properties:
abbot.robot.auto_delay

Set this to a value representing the millisecond count in between generated events.
RobotAppletTest.javaClass
RobotAWTModeTest.javaClass
RobotDragDropTest.javaClass Unit test to verify Robot drag/drop operation.
RobotTest.javaClass Unit test to verify Robot operation.
RobotVerifier.javaClass Provides methods to verify that the robot on the current platform works properly.
TextComponentTester.javaClass Provides user actions for TextComponent-derived components.
TextComponentTesterTest.javaClass
WindowTester.javaClass Provides user actions on a Window.
WindowTracker.javaClass Keep track of all known root windows, and all known showing/hidden/closed windows.
WindowTrackerTest.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.