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

Print this page
rev 9250 : 8134762: Refactor Javafx graphics module tests for clear separation of tests
Reviewed-by:

*** 21,41 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package javafx.scene.shape; 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.Test; ! import static com.sun.javafx.test.TestHelper.assertBoundsEqual; ! import static com.sun.javafx.test.TestHelper.box; import static org.junit.Assert.*; public class PolygonTest { @Test public void testPropertyPropagation_emptyPoints() { final StubPolygon polygon = new StubPolygon(); --- 21,42 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package test.javafx.scene.shape; 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 test.javafx.scene.NodeTest; ! import javafx.scene.shape.Polygon; import org.junit.Test; ! import static test.com.sun.javafx.test.TestHelper.assertBoundsEqual; ! import static test.com.sun.javafx.test.TestHelper.box; import static org.junit.Assert.*; public class PolygonTest { @Test public void testPropertyPropagation_emptyPoints() { final StubPolygon polygon = new StubPolygon();