Author: DartPeng
Date: 2009-12-07 21:57:57 -0500 (Mon, 07 Dec 2009)
New Revision: 19091
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/.classpath
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/csvparser/CsvParserTest.java
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/ediparser/EDIParserTest.java
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/JsonParserTest.java
Log:
JBIDE-5304
Remove Dom4J jar and replace all Dom4J api with org.w3c API
Modified: trunk/smooks/tests/org.jboss.tools.smooks.core.test/.classpath
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.core.test/.classpath 2009-12-08 02:56:20 UTC
(rev 19090)
+++ trunk/smooks/tests/org.jboss.tools.smooks.core.test/.classpath 2009-12-08 02:57:57 UTC
(rev 19091)
@@ -3,6 +3,5 @@
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
- <classpathentry exported="true" kind="lib"
path="lib/dom4j-1.6.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/csvparser/CsvParserTest.java
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/csvparser/CsvParserTest.java 2009-12-08
02:56:20 UTC (rev 19090)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/csvparser/CsvParserTest.java 2009-12-08
02:57:57 UTC (rev 19091)
@@ -14,7 +14,6 @@
import javax.xml.parsers.ParserConfigurationException;
-import org.dom4j.DocumentException;
import org.eclipse.emf.ecore.resource.Resource;
import org.jboss.tools.smooks.configuration.editors.IXMLStructuredObject;
import org.jboss.tools.smooks.configuration.editors.csv.CSVDataParser;
@@ -30,7 +29,7 @@
*/
public class CsvParserTest extends BaseTestCase {
- public void testCsvParser() throws IOException, DocumentException,
ParserConfigurationException {
+ public void testCsvParser() throws IOException, ParserConfigurationException {
Resource smooksResource = new SmooksResourceFactoryImpl().createResource(null);
smooksResource.load(CsvParserTest.class.getResourceAsStream("smooks-config.xml"),
null);
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/ediparser/EDIParserTest.java
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/ediparser/EDIParserTest.java 2009-12-08
02:56:20 UTC (rev 19090)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/ediparser/EDIParserTest.java 2009-12-08
02:57:57 UTC (rev 19091)
@@ -17,7 +17,6 @@
import javax.xml.parsers.ParserConfigurationException;
-import org.dom4j.DocumentException;
import org.eclipse.emf.ecore.resource.Resource;
import org.jboss.tools.smooks.configuration.editors.IXMLStructuredObject;
import org.jboss.tools.smooks.configuration.editors.edi.EDIDataParser;
@@ -33,7 +32,7 @@
*/
public class EDIParserTest extends BaseTestCase {
- public void testEDIParser() throws IOException, DocumentException,
ParserConfigurationException {
+ public void testEDIParser() throws IOException, ParserConfigurationException {
Resource smooksResource = new SmooksResourceFactoryImpl().createResource(null);
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/JsonParserTest.java
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/JsonParserTest.java 2009-12-08
02:56:20 UTC (rev 19090)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/JsonParserTest.java 2009-12-08
02:57:57 UTC (rev 19091)
@@ -7,7 +7,6 @@
import javax.xml.parsers.ParserConfigurationException;
-import org.dom4j.DocumentException;
import org.eclipse.emf.ecore.resource.Resource;
import org.jboss.tools.smooks.configuration.editors.IXMLStructuredObject;
import org.jboss.tools.smooks.configuration.editors.uitls.JsonInputDataParser;
@@ -17,8 +16,7 @@
import org.jboss.tools.smooks.test.model11.BaseTestCase;
public class JsonParserTest extends BaseTestCase {
- public void testParser1() throws IOException, ParserConfigurationException,
DocumentException,
- InvocationTargetException {
+ public void testParser1() throws IOException, ParserConfigurationException,
InvocationTargetException {
Resource smooksResource = new SmooksResourceFactoryImpl().createResource(null);
smooksResource.load(JsonParserTest.class.getResourceAsStream("smooks-config.xml"),
null);
Show replies by date