< prev index next >

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

Print this page
rev 10376 : 8176818: Disable failing full-screen and maximize tests on Mac
Reviewed-by:

*** 22,31 **** --- 22,32 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package test.javafx.scene; + import com.sun.javafx.PlatformUtil; import javafx.application.Application; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.scene.Scene; import javafx.scene.layout.VBox;
*** 38,47 **** --- 39,49 ---- import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import static org.junit.Assert.fail; + import static org.junit.Assume.assumeTrue; public class RestoreSceneSizeTest { static CountDownLatch startupLatch; static Stage stage; static double w;
*** 87,96 **** --- 89,101 ---- } } @Test public void testUnfullscreenSize() throws Exception { + // Disable on Mac until JDK-8176813 is fixed + assumeTrue(!PlatformUtil.isMac()); + Thread.sleep(200); Assert.assertTrue(stage.isShowing()); Assert.assertTrue(stage.isFullScreen()); CountDownLatch latch = new CountDownLatch(2);
< prev index next >