public class GriffonTestFXClassRule extends TestFX implements TestRule
FunctionalJavaFXRunner
.FunctionalJavaFXRunner
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 |
---|
GriffonTestFXClassRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName) |
GriffonTestFXClassRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
org.awaitility.Duration timeout) |
GriffonTestFXClassRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
org.awaitility.Duration timeout,
String[] startupArgs) |
GriffonTestFXClassRule(Class<? extends TestJavaFXGriffonApplication> applicationClass,
String windowName,
String[] startupArgs) |
GriffonTestFXClassRule(String windowName) |
GriffonTestFXClassRule(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(Object target) |
<W extends Window> |
managedWindow(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, 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 GriffonTestFXClassRule(@Nonnull String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXClassRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName)
public GriffonTestFXClassRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName, @Nonnull org.awaitility.Duration timeout)
public GriffonTestFXClassRule(@Nonnull Class<? extends TestJavaFXGriffonApplication> applicationClass, @Nonnull String windowName, @Nonnull String[] startupArgs)
public void setup()
public void cleanup()
public Statement apply(Statement base, Description description)
public boolean hasFailures()
public void setFailures(boolean failures)
protected void initialize()