< prev index next >
tests/system/src/test/java/test/com/sun/javafx/application/TaskbarAppCommon.java
Print this page
rev 9491 : 8145203: Refactor systemTests for clear separation of tests
Reviewed-by: kcr
@@ -21,19 +21,21 @@
* 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 com.sun.javafx.application;
+package test.com.sun.javafx.application;
+import com.sun.javafx.application.PlatformImpl;
+import com.sun.javafx.application.PlatformImplShim;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import javafx.application.Platform;
import junit.framework.AssertionFailedError;
import static org.junit.Assert.*;
-import static util.Util.TIMEOUT;
+import static test.util.Util.TIMEOUT;
/**
* Test program for PlatformImpl
* Each of the tests must be run in a separate JVM which is why each
@@ -59,11 +61,11 @@
AssertionFailedError err = new AssertionFailedError("Unexpected exception");
err.initCause(ex);
throw err;
}
assertEquals(0, launchLatch.getCount());
- final CountDownLatch exitLatch = PlatformImpl.test_getPlatformExitLatch();
+ final CountDownLatch exitLatch = PlatformImplShim.test_getPlatformExitLatch();
assertEquals(1, exitLatch.getCount());
}
// ========================== TEST CASES ==========================
< prev index next >