modules/graphics/src/test/java/javafx/scene/shape/EllipseTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
@@ -23,24 +23,29 @@
* questions.
*/
package javafx.scene.shape;
+import com.sun.javafx.FXUnit;
import com.sun.javafx.sg.prism.NGEllipse;
import com.sun.javafx.sg.prism.NGNode;
import com.sun.javafx.test.TestHelper;
import javafx.geometry.Bounds;
import javafx.scene.NodeTest;
+import org.junit.Rule;
import org.junit.Test;
import static com.sun.javafx.test.TestHelper.assertSimilar;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
public class EllipseTest {
+ @Rule
+ public FXUnit fx = new FXUnit();
+
@Test public void testPropertyPropagation_visible() throws Exception {
final Ellipse node = new StubEllipse();
NodeTest.testBooleanPropertyPropagation(node, "visible", false, true);
}