modules/graphics/src/test/java/javafx/scene/input/TouchEventTest.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 com.sun.javafx.pgstub.StubScene; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; import javafx.event.Event;
*** 35,48 **** --- 36,54 ---- import javafx.scene.shape.Rectangle; import javafx.stage.Stage; import javafx.event.EventHandler; import javafx.geometry.Point3D; import org.junit.Ignore; + import org.junit.Rule; import org.junit.Test; import static org.junit.Assert.*; public class TouchEventTest { + + @Rule + public FXUnit fx = new FXUnit(); + private static final int SANE_BENCHMARK_CYCLES = 1000000; private static final int CRAZY_BENCHMARK_CYCLES = 500000; private int touched;