()
| 43 | } |
| 44 | |
| 45 | public static void assertIsJavaFXThread() |
| 46 | { |
| 47 | if (!Platform.isFxApplicationThread()) |
| 48 | { |
| 49 | throw new WrongThreadException( |
| 50 | "expected to be on JavaFX thread - actually on: " + Thread.currentThread().getName()); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | public static void assertIsNotJavaFXThread() |
| 55 | { |
no test coverage detected