--- old/modules/graphics/src/test/java/javafx/scene/input/SwipeEventTest.java 2014-01-23 16:00:21.000000000 +0200 +++ new/modules/graphics/src/test/java/javafx/scene/input/SwipeEventTest.java 2014-01-23 16:00:21.000000000 +0200 @@ -25,6 +25,7 @@ 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; @@ -34,11 +35,15 @@ 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;