public class GriffonTestFXClassRule extends TestFX implements TestRule
FunctionalJavaFXRunner
.FunctionalJavaFXRunner
Modifier and Type | Field and Description |
---|---|
protected JavaFXGriffonApplication |
application |
protected java.lang.Class<? extends TestJavaFXGriffonApplication> |
applicationClass |
protected java.lang.String[] |
startupArgs |
protected org.awaitility.Duration |
timeout |
protected java.lang.String |
windowName |
Constructor and Description |
---|
GriffonTestFXClassRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName) |
GriffonTestFXClassRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
org.awaitility.Duration timeout) |
GriffonTestFXClassRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
org.awaitility.Duration timeout,
java.lang.String[] startupArgs) |
GriffonTestFXClassRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
java.lang.String[] startupArgs) |
GriffonTestFXClassRule(java.lang.String windowName) |
GriffonTestFXClassRule(java.lang.String windowName,
org.awaitility.Duration timeout) |
Modifier and Type | Method and Description |
---|---|
Statement |
apply(Statement base,
Description description) |
void |
cleanup() |
boolean |
hasFailures() |
protected void |
initialize() |
void |
injectMembers(java.lang.Object target) |
<W extends javafx.stage.Window> |
managedWindow(java.lang.String name) |
void |
setFailures(boolean failures) |
void |
setup() |
bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, capture, capture, capture, capture, capture, capture, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, closeCurrentWindow, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drop, dropBy, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, eraseText, from, from, from, fromAll, interact, interact, interactNoWait, interactNoWait, interrupt, interrupt, listTargetWindows, listWindows, lookup, lookup, lookup, moveBy, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, offset, offset, offset, offset, offset, offset, offset, offset, point, point, point, point, point, point, point, point, point, press, press, push, push, release, release, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, robotContext, rootNode, rootNode, rootNode, scroll, scroll, scroll, scroll, scroll, sleep, sleep, targetPos, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, type, type, window, window, window, window, window, window, write, write
protected java.lang.String windowName
protected org.awaitility.Duration timeout
protected java.lang.String[] startupArgs
protected java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass
protected JavaFXGriffonApplication application
public GriffonTestFXClassRule(@Nonnull java.lang.String windowName)
public GriffonTestFXClassRule(@Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXClassRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName)
public GriffonTestFXClassRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXClassRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull java.lang.String[] startupArgs)
public GriffonTestFXClassRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout, @Nonnull java.lang.String[] startupArgs)
public void setup()
public void cleanup()
public Statement apply(Statement base, Description description)
public void injectMembers(@Nonnull java.lang.Object target)
public boolean hasFailures()
public void setFailures(boolean failures)
@Nullable public <W extends javafx.stage.Window> W managedWindow(@Nonnull java.lang.String name)
protected void initialize()