diff options
author | Jiri Vanek <[email protected]> | 2011-09-15 15:27:40 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2011-09-15 15:27:40 +0200 |
commit | 451529c4953d24e031f747fe1dee6cd8b1bb7574 (patch) | |
tree | 7b8f8f44f9fc1b7ca29eea9ebec80932638f82d7 /tests/jnlp_tests/simple/simpletest1 | |
parent | cf26e6d0b7e266f9866e5c608c56814e831cdb07 (diff) |
current reproducers (see changelog) done more verbose
Diffstat (limited to 'tests/jnlp_tests/simple/simpletest1')
-rw-r--r-- | tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java b/tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java index 04181ab..6c15791 100644 --- a/tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java +++ b/tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java @@ -50,11 +50,14 @@ public class SimpleTest1Test { @Test public void testSimpletest1lunchOk() throws Exception { System.out.println("connecting simpletest1 request"); + System.err.println("connecting simpletest1 request"); ServerAccess.ProcessResult pr=server.executeJavawsHeadless(null,"/simpletest1.jnlp"); System.out.println(pr.stdout); System.err.println(pr.stderr); - Assert.assertTrue(pr.stdout.contains("Good simple javaws exapmle")); - Assert.assertFalse(pr.stderr.contains("xception")); + String s="Good simple javaws exapmle"; + Assert.assertTrue("testSimpletest1lunchOk stdout should contains "+s+" bud didn't",pr.stdout.contains(s)); + String ss="xception"; + Assert.assertFalse("testSimpletest1lunchOk stderr should not contains "+ss+" but did",pr.stderr.contains(ss)); Assert.assertFalse(pr.wasTerminated); Assert.assertEquals((Integer)0, pr.returnValue); } @@ -63,4 +66,4 @@ public class SimpleTest1Test { - }
\ No newline at end of file + } |