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

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

*** 23,50 **** --- 23,55 ---- * 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.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.scene.Group; import javafx.scene.NodeTest; import javafx.scene.Scene; + import org.junit.Rule; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; public class PathTest { + @Rule + public FXUnit fx = new FXUnit(); + @Test public void testVarargConstructor() { PathElement one = new MoveTo(10, 10); PathElement two = new LineTo(20, 20); PathElement three = new MoveTo(30, 30); Path path = new Path(one, two, three);