diff options
Diffstat (limited to 'tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java')
-rw-r--r-- | tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java b/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java index 0f2a83f..1056ea2 100644 --- a/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java +++ b/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java @@ -138,10 +138,10 @@ public class JNLPFileTest { "</jnlp>"; URL codeBase = new URL("http://www.redhat.com/"); - ; + InputStream is = new ByteArrayInputStream(jnlpContext.getBytes()); - JNLPFile jnlpFile = new JNLPFile(is, codeBase, false); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false,false,false)); Assert.assertEquals("http://icedtea.claspath.org/", jnlpFile.getCodeBase().toExternalForm()); Assert.assertEquals("redhat.embeddedjnlp", jnlpFile.getApplet().getMainClass()); |