File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
src/test/java/io/reactivex/rxjavafx Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,13 @@ public void start(Stage primaryStage) throws Exception {
5858 }
5959 }
6060
61- @ BeforeClass
62- public static void initJFX () {
63- javafx .application .Platform .startup (() ->{});
64- }
61+ @ BeforeClass
62+ public static void initJFX () {
63+ try {
64+ javafx .application .Platform .startup (() ->{});
65+ }catch (final IllegalStateException ignore ) {
66+ }
67+ }
6568
6669 @ Test
6770 public void testPeriodicScheduling () throws Exception {
Original file line number Diff line number Diff line change 3636
3737public final class JavaFxObservableTest {
3838
39+ @ BeforeClass
40+ public static void initJFX () {
41+ try {
42+ javafx .application .Platform .startup (() ->{});
43+ }catch (final IllegalStateException ignore ) {
44+ }
45+ }
46+
3947 @ Test
4048 public void testIntervalSource () {
4149
You can’t perform that action at this time.
0 commit comments