public class JavaFXInterceptorUtils
extends java.lang.Object
@Test statements are executed
in the JavaFX UI thread. This is (strictly) necessary when testing setter
and/or getter methods of JavaFX classes (ie. Node derived, properties etc).
Use the
@ExtendWith(avaFxInterceptor.class) if all @Test, or
@ExtendWith(SelectiveJavaFxInterceptor.class) if only @Test
+ @TestFx annotated tests
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaFXInterceptorUtils.JavaFxInterceptor
Simple JUnit 5 extension to ensure that
@Test statements are executed
in the JavaFX UI thread. |
static class |
JavaFXInterceptorUtils.SelectiveJavaFxInterceptor
Simple JUnit 5 extension to ensure that
@Test statements are executed
in the JavaFX UI thread. |
| Constructor and Description |
|---|
JavaFXInterceptorUtils() |