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

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

*** 23,45 **** --- 23,50 ---- * questions. */ package javafx.scene.shape; + import com.sun.javafx.FXUnit; import com.sun.javafx.geom.Path2D; import com.sun.javafx.pgstub.SVGPathImpl; import com.sun.javafx.sg.prism.NGNode; import com.sun.javafx.sg.prism.NGSVGPath; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javafx.scene.NodeTest; + import org.junit.Rule; import org.junit.Test; import static org.junit.Assert.*; public class SVGPathTest { + @Rule + public FXUnit fx = new FXUnit(); + @Test public void testBoundPropertySync_Content() throws Exception { StubSVGPath svgPath = new StubSVGPath(); svgPath.setContent("M40,60 C42,48 44,30 25,32"); StringProperty content = new SimpleStringProperty();