aboutsummaryrefslogtreecommitdiffstats
path: root/tests/reproducers/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reproducers/simple')
-rw-r--r--tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java1
-rw-r--r--tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java1
-rw-r--r--tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java1
-rw-r--r--tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java1
-rw-r--r--tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java2
-rw-r--r--tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java1
-rw-r--r--tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java1
-rw-r--r--tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java1
-rw-r--r--tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java1
9 files changed, 0 insertions, 10 deletions
diff --git a/tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java b/tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java
index a83cc08..c95b5ff 100644
--- a/tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java
+++ b/tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java
@@ -61,7 +61,6 @@ public class AddShutdownHookTest extends BrowserTest {
ProcessResult pr = server.executeJavawsHeadless(null, "/AddShutdownHook.jnlp");
Assert.assertTrue("stderr " + mr.toPassingString(), mr.evaluate(pr.stderr));
Assert.assertFalse("stderr " + cnf.toFailingString(), cnf.evaluate(pr.stderr));
- Assert.assertFalse("stdout length should be <=2, but was " + pr.stdout.length(), pr.stdout.length() > 2);
Assert.assertFalse("AddShutdownHookTestLunch1 should not be terminated, but was", pr.wasTerminated);
Assert.assertFalse("stderr " + cf.toFailingString(), cf.evaluate(pr.stderr));
Assert.assertEquals((Integer) 0, pr.returnValue);
diff --git a/tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java b/tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java
index cb0f92e..37a99f8 100644
--- a/tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java
+++ b/tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java
@@ -54,7 +54,6 @@ public class AllStackTracesTest {
Assert.assertTrue("stderr should match `"+c+"`, but didn't ",pr.stderr.matches(c));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did ",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("AllStackTracesTest1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer)0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java b/tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java
index 2de9f5a..91babeb 100644
--- a/tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java
+++ b/tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java
@@ -52,7 +52,6 @@ public class CreateClassLoaderTest {
Assert.assertTrue("Stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("CreateClassLoaderLunch1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java b/tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java
index a755944..f44b0b1 100644
--- a/tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java
+++ b/tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java
@@ -51,7 +51,6 @@ public class ReadEnvironmentTest {
Assert.assertTrue("stderr should match"+s+"but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("ReadEnvironmentLunch1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java b/tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java
index 9244529..6398b80 100644
--- a/tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java
+++ b/tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java
@@ -52,7 +52,6 @@ public class ReadPropertiesTest {
Assert.assertTrue("stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("ReadPropertiesLunch1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer)0, pr.returnValue);
}
@@ -64,7 +63,6 @@ public class ReadPropertiesTest {
Assert.assertTrue("stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("ReadPropertiesLunch2 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer)0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java b/tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java
index 71934e5..d9d952d 100644
--- a/tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java
+++ b/tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java
@@ -51,7 +51,6 @@ public class RedirectStreamsTest {
Assert.assertTrue("Stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("RedirectStreams should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java b/tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java
index 6ea120c..518a24c 100644
--- a/tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java
+++ b/tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java
@@ -51,7 +51,6 @@ public class ReplaceSecurityManagerTest {
Assert.assertTrue("stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("ReplaceSecurityManagerLunch1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java b/tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java
index 0796db7..f2d2648 100644
--- a/tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java
+++ b/tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java
@@ -51,7 +51,6 @@ public class SetContextClassLoaderTest {
Assert.assertTrue("stderr should match "+s+" but didn't",pr.stderr.matches(s));
String cc="ClassNotFoundException";
Assert.assertFalse("stderr should NOT contains `"+cc+"`, but did",pr.stderr.contains(cc));
- Assert.assertFalse("stdout length should be <=2, but was "+pr.stdout.length(),pr.stdout.length()>2);
Assert.assertFalse("SetContextClassLoader1 should not be terminated, but was",pr.wasTerminated);
Assert.assertEquals((Integer) 0, pr.returnValue);
}
diff --git a/tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java b/tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java
index 16dffb4..e0131aa 100644
--- a/tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java
+++ b/tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java
@@ -49,7 +49,6 @@ public class SimpleTest2Test {
@Test
public void testSimpletest2lunchException() throws Exception {
ProcessResult pr=server.executeJavawsHeadless(null,"/simpletest2.jnlp");
- Assert.assertTrue("stdout should be < 1 , but was "+pr.stdout.trim().length(),pr.stdout.trim().length() < 1);
String s="Correct exception";
Assert.assertTrue("stderr should contains "+s+" but didn't",pr.stderr.contains(s));
String ss="Exception";