modules/graphics/src/test/java/javafx/scene/FocusTest.java

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

*** 24,33 **** --- 24,34 ---- */ package javafx.scene; + import com.sun.javafx.FXUnit; import com.sun.javafx.pgstub.StubScene; import com.sun.javafx.pgstub.StubToolkit; import com.sun.javafx.tk.Toolkit; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse;
*** 46,59 **** --- 47,64 ---- import javafx.scene.shape.Rectangle; import javafx.stage.Stage; import org.junit.After; import org.junit.Before; + import org.junit.Rule; import org.junit.Test; public class FocusTest { + @Rule + public FXUnit fx = new FXUnit(); + private Stage stage; private Scene scene; private List<Node> nodes; private int nodeIndex; private StubToolkit toolkit;