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

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

@@ -27,21 +27,27 @@
 
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
+
+import com.sun.javafx.FXUnit;
 import javafx.scene.shape.Circle;
 import javafx.scene.shape.Rectangle;
 
+import org.junit.Rule;
 import org.junit.Test;
 
 /**
  * Tests various aspects of Picking.
  *
  */
 public class PickAndContainsTest {
 
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     /***************************************************************************
      *                                                                         *
      *                              Picking Tests                              *
      *                                                                         *
      **************************************************************************/