--- old/modules/graphics/src/test/java/javafx/scene/shape/PolygonTest.java 2014-01-23 16:00:38.000000000 +0200 +++ new/modules/graphics/src/test/java/javafx/scene/shape/PolygonTest.java 2014-01-23 16:00:38.000000000 +0200 @@ -25,11 +25,13 @@ package javafx.scene.shape; +import com.sun.javafx.FXUnit; import com.sun.javafx.geom.Path2D; import com.sun.javafx.sg.prism.NGNode; import com.sun.javafx.sg.prism.NGPolygon; import javafx.collections.ObservableList; import javafx.scene.NodeTest; +import org.junit.Rule; import org.junit.Test; import static com.sun.javafx.test.TestHelper.assertBoundsEqual; @@ -37,6 +39,10 @@ import static org.junit.Assert.*; public class PolygonTest { + + @Rule + public FXUnit fx = new FXUnit(); + @Test public void testPropertyPropagation_emptyPoints() { final StubPolygon polygon = new StubPolygon(); NodeTest.callSyncPGNode(polygon);