diff options
author | Jiri Vanek <[email protected]> | 2012-05-28 11:00:49 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-05-28 11:00:49 +0200 |
commit | 056ac3746d71b2cd92d4643f136ed28a20765227 (patch) | |
tree | 9e6bea5b5afa80b9091c6bcc745bfc71f96bf92f /tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java | |
parent | 1705caf0db175cb9537313e5c1d9df14186f5bea (diff) |
Get rid of repeated sout/serr in reproducers testcases/unit tests and introduce bottleneck for loging.
Diffstat (limited to 'tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java')
-rw-r--r-- | tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java b/tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java index 217ed4d..165276a 100644 --- a/tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java +++ b/tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java @@ -46,11 +46,7 @@ public class AddShutdownHookTest { @Test public void AddShutdownHookTestLunch1() throws Exception { - System.out.println("connecting AddShutdownHook request"); - System.err.println("connecting AddShutdownHook request"); ServerAccess.ProcessResult pr = server.executeJavawsHeadless(null, "/AddShutdownHook.jnlp"); - System.out.println(pr.stdout); - System.err.println(pr.stderr); String s = "(?s).*java.security.AccessControlException.{0,5}access denied.{0,5}java.lang.RuntimePermission.{0,5}" + "shutdownHooks" + ".*"; Assert.assertTrue("stderr should match "+s+" but didn't",pr.stderr.matches(s)); String cc="ClassNotFoundException"; |