--- old/modules/graphics/src/test/java/javafx/scene/shape/PathTest.java 2014-01-23 16:00:37.000000000 +0200 +++ new/modules/graphics/src/test/java/javafx/scene/shape/PathTest.java 2014-01-23 16:00:36.000000000 +0200 @@ -25,6 +25,7 @@ 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; @@ -33,6 +34,7 @@ import javafx.scene.Group; import javafx.scene.NodeTest; import javafx.scene.Scene; +import org.junit.Rule; import org.junit.Test; import java.util.ArrayList; @@ -43,6 +45,9 @@ 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);