diff options
author | Danesh Dadachanji <[email protected]> | 2012-03-19 14:37:03 -0400 |
---|---|---|
committer | Danesh Dadachanji <[email protected]> | 2012-03-19 14:37:03 -0400 |
commit | e1c4e1586266d36cce6e5b075c01ff366063daff (patch) | |
tree | 747f6972ded842413f590d592699d30e82bcefa8 | |
parent | 7ab685d068db6f1cbe8a74784b0e43f7e9727fd3 (diff) |
Fix unit test missing title and vendor tags in JNLP stream.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -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())); |