modules/graphics/src/test/java/javafx/scene/shape/VLineToTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
*** 23,47 ****
--- 23,52 ----
* questions.
*/
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;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.scene.Group;
import javafx.scene.NodeTest;
import javafx.scene.Scene;
+ import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.*;
public class VLineToTest {
+ @Rule
+ public FXUnit fx = new FXUnit();
+
@Test public void testAddTo() throws Exception {
Path2D path = new Path2D();
path.moveTo(0f, 0f);
final VLineTo vLineTo = new VLineTo(1f);
vLineTo.impl_addTo(path);