public class TestFXRule
extends org.junit.rules.TestWatcher
The rule can be used by adding a @Rule annotated field to your
test class:
public class MyTest extends ApplicationTest {
{@literal @}Rule public TestFXRule testFXRule = new TestFXRule();| Constructor and Description |
|---|
TestFXRule() |
TestFXRule(int retryCount) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
starting(org.junit.runner.Description description) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleapply in class org.junit.rules.TestWatcherprotected void starting(org.junit.runner.Description description)
starting in class org.junit.rules.TestWatcher