< prev index next >

tests/system/src/test/java/test/javafx/scene/SnapshotCommon.java

Print this page
rev 9491 : 8145203: Refactor systemTests for clear separation of tests
Reviewed-by: kcr

*** 21,46 **** * 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; ! import util.Util; import javafx.scene.image.WritableImage; import javafx.stage.Stage; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import javafx.application.Application; import javafx.application.Platform; import javafx.scene.paint.Color; import javafx.stage.StageStyle; import javafx.util.Callback; import junit.framework.AssertionFailedError; import static org.junit.Assert.*; ! import static util.Util.TIMEOUT; /** * Common base class for testing snapshot. */ public class SnapshotCommon { --- 21,51 ---- * 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; ! import test.util.Util; import javafx.scene.image.WritableImage; import javafx.stage.Stage; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import javafx.application.Application; import javafx.application.Platform; + import javafx.scene.Group; + import javafx.scene.Node; + import javafx.scene.Scene; + import javafx.scene.SnapshotParameters; + import javafx.scene.SnapshotResult; import javafx.scene.paint.Color; import javafx.stage.StageStyle; import javafx.util.Callback; import junit.framework.AssertionFailedError; import static org.junit.Assert.*; ! import static test.util.Util.TIMEOUT; /** * Common base class for testing snapshot. */ public class SnapshotCommon {
< prev index next >