Package | Description |
---|---|
org.assertj.swing.driver |
Component -specific test drivers. |
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
org.assertj.swing.timing |
Utilities related to timing.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentDriver.requireEnabled(Component c,
Timeout timeout)
Asserts that the AWT or Swing
Component is enabled. |
void |
JProgressBarDriver.waitUntilIsDeterminate(JProgressBar progressBar,
Timeout timeout)
Waits until the value of the given
JProgressBar is in determinate mode. |
void |
JProgressBarDriver.waitUntilValueIs(JProgressBar progressBar,
int value,
Timeout timeout)
Waits until the value of the given
JProgressBar is equal to the given value. |
Modifier and Type | Method and Description |
---|---|
Timeout |
AbstractContainerFixture.defaultDialogLookupTimeout() |
Timeout |
ComponentContainerFixture.defaultDialogLookupTimeout() |
Modifier and Type | Method and Description |
---|---|
DialogFixture |
AbstractContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout) |
DialogFixture |
ComponentContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Finds a
Dialog that matches the specified search criteria. |
DialogFixture |
AbstractContainerFixture.dialog(String name,
Timeout timeout) |
DialogFixture |
ComponentContainerFixture.dialog(String name,
Timeout timeout)
Finds a
Dialog with a name matching the specified one. |
DialogFixture |
AbstractContainerFixture.dialog(Timeout timeout) |
DialogFixture |
ComponentContainerFixture.dialog(Timeout timeout)
Returns the only
Dialog currently available (if any). |
JFileChooserFixture |
AbstractContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout) |
JFileChooserFixture |
ComponentContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
Finds a
JFileChooser that matches the specified search criteria. |
JFileChooserFixture |
AbstractContainerFixture.fileChooser(String name,
Timeout timeout) |
JFileChooserFixture |
ComponentContainerFixture.fileChooser(String name,
Timeout timeout)
Finds a
JFileChooser with a name matching the specified one. |
JFileChooserFixture |
AbstractContainerFixture.fileChooser(Timeout timeout) |
JFileChooserFixture |
ComponentContainerFixture.fileChooser(Timeout timeout)
Returns the only
JFileChooser currently available (if any). |
JOptionPaneFixture |
AbstractContainerFixture.optionPane(Timeout timeout) |
JOptionPaneFixture |
ComponentContainerFixture.optionPane(Timeout timeout)
Returns the only
JOptionPane currently available (if any). |
S |
AbstractComponentFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
Component is enabled. |
JProgressBarFixture |
JProgressBarFixture.waitUntilIsDeterminate(Timeout timeout)
Waits until the value of this fixture's
JProgressBar is in determinate mode. |
JProgressBarFixture |
JProgressBarFixture.waitUntilValueIs(int value,
Timeout timeout)
Waits until the value of this fixture's
JProgressBar is equal to the given value. |
Modifier and Type | Method and Description |
---|---|
static Timeout |
Timeout.timeout()
Creates a new
Timeout with default duration. |
static Timeout |
Timeout.timeout(long duration)
Creates a new
Timeout . |
static Timeout |
Timeout.timeout(long duration,
TimeUnit timeUnit)
Creates a new
Timeout . |
Modifier and Type | Method and Description |
---|---|
static void |
Pause.pause(Condition[] conditions,
Timeout timeout)
Waits until the given conditions are satisfied.
|
static void |
Pause.pause(Condition condition,
Timeout timeout)
Waits until the given condition is satisfied.
|
Copyright © 2014–2019 AssertJ. All rights reserved.