Package org.assertj.swing.core

Low-level components that enable functional testing of AWT and Swing Components.

See:
          Description

Interface Summary
ComponentFinder Looks up AWT and Swing Components based on different search criteria, such as a Component's name, type or label, and custom search criteria as well.
ComponentMatcher Indicates whether an AWT or Swing Component matches some desired criteria.
ComponentPrinter Sends the String representation of AWT and Swing Components to a java.io.PrintStream, to facilitate debugging.
ResettableComponentMatcher ComponentMatcher whose internal state can be reset.
Robot Simulates user input on an AWT or Swing Component.
 

Class Summary
AbstractComponentMatcher Template for implementations of ResettableComponentMatcher.
BasicComponentFinder Default implementation of ComponentFinder.
BasicComponentPrinter Default implementation of ComponentPrinter.
BasicRobot Default implementation of Robot.
ComponentDragAndDrop Simulates a user performing drag-and-drop.
ComponentFoundCondition Condition that is satisfied if an AWT or Swing Component that matches certain search criteria is found.
EdtSafeCondition Condition that is evaluated in the event dispatch thread (EDT.)
EmergencyAbortListener An escape valve for users to abort a running FEST-Swing test by pressing 'Ctrl + Shift + A'.
FocusOwnerFinder Finds the AWT or Swing Component owning the input focus.
GenericTypeMatcher<T extends Component> ComponentMatcher that matches an AWT or Swing Component by type and some custom search criteria.
KeyPressInfo Information about a key (from the keyboard) to press.
LabelMatcher Matches an AWT or Swing Component by the text of the associated JLabel and (optionally) by type.
MouseClickInfo Information about a mouse button to click.
NameMatcher Matches an AWT or Swing Component by name and (optionally) by type.
Scrolling Utility methods related to scrolling.
Settings FEST-Swing configuration settings.
SimpleFallbackExceptionHandler Exception handler for the AWT event thread, to make sure we can get a back-trace dump when running FEST-Swing are terminated by a EmergencyAbortListener.
TypeMatcher Matches AWT or Swing Components by type.
WindowAncestorFinder Looks up an AWT or Swing Component's Window ancestor.
 

Enum Summary
ComponentLookupScope Scopes of AWT or Swing Component lookups.
MouseButton Mouse buttons.
 

Package org.assertj.swing.core Description

Low-level components that enable functional testing of AWT and Swing Components.

Most of the classes of in this packages were adapted from Abbot. Many thanks to Timothy Wall for allowing us to use them.

Author:
Alex Ruiz


Copyright © 2014–2015 AssertJ. All rights reserved.