/hg/icedtea-web: Fixed unittest for InformationElement

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Thu Jan 3 00:53:53 PST 2013


changeset 9549226afa8f in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=9549226afa8f
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Jan 03 09:54:16 2013 +0100

	Fixed unittest for InformationElement


diffstat:

 tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c638a94822e0 -r 9549226afa8f tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java
--- a/tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java	Wed Jan 02 19:46:16 2013 +0100
+++ b/tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java	Thu Jan 03 09:54:16 2013 +0100
@@ -232,7 +232,7 @@
         }
         Assert.assertNotNull(ex);
         InformationElement ie1 = InformationElement.createFromJNLP(jnlpFile1);
-        Assert.assertNull(ie1);
+        Assert.assertNotNull(ie1);
 
         //title, vendor and homepage are obligatory.. not so much to test
         String exJnlp2 = testJnlpheader + title.toXml() + "\n" + homepage.toXml() + "\n" + vendor.toXml() + "\n" + testJnlpFooter;



More information about the distro-pkg-dev mailing list