diff options
author | Jiri Vanek <[email protected]> | 2013-06-21 12:15:03 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-06-21 12:15:03 +0200 |
commit | da8ec0b9cba22448fbb5b599bff3e1f5fb8c0bf7 (patch) | |
tree | e3cd2c82fd0eff3b9d9c95b4f67fac27d7d519bc /tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java | |
parent | 70371886c351800a6fad9bad17777179af2d8584 (diff) |
Added tagsup (optional dependence) as sanitizer for (possibly) invalid xml files
Diffstat (limited to 'tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java')
-rw-r--r-- | tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java b/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java index 9015acf..951f9bf 100644 --- a/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java +++ b/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java @@ -48,7 +48,8 @@ public class PluginBridgeTest { return JNLPHref; } - public JNLPFile create(URL location, Version version, boolean strict, + @Override + public JNLPFile create(URL location, Version version, ParserSettings settings, UpdatePolicy policy, URL forceCodebase) throws IOException, ParseException { JNLPHref = location; return new MockJNLPFile(); @@ -195,6 +196,8 @@ public class PluginBridgeTest { } @Test + //http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/applet/codebase_determination.html + //example 3 public void testEmbeddedJnlpWithInvalidCodebase() throws Exception { URL overwrittenCodebase = new URL("http://icedtea.classpath.org"); String relativeLocation = "/EmbeddedJnlpFile.jnlp"; |