public class GriffonTestFXRule extends TestFX implements MethodRule
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 |
---|
GriffonTestFXRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName) |
GriffonTestFXRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
org.awaitility.Duration timeout) |
GriffonTestFXRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
org.awaitility.Duration timeout,
java.lang.String[] startupArgs) |
GriffonTestFXRule(java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass,
java.lang.String windowName,
java.lang.String[] startupArgs) |
GriffonTestFXRule(java.lang.String windowName) |
GriffonTestFXRule(java.lang.String windowName,
org.awaitility.Duration timeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
after(JavaFXGriffonApplication application,
java.lang.Object target) |
Statement |
apply(Statement base,
FrameworkMethod method,
java.lang.Object target) |
protected void |
before(JavaFXGriffonApplication application,
java.lang.Object target) |
protected void |
initialize(java.lang.Object target) |
<W extends javafx.stage.Window> |
managedWindow(java.lang.String name) |
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 GriffonTestFXRule(@Nonnull java.lang.String windowName)
public GriffonTestFXRule(@Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName)
public GriffonTestFXRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull java.lang.String[] startupArgs)
public GriffonTestFXRule(@Nonnull java.lang.Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull java.lang.String windowName, @Nonnull org.awaitility.Duration timeout, @Nonnull java.lang.String[] startupArgs)
public Statement apply(Statement base, FrameworkMethod method, java.lang.Object target)
apply
in interface MethodRule
protected void initialize(java.lang.Object target)
protected void before(@Nonnull JavaFXGriffonApplication application, @Nonnull java.lang.Object target) throws java.lang.Throwable
java.lang.Throwable
protected void after(@Nonnull JavaFXGriffonApplication application, @Nonnull java.lang.Object target) throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutException
@Nullable public <W extends javafx.stage.Window> W managedWindow(@Nonnull java.lang.String name)