Author: pete.muir(a)jboss.org
Date: 2009-03-20 16:13:10 -0400 (Fri, 20 Mar 2009)
New Revision: 2125
Modified:
ri/trunk/tests/src/test/java/org/jboss/webbeans/test/unit/xml/parser/XmlParserImplTest.java
Log:
oops
Modified:
ri/trunk/tests/src/test/java/org/jboss/webbeans/test/unit/xml/parser/XmlParserImplTest.java
===================================================================
---
ri/trunk/tests/src/test/java/org/jboss/webbeans/test/unit/xml/parser/XmlParserImplTest.java 2009-03-20
20:12:20 UTC (rev 2124)
+++
ri/trunk/tests/src/test/java/org/jboss/webbeans/test/unit/xml/parser/XmlParserImplTest.java 2009-03-20
20:13:10 UTC (rev 2125)
@@ -1,6 +1,5 @@
package org.jboss.webbeans.test.unit.xml.parser;
-import java.io.File;
import java.net.URL;
import java.util.HashSet;
import java.util.List;
@@ -20,7 +19,6 @@
import org.jboss.webbeans.xml.ParseXmlHelper;
import org.jboss.webbeans.xml.XmlEnvironment;
import org.jboss.webbeans.xml.XmlParser;
-import org.testng.annotations.Test;
@Artifact
@Resources({
@@ -57,8 +55,8 @@
{
String urn = "urn:java:org.jboss.webbeans.test.unit.xml.parser";
- File f = ParseXmlHelper.loadNamespaceFile(urn);
- List<String> packages = ParseXmlHelper.parseNamespaceFile(f);
+ URL url = ParseXmlHelper.loadNamespaceFile(urn);
+ List<String> packages = ParseXmlHelper.parseNamespaceFile(url);
assert packages.size() == 2;
}
Show replies by date