/hg/icedtea-web: Fixing various reproducers
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Thu Jul 16 10:04:15 UTC 2015
changeset 90be136f00b7 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=90be136f00b7
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Jul 16 12:03:45 2015 +0200
Fixing various reproducers
* tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java: fixed check on return value
* tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java: same
diffstat:
ChangeLog | 8 ++++++++
tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java | 2 +-
tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r 6fa605fbab3a -r 90be136f00b7 ChangeLog
--- a/ChangeLog Wed Jul 15 19:15:07 2015 +0200
+++ b/ChangeLog Thu Jul 16 12:03:45 2015 +0200
@@ -1,3 +1,11 @@
+2015-07-16 Jiri Vanek <jvanek at redhat.com>
+
+ Fixing various reproducers
+ * tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
+ fixed check on return value
+ * tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java:
+ same
+
2015-07-15 Jiri Vanek <jvanek at redhat.com>
Fixing various reproducers
diff -r 6fa605fbab3a -r 90be136f00b7 tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java
--- a/tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java Wed Jul 15 19:15:07 2015 +0200
+++ b/tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java Thu Jul 16 12:03:45 2015 +0200
@@ -54,7 +54,7 @@
Assert.assertFalse("test" + jnlpName + " stdout should not contain " + s1 + " but did.", pr.stdout.contains(s1));
Assert.assertTrue("testForTitle stderr should contain " + exception + " but did not.", pr.stderr.contains(exception));
Assert.assertFalse(pr.wasTerminated);
- Assert.assertEquals((Integer)0, pr.returnValue);
+ Assert.assertEquals((Integer)1, pr.returnValue);
}
@Test
diff -r 6fa605fbab3a -r 90be136f00b7 tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java
--- a/tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java Wed Jul 15 19:15:07 2015 +0200
+++ b/tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java Thu Jul 16 12:03:45 2015 +0200
@@ -184,7 +184,7 @@
ProcessResult pr = server.executeJavawsHeadless(Arrays.asList(new String[]{"-strict"}), "/" + id + ".jnlp");
assertNotManifestedJar1(id, pr);
assertNotManifestedJar2(id, pr);
- assertNotDead(id, pr);
+ assertNearlyNotDead(id, pr, 1);
Assert.assertTrue(pr.stderr.contains(Translator.R("PTwoMains")) || pr.stdout.contains(Translator.R("PTwoMains")));
}
More information about the distro-pkg-dev
mailing list