modules/graphics/src/test/java/javafx/scene/NodeTest.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 com.sun.javafx.geom.BoxBounds;
 import com.sun.javafx.geom.PickRay;
 import com.sun.javafx.geom.transform.Affine2D;
 import com.sun.javafx.geom.transform.Affine3D;
 import com.sun.javafx.geom.transform.BaseTransform;

@@ -70,10 +71,14 @@
 /**
  * Tests various aspects of Node.
  *
  */
 public class NodeTest {
+
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     @Rule
     public ExpectedException thrown = ExpectedException.none();
 
     // Things to test:
         // When parent is changed, should cursor on toolkit change as well if