< prev index next >

tests/system/src/test/java/test/sandbox/SandboxAppTest.java

Print this page
rev 9728 : 8139317: [Mac] SecurityException when constructing WebView from JFXPanel application
Reviewed-by:


  94            default:
  95                 throw new AssertionFailedError(testAppName
  96                         + ": Unexpected error exit: " + retVal);
  97         }
  98     }
  99 
 100     // TEST CASES
 101 
 102     @Test (timeout=15000)
 103     public void testFXApp() throws Exception {
 104         runSandboxedApp("FXApp");
 105     }
 106 
 107     @Test (timeout=15000)
 108     public void testFXNonApp() throws Exception {
 109         runSandboxedApp("FXNonApp");
 110     }
 111 
 112     @Test (timeout=15000)
 113     public void testJFXPanelApp() throws Exception {
 114         // TODO: re-enable this when 8139317 is fixed
 115         assumeTrue(!PlatformUtil.isMac());
 116         runSandboxedApp("JFXPanelApp");
 117     }
 118 
 119     @Test (timeout=15000)
 120     public void testJFXPanelImplicitExitApp() throws Exception {
 121         // Test skipped on Mac OS X due to JDK bug 8037776
 122         assumeTrue(!PlatformUtil.isMac());
 123         runSandboxedApp("JFXPanelImplicitExitApp", 0);
 124     }
 125 
 126 }


  94            default:
  95                 throw new AssertionFailedError(testAppName
  96                         + ": Unexpected error exit: " + retVal);
  97         }
  98     }
  99 
 100     // TEST CASES
 101 
 102     @Test (timeout=15000)
 103     public void testFXApp() throws Exception {
 104         runSandboxedApp("FXApp");
 105     }
 106 
 107     @Test (timeout=15000)
 108     public void testFXNonApp() throws Exception {
 109         runSandboxedApp("FXNonApp");
 110     }
 111 
 112     @Test (timeout=15000)
 113     public void testJFXPanelApp() throws Exception {


 114         runSandboxedApp("JFXPanelApp");
 115     }
 116 
 117     @Test (timeout=15000)
 118     public void testJFXPanelImplicitExitApp() throws Exception {
 119         // Test skipped on Mac OS X due to JDK bug 8037776
 120         assumeTrue(!PlatformUtil.isMac());
 121         runSandboxedApp("JFXPanelImplicitExitApp", 0);
 122     }
 123 
 124 }
< prev index next >