modules/graphics/src/test/java/com/sun/javafx/scene/KeyboardShortcutsTest.java

Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation

*** 23,32 **** --- 23,33 ---- * questions. */ package com.sun.javafx.scene; + import com.sun.javafx.FXUnit; import javafx.collections.ObservableList; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyCodeCombination;
*** 35,53 **** --- 36,58 ---- import javafx.scene.text.Text; import javafx.stage.Stage; import org.junit.After; import org.junit.Before; + import org.junit.Rule; import org.junit.Test; import static org.junit.Assert.assertTrue; /* ** Test keyboard shortcuts. */ public final class KeyboardShortcutsTest { + @Rule + public final FXUnit fx = new FXUnit(); + private Stage stage; private Scene scene; @Before public void setUp() {