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

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

@@ -23,10 +23,11 @@
  * questions.
  */
 
 package javafx.scene;
 
+import com.sun.javafx.FXUnit;
 import javafx.collections.ObservableList;
 import com.sun.javafx.geom.BaseBounds;
 import com.sun.javafx.geom.transform.BaseTransform;
 import com.sun.javafx.jmx.MXNodeAlgorithm;
 import com.sun.javafx.jmx.MXNodeAlgorithmContext;

@@ -61,10 +62,14 @@
  * child's parent
  * child's scene
  */
 
 public class StructureTest {
+
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     @Rule
     public ExpectedException thrown = ExpectedException.none();
 
     // TODO:
     //  - various nasty observableArrayList updates to Group.content and Scene.content.