Class JavaFXThreadingRule
- java.lang.Object
-
- ch.sahits.game.openpatrician.testutilities.JavaFXThreadingRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class JavaFXThreadingRule extends java.lang.Object implements org.junit.rules.TestRuleA JUnitRulefor running tests on the JavaFX thread and performing JavaFX initialisation. To include in your test case, add the following code:@Rule public JavaFXThreadingRule jfxRule = new JavaFXThreadingRule();
- Author:
- Andy Till
-
-
Constructor Summary
Constructors Constructor Description JavaFXThreadingRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
-