modules/graphics/src/test/java/javafx/scene/shape/CubicCurveTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
@@ -23,19 +23,24 @@
* questions.
*/
package javafx.scene.shape;
+import com.sun.javafx.FXUnit;
import com.sun.javafx.sg.prism.NGCubicCurve;
import com.sun.javafx.sg.prism.NGNode;
import javafx.scene.NodeTest;
+import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.*;
public class CubicCurveTest {
+ @Rule
+ public FXUnit fx = new FXUnit();
+
@Test
public void testFullConstructor() {
final CubicCurve curve = new StubCubicCurve(1, 2, 3, 4, 5, 6, 7, 8);
assertEquals(1, curve.getStartX(), 0.00001);
assertEquals(2, curve.getStartY(), 0.00001);