public class GriffonTestFXRule extends TestFX implements MethodRule
Modifier and Type | Field and Description |
---|---|
protected JavaFXGriffonApplication |
application |
protected Class<? extends TestJavaFXGriffonApplication> |
applicationClass |
protected String[] |
startupArgs |
protected org.awaitility.Duration |
timeout |
protected String |
windowName |
Constructor and Description |
---|
GriffonTestFXRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName) |
GriffonTestFXRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
org.awaitility.Duration timeout) |
GriffonTestFXRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
org.awaitility.Duration timeout,
String[] startupArgs) |
GriffonTestFXRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
String[] startupArgs) |
GriffonTestFXRule(String windowName) |
GriffonTestFXRule(String windowName,
org.awaitility.Duration timeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
after(JavaFXGriffonApplication application,
Object target) |
Statement |
apply(Statement base,
FrameworkMethod method,
Object target) |
protected void |
before(JavaFXGriffonApplication application,
Object target) |
protected void |
initialize(Object target) |
<W extends Window> |
managedWindow(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, 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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, moveBy, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, offset, offset, offset, offset, offset, offset, offset, offset, offset, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn
protected final String windowName
protected final org.awaitility.Duration timeout
protected final String[] startupArgs
protected final Class<? extends TestJavaFXGriffonApplication> applicationClass
protected JavaFXGriffonApplication application
public GriffonTestFXRule(@Nonnull String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName)
public GriffonTestFXRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName, @Nonnull String[] startupArgs)
public Statement apply(Statement base, FrameworkMethod method, Object target)
apply
in interface MethodRule
protected void initialize(Object target)
protected void before(@Nonnull JavaFXGriffonApplication application, @Nonnull Object target)
protected void after(@Nonnull JavaFXGriffonApplication application, @Nonnull Object target)