changeset 6655:01d3f9db392e

RT-36576: The fxpackager tests that pop up a window or steal focus must run only when FULL_TEST=true Summary: Also, affects CLITest for mac, so turn it off for mac
author shemnon
date Tue, 08 Apr 2014 14:56:03 -0600
parents 3585df5a6895
children 316a26aadce3
files modules/fxpackager/src/test/java/com/sun/javafx/tools/packager/CLITest.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxpackager/src/test/java/com/sun/javafx/tools/packager/CLITest.java	Tue Apr 08 13:53:01 2014 -0700
+++ b/modules/fxpackager/src/test/java/com/sun/javafx/tools/packager/CLITest.java	Tue Apr 08 14:56:03 2014 -0600
@@ -38,6 +38,10 @@
 
     @BeforeClass
     public static void prepareApp() {
+        // on mac, require a full test
+        Assume.assumeTrue(!System.getProperty("os.name").toLowerCase().contains("os x") || Boolean.parseBoolean(System.getProperty("FULL_TEST")));
+
+
         Log.setLogger(new Log.Logger(true));
 
         String tmpBasePath = System.getProperty("tmpBase");