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

Print this page
rev 9250 : 8134762: Refactor Javafx graphics module tests for clear separation of tests
Reviewed-by:

*** 21,33 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package javafx.scene.input; ! import com.sun.javafx.pgstub.StubScene; import javafx.event.Event; import javafx.scene.Group; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; --- 21,33 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package test.javafx.scene.input; ! import test.com.sun.javafx.pgstub.StubScene; import javafx.event.Event; import javafx.scene.Group; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull;
*** 35,44 **** --- 35,46 ---- import static org.junit.Assert.assertTrue; import javafx.scene.Scene; import javafx.scene.shape.Rectangle; import javafx.event.EventHandler; import javafx.geometry.Point3D; + import javafx.scene.input.ContextMenuEvent; + import javafx.scene.input.PickResult; import javafx.stage.Stage; import org.junit.Assert; import org.junit.Test;