< prev index next >
tests/system/src/test/java/test/javafx/scene/Snapshot1Test.java
Print this page
rev 9491 : 8145203: Refactor systemTests for clear separation of tests
Reviewed-by: kcr
*** 21,49 ****
* 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 java.util.concurrent.TimeUnit;
import java.util.concurrent.CountDownLatch;
import javafx.scene.paint.Color;
import javafx.application.Platform;
import javafx.scene.image.WritableImage;
import javafx.scene.shape.Rectangle;
import javafx.util.Callback;
import junit.framework.AssertionFailedError;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
! import util.Util;
import static org.junit.Assert.*;
! import static util.Util.TIMEOUT;
/**
* Tests for snapshot.
*/
public class Snapshot1Test extends SnapshotCommon {
--- 21,53 ----
* 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 java.util.concurrent.TimeUnit;
import java.util.concurrent.CountDownLatch;
import javafx.scene.paint.Color;
import javafx.application.Platform;
+ import javafx.scene.Group;
+ import javafx.scene.Node;
+ import javafx.scene.Scene;
+ import javafx.scene.SnapshotResult;
import javafx.scene.image.WritableImage;
import javafx.scene.shape.Rectangle;
import javafx.util.Callback;
import junit.framework.AssertionFailedError;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
! import test.util.Util;
import static org.junit.Assert.*;
! import static test.util.Util.TIMEOUT;
/**
* Tests for snapshot.
*/
public class Snapshot1Test extends SnapshotCommon {
< prev index next >