aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh Dadachanji <[email protected]>2012-03-19 14:37:03 -0400
committerDanesh Dadachanji <[email protected]>2012-03-19 14:37:03 -0400
commite1c4e1586266d36cce6e5b075c01ff366063daff (patch)
tree747f6972ded842413f590d592699d30e82bcefa8
parent7ab685d068db6f1cbe8a74784b0e43f7e9727fd3 (diff)
Fix unit test missing title and vendor tags in JNLP stream.
-rw-r--r--ChangeLog6
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fdd146..cc24225 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-19 Danesh Dadachanji <[email protected]>
+
+ Fix failing unit test missing title/vendor tags in the JNLP stream.
+ * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
+ (testNestedComments): Added title and vendor tags to malformedJnlp.
+
2012-03-19 Jiri Vanek <[email protected]>
* tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java:
as javaws have now integrated splash, I have changed this test to lunch
diff --git a/tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java b/tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
index ceb2ecd..3e34684 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
@@ -163,7 +163,8 @@ public class ParserCornerCases {
@Test
public void testNestedComments() throws ParseException {
String malformedJnlp = "<?xml?>" +
- "<jnlp><information><description>" +
+ "<jnlp><information><title>testNestedComments</title>" +
+ "<vendor>IcedTea</vendor><description>" +
"<!-- outer <!-- inner --> -->" +
"</description></information></jnlp>";
Node root = Parser.getRootNode(new ByteArrayInputStream(malformedJnlp.getBytes()));