modules/graphics/src/test/java/test/javafx/stage/WindowTest.java

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

*** 21,45 **** * 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.stage; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.assertNotNull; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import org.junit.Before; import org.junit.Test; ! import com.sun.javafx.pgstub.StubStage; ! import com.sun.javafx.pgstub.StubToolkit; import com.sun.javafx.tk.TKStage; import com.sun.javafx.tk.Toolkit; public final class WindowTest { private StubToolkit toolkit; private Stage testWindow; --- 21,47 ---- * 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.stage; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.assertNotNull; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import org.junit.Before; import org.junit.Test; ! import test.com.sun.javafx.pgstub.StubStage; ! import test.com.sun.javafx.pgstub.StubToolkit; import com.sun.javafx.tk.TKStage; import com.sun.javafx.tk.Toolkit; + import javafx.stage.Stage; + import javafx.stage.Window; public final class WindowTest { private StubToolkit toolkit; private Stage testWindow;