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

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

*** 23,46 **** --- 23,51 ---- * 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 static org.junit.Assert.*; public class HLineToTest { + @Rule + public FXUnit fx = new FXUnit(); + @Test public void testAddTo() throws Exception { Path2D path = new Path2D(); path.moveTo(0f, 0f); final HLineTo hLineTo = new HLineTo(1f); hLineTo.impl_addTo(path);