Package | Description |
---|---|
org.assertj.swing.core |
Low-level components that enable functional testing of AWT and Swing
Component s. |
org.assertj.swing.driver |
Component -specific test drivers. |
org.assertj.swing.finder |
Utilities for finding
Component s. |
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
org.assertj.swing.testing |
Base test classes.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicRobot
Default implementation of
Robot . |
Modifier and Type | Method and Description |
---|---|
static Robot |
BasicRobot.robotWithCurrentAwtHierarchy()
Creates a new
Robot that has access to all the AWT and Swing Component s in the AWT hierarchy. |
static Robot |
BasicRobot.robotWithCurrentAwtHierarchyWithoutScreenLock() |
static Robot |
BasicRobot.robotWithNewAwtHierarchy()
Creates a new
Robot with a new AWT hierarchy. |
static Robot |
BasicRobot.robotWithNewAwtHierarchyWithoutScreenLock() |
Modifier and Type | Method and Description |
---|---|
static void |
Scrolling.scrollToVisible(Robot robot,
JComponent c)
Scrolls a
JComponent into view within a container. |
Constructor and Description |
---|
ComponentDragAndDrop(Robot robot)
Creates a new
ComponentDragAndDrop . |
Modifier and Type | Field and Description |
---|---|
protected Robot |
AbstractJTableCellWriter.robot |
protected Robot |
ComponentDriver.robot |
Modifier and Type | Method and Description |
---|---|
protected T |
ComponentFinderTemplate.findComponentWith(Robot robot)
Finds the component using either by name or type.
|
abstract AbstractWindowFixture<?,T,?> |
WindowFinderTemplate.using(Robot robot)
Finds a
Window by name or type using the given robot. |
FrameFixture |
FrameFinder.using(Robot robot)
Finds a
Frame by name or type. |
abstract AbstractComponentFixture<?,T,?> |
ComponentFinderTemplate.using(Robot robot)
Finds a component by name or type using the given robot.
|
DialogFixture |
DialogFinder.using(Robot robot)
Finds a
Dialog by name or type. |
JFileChooserFixture |
JFileChooserFinder.using(Robot robot)
Finds a
JFileChooser by name or type. |
JOptionPaneFixture |
JOptionPaneFinder.using(Robot robot)
Finds a
JOptionPane by name or type. |
Modifier and Type | Method and Description |
---|---|
Robot |
AbstractComponentFixture.robot() |
Modifier and Type | Method and Description |
---|---|
protected JTextComponentDriver |
JTextComponentFixture.createDriver(Robot robot) |
protected JSliderDriver |
JSliderFixture.createDriver(Robot robot) |
protected abstract D |
AbstractComponentFixture.createDriver(Robot robot) |
protected FrameDriver |
FrameFixture.createDriver(Robot robot) |
protected JPopupMenuDriver |
JPopupMenuFixture.createDriver(Robot robot) |
protected DialogDriver |
DialogFixture.createDriver(Robot robot) |
protected JInternalFrameDriver |
JInternalFrameFixture.createDriver(Robot robot) |
protected JLabelDriver |
JLabelFixture.createDriver(Robot robot) |
protected JMenuItemDriver |
JMenuItemFixture.createDriver(Robot robot) |
protected AbstractButtonDriver |
AbstractButtonFixture.createDriver(Robot robot) |
protected JTreeDriver |
JTreeFixture.createDriver(Robot robot) |
protected JSpinnerDriver |
JSpinnerFixture.createDriver(Robot robot) |
protected JComponentDriver |
JPanelFixture.createDriver(Robot robot) |
protected JListDriver |
JListFixture.createDriver(Robot robot) |
protected JOptionPaneDriver |
JOptionPaneFixture.createDriver(Robot robot) |
protected JTableDriver |
JTableFixture.createDriver(Robot robot) |
protected JProgressBarDriver |
JProgressBarFixture.createDriver(Robot robot) |
protected JScrollPaneDriver |
JScrollPaneFixture.createDriver(Robot robot) |
protected JFileChooserDriver |
JFileChooserFixture.createDriver(Robot robot) |
protected JTabbedPaneDriver |
JTabbedPaneFixture.createDriver(Robot robot) |
protected JToolBarDriver |
JToolBarFixture.createDriver(Robot robot) |
protected JTableHeaderDriver |
JTableHeaderFixture.createDriver(Robot robot) |
protected JComboBoxDriver |
JComboBoxFixture.createDriver(Robot robot) |
protected JSplitPaneDriver |
JSplitPaneFixture.createDriver(Robot robot) |
protected JScrollBarDriver |
JScrollBarFixture.createDriver(Robot robot) |
abstract F |
ComponentFixtureExtension.createFixture(Robot robot,
Container root)
Creates a new
AbstractComponentFixture . |
static FrameFixture |
Containers.frameFixtureFor(Robot robot,
Container contentPane)
Creates a new
JFrame and uses the given Container as its content pane. |
static FrameFixture |
Containers.showInFrame(Robot robot,
Container contentPane)
Creates a new
JFrame and uses the given Container as its content pane. |
Modifier and Type | Method and Description |
---|---|
protected Robot |
AssertJSwingTestCaseTemplate.robot() |
Copyright © 2014–2019 AssertJ. All rights reserved.