modules/graphics/src/test/java/javafx/scene/shape/QuadCurveToTest.java

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

@@ -23,26 +23,31 @@
  * questions.
  */
 
 package javafx.scene.shape;
 
+import com.sun.javafx.FXUnit;
 import com.sun.javafx.geom.Path2D;
 import com.sun.javafx.geom.PathIterator;
 import com.sun.javafx.sg.prism.NGPath;
 import javafx.beans.property.DoubleProperty;
 import javafx.beans.property.SimpleDoubleProperty;
 import javafx.scene.Group;
 import javafx.scene.NodeTest;
 import javafx.scene.Scene;
+import org.junit.Rule;
 import org.junit.Test;
 
 import java.lang.reflect.Method;
 
 import static org.junit.Assert.*;
 
 public class QuadCurveToTest {
 
+    @Rule
+    public FXUnit fx = new FXUnit();
+
     @Test public void testSetGetX() throws Exception {
         TestUtils.testDoublePropertyGetterSetter(new QuadCurveTo(), "x", 123.2, 0.0);
     }
 
     @Test public void testSetGetControlX() throws Exception {