public class FxJUnit4Runner
extends org.junit.runners.BlockJUnit4ClassRunner
RunInFxThread
in
FX application thread
.Constructor and Description |
---|
FxJUnit4Runner(Class<?> clazz)
Creates a new JUnit runner that initializes the JavaFX environment.
|
Modifier and Type | Method and Description |
---|---|
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public FxJUnit4Runner(Class<?> clazz) throws org.junit.runners.model.InitializationError
clazz
- the class under testorg.junit.runners.model.InitializationError
- if the test class is malformedFxInitializer.initialize()
Copyright © 2019 CERN. All rights reserved.