modules/graphics/src/test/java/javafx/scene/input/SwipeEventTest.java
Print this page
rev 6167 : RT-35330 [Monocle] Remove StubToolkit and replace it with headless glass implementation
*** 23,46 ****
--- 23,51 ----
* questions.
*/
package javafx.scene.input;
+ import com.sun.javafx.FXUnit;
import com.sun.javafx.pgstub.StubScene;
import com.sun.javafx.test.MouseEventGenerator;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Point3D;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
+ import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.*;
public class SwipeEventTest {
+ @Rule
+ public FXUnit fx = new FXUnit();
+
private boolean swiped;
private boolean swiped2;
@Test public void testShortConstructor() {
Rectangle node = new Rectangle();