Author: richard.opalka(a)jboss.com
Date: 2008-02-14 07:45:30 -0500 (Thu, 14 Feb 2008)
New Revision: 5671
Removed:
stack/native/trunk/src/test/java/org/jboss/test/ws/tools/sourcecomp/XMLCompareTestCase.java
Modified:
stack/native/trunk/ant-import-tests/build-testsuite.xml
stack/native/trunk/ant-import/build-thirdparty.xml
stack/native/trunk/version.properties
Log:
remove obsolete and useless test
Modified: stack/native/trunk/ant-import/build-thirdparty.xml
===================================================================
--- stack/native/trunk/ant-import/build-thirdparty.xml 2008-02-14 12:16:41 UTC (rev 5670)
+++ stack/native/trunk/ant-import/build-thirdparty.xml 2008-02-14 12:45:30 UTC (rev 5671)
@@ -117,7 +117,6 @@
<get
src="${jboss.repository}/sun-jaxws/${sun-jaxws}/lib/streambuffer.jar"
dest="${thirdparty.dir}/streambuffer.jar" usetimestamp="true"
verbose="true"/>
<get src="${jboss.repository}/sun-jaxws/${sun-jaxws}/lib/stax-ex.jar"
dest="${thirdparty.dir}/stax-ex.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/sun-servlet/${sun-servlet}/lib/servlet-api.jar"
dest="${thirdparty.dir}/servlet-api.jar" usetimestamp="true"
verbose="true"/>
- <get
src="${jboss.repository}/xmlunit-xmlunit/${xmlunit}/lib/xmlunit1.0.jar"
dest="${thirdparty.dir}/xmlunit.jar" usetimestamp="true"
verbose="true"/>
<get
src="${jboss.repository}/wscommons-policy/${wscommons-policy}/lib/policy.jar"
dest="${thirdparty.dir}/policy.jar" usetimestamp="true"
verbose="true"/>
<get src="${jboss.repository}/woodstox/${woodstox}/lib/wstx.jar"
dest="${thirdparty.dir}/wstx.jar" usetimestamp="true"
verbose="true"/>
Modified: stack/native/trunk/ant-import-tests/build-testsuite.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-testsuite.xml 2008-02-14 12:16:41 UTC (rev
5670)
+++ stack/native/trunk/ant-import-tests/build-testsuite.xml 2008-02-14 12:45:30 UTC (rev
5671)
@@ -46,7 +46,6 @@
<pathelement location="${core.dir}/thirdparty/stax-api.jar"/>
<pathelement location="${core.dir}/thirdparty/wsdl4j.jar"/>
<pathelement location="${core.dir}/thirdparty/wstx.jar"/>
- <pathelement location="${core.dir}/thirdparty/xmlunit.jar"/>
<pathelement
location="${core.dir}/thirdparty/jboss-jaxb-intros.jar"/>
</path>
@@ -63,10 +62,6 @@
<pathelement location="${core.dir}/thirdparty/jaxen.jar"/>
<pathelement location="${core.dir}/thirdparty/wsdl4j.jar"/>
<pathelement
location="${core.dir}/thirdparty/jboss-logging-log4j.jar"/>
- <!--
- <pathelement location="${core.dir}/thirdparty/log4j.jar"/>
- <pathelement location="${tests.etc.dir}"/>
- -->
</path>
</target>
Deleted:
stack/native/trunk/src/test/java/org/jboss/test/ws/tools/sourcecomp/XMLCompareTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/tools/sourcecomp/XMLCompareTestCase.java 2008-02-14
12:16:41 UTC (rev 5670)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/tools/sourcecomp/XMLCompareTestCase.java 2008-02-14
12:45:30 UTC (rev 5671)
@@ -1,69 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.test.ws.tools.sourcecomp;
-
-import org.custommonkey.xmlunit.XMLAssert;
-import org.custommonkey.xmlunit.XMLUnit;
-import org.jboss.wsf.test.JBossWSTest;
-
-/**
- * Test case that uses XMLUnit to compare two xml files
- * @author <mailto:Anil.Saldhana@jboss.org>Anil Saldhana
- * @since Apr 6, 2005
- */
-
-public class XMLCompareTestCase extends JBossWSTest
-{
- public void testXMLEquivalence() throws Exception
- {
- String str = constructTestString(true);
- String str1 = constructTestString(false);
- XMLUnit.setIgnoreWhitespace(true);
- XMLAssert.assertXMLEqual(str, str);
- XMLAssert.assertXMLNotEqual(str, str1);
- }
-
- private String constructTestString(boolean addDummy)
- {
- StringBuffer buf = new StringBuffer();
- buf.append("<schema
targetNamespace='http://org.jboss.ws/types'");
- buf.append("
xmlns='http://www.w3.org/2001/XMLSchema' ");
- buf.append("
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
");
- buf.append("
xmlns:xsd='http://www.w3.org/2001/XMLSchema' ");
- buf.append(" xmlns:tns='http://org.jboss.ws/types'>");
- buf.append("<complexType name='Base'>");
- buf.append(" <sequence>");
- buf.append(" <element name='a'
type='xsd:int'/>");
- if (addDummy)
- buf.append(" <element name='b'
type='xsd:int'/>");
- buf.append(" </sequence>");
- buf.append(" </complexType>");
- buf.append(" <complexType name='SomeException'>");
- buf.append(" <sequence>");
- buf.append(" <element name='name' type='xsd:string'
nillable='true'/>");
- buf.append(" </sequence>");
- buf.append(" </complexType>");
- buf.append(" </schema>");
-
- return buf.toString();
- }
-}
\ No newline at end of file
Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties 2008-02-14 12:16:41 UTC (rev 5670)
+++ stack/native/trunk/version.properties 2008-02-14 12:45:30 UTC (rev 5671)
@@ -47,11 +47,9 @@
apache-collections=3.1
apache-log4j=1.2.8
apache-logging=1.1.0.jboss
-apache-tomcat=5.5.20
apache-xalan=j_2.7.0
apache-xerces=2.9.0
dom4j=1.6.1
-eclipse-compiler=3.2.2
gnu-getopt=1.0.10
hibernate=3.2.1.GA
javassist=3.6.0.GA
@@ -72,4 +70,3 @@
sun-jaf=1.1
sun-javamail=1.4
sun-servlet=2.4
-xmlunit=1.0