modules/graphics/src/test/java/javafx/scene/input/MouseDragEventTest.java

Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation

*** 23,32 **** --- 23,33 ---- * questions. */ package javafx.scene.input; + import com.sun.javafx.FXUnit; import javafx.event.EventHandler; import javafx.event.EventType; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.Scene;
*** 36,49 **** --- 37,55 ---- import com.sun.javafx.test.MouseEventGenerator; import javafx.event.Event; import javafx.geometry.Point3D; import static org.junit.Assert.*; + + import org.junit.Rule; import org.junit.Test; public class MouseDragEventTest { + @Rule + public FXUnit fx = new FXUnit(); + @Test public void testShortConstructor() { Rectangle node = new Rectangle(); node.setTranslateX(3); node.setTranslateY(2); node.setTranslateZ(50);