Modified:
incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/woden14.wsdl
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/woden14.wsdl?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
---
incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/woden14.wsdl
(original)
+++
incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/woden14.wsdl
Thu Aug 23 04:24:51 2007
@@ -1,56 +1,56 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- !
- ! Licensed to the Apache Software Foundation (ASF) under one or more
- ! contributor license agreements. See the NOTICE file distributed with
- ! this work for additional information regarding copyright ownership.
- ! The ASF licenses this file to You under the Apache License, Version 2.0
- ! (the "License"); you may not use this file except in compliance with
- ! the License. You may obtain a copy of the License at
- !
- ! http://www.apache.org/licenses/LICENSE-2.0
- !
- ! Unless required by applicable law or agreed to in writing, software
- ! distributed under the License is distributed on an "AS IS" BASIS,
- ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ! See the License for the specific language governing permissions and
- ! limitations under the License.
- !-->
-<!-- Tests resolving of :
- description schemaLocation
- wsdl:import location
- wsdl:include location
- wsdl:types xs:include schemaLocation
- wsdl:types xs:include schemaLocation -->
-
-<description targetNamespace="http://example.com/bank"
- xmlns="http://www.w3.org/ns/wsdl"
- xmlns:tns="http://example.com/bank"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation=
- "http://www.w3.org/ns/wsdl
http://www.w3.org/ns/wsdl/wsdl20.xsd
- http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema.xsd" >
-
- <types>
- <xsd:schema targetNamespace="http://example.org/getAccountDetails/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:include
schemaLocation="http://test.com/getBalance.xsd" />
- <xsd:import namespace="http://example.org/getOverdraft"
-
schemaLocation="http://test.com/getOverdraft.xsd" />
- </xsd:schema>
- </types>
-
-
- <import namespace="http://example.com/bank"
location="http://test.com/importinterface.wsdl" />
- <!-- wsdl:import - expect location to be resolved. Namespace happens to be
same in this ex -->
-
- <include location="http://test.com/includebinding.wsdl" />
- <!-- wsdl:include - expect location to be resolved -->
-
- <!-- need wsdl:types schema include and import -->
-
- <service name="BankService"
- interface="tns:Bank">
- <endpoint name="BankSOAPEndpoint" binding="tns:BankSOAPBinding"/>
- </service>
-</description>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements. See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<!-- Tests resolving of :
+ description schemaLocation
+ wsdl:import location
+ wsdl:include location
+ wsdl:types xs:include schemaLocation
+ wsdl:types xs:include schemaLocation -->
+
+<description targetNamespace="http://example.com/bank"
+ xmlns="http://www.w3.org/ns/wsdl"
+ xmlns:tns="http://example.com/bank"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://www.w3.org/ns/wsdl
http://www.w3.org/ns/wsdl/wsdl20.xsd
+ http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema.xsd" >
+
+ <types>
+ <xsd:schema targetNamespace="http://example.org/getAccountDetails/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:include
schemaLocation="http://test.com/getBalance.xsd" />
+ <xsd:import namespace="http://example.org/getOverdraft"
+
schemaLocation="http://test.com/getOverdraft.xsd" />
+ </xsd:schema>
+ </types>
+
+
+ <import namespace="http://example.com/bank"
location="http://test.com/importinterface.wsdl" />
+ <!-- wsdl:import - expect location to be resolved. Namespace happens to be
same in this ex -->
+
+ <include location="http://test.com/includebinding.wsdl" />
+ <!-- wsdl:include - expect location to be resolved -->
+
+ <!-- need wsdl:types schema include and import -->
+
+ <service name="BankService"
+ interface="tns:Bank">
+ <endpoint name="BankSOAPEndpoint" binding="tns:BankSOAPBinding"/>
+ </service>
+</description>
Propchange:
incubator/woden/trunk/java/test/org/apache/woden/resolver/resources/woden14.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/test/org/apache/woden/schema/SchemaTest.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/schema/SchemaTest.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/schema/SchemaTest.java
(original)
+++ incubator/woden/trunk/java/test/org/apache/woden/schema/SchemaTest.java Thu
Aug 23 04:24:51 2007
@@ -1,85 +1,85 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.schema;
-
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import java.net.URI;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.apache.woden.XMLElement;
-import org.apache.woden.internal.DOMXMLElement;
-import org.apache.woden.internal.ErrorReporterImpl;
-import org.apache.woden.internal.schema.ImportedSchemaImpl;
-import org.apache.woden.internal.schema.InlinedSchemaImpl;
-import org.apache.ws.commons.schema.XmlSchema;
-import org.apache.ws.commons.schema.XmlSchemaCollection;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class SchemaTest extends TestCase {
-
- public static Test suite()
- {
- return new TestSuite(SchemaTest.class);
- }
-
- public void testSetGetNamespace() {
- Schema schema = new InlinedSchemaImpl();
- URI expectedNS = URI.create("http://example.com");
- schema.setNamespace(expectedNS);
- URI actualNS = schema.getNamespace();
- assertEquals("Unexpected namespace URI", expectedNS, actualNS);
- }
-
- public void testSetGetSchemaDefinition() throws Exception {
- String schemaString =
- "<schema targetNamespace=\"urn:abc\" />";
- byte[] schemaBytes = schemaString.getBytes();
- InputStream iStream = new ByteArrayInputStream(schemaBytes);
-
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- factory.setNamespaceAware(true);
- DocumentBuilder builder = factory.newDocumentBuilder();
- Document doc = builder.parse(iStream);
- Element elem = doc.getDocumentElement();
-
- XmlSchemaCollection xsc = new XmlSchemaCollection();
- XmlSchema expectedSchemaDef = xsc.read(elem);
-
- Schema schema = new InlinedSchemaImpl();
- schema.setSchemaDefinition(expectedSchemaDef);
- XmlSchema actualSchemaDef = schema.getSchemaDefinition();
- assertEquals("Unexpected XmlSchema", expectedSchemaDef,
actualSchemaDef);
- }
-
- public void testSetGetXMLElement() throws Exception {
- XMLElement expectedEl = null;
- expectedEl = new DOMXMLElement(new ErrorReporterImpl());
- Schema schema = new ImportedSchemaImpl();
- schema.setXMLElement(expectedEl);
- XMLElement actualEl = schema.getXMLElement();
- assertEquals("Unexpected XMLElement", expectedEl, actualEl);
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.schema;
+
+import java.io.ByteArrayInputStream;
+import java.io.InputStream;
+import java.net.URI;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.woden.XMLElement;
+import org.apache.woden.internal.DOMXMLElement;
+import org.apache.woden.internal.ErrorReporterImpl;
+import org.apache.woden.internal.schema.ImportedSchemaImpl;
+import org.apache.woden.internal.schema.InlinedSchemaImpl;
+import org.apache.ws.commons.schema.XmlSchema;
+import org.apache.ws.commons.schema.XmlSchemaCollection;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+public class SchemaTest extends TestCase {
+
+ public static Test suite()
+ {
+ return new TestSuite(SchemaTest.class);
+ }
+
+ public void testSetGetNamespace() {
+ Schema schema = new InlinedSchemaImpl();
+ URI expectedNS = URI.create("http://example.com");
+ schema.setNamespace(expectedNS);
+ URI actualNS = schema.getNamespace();
+ assertEquals("Unexpected namespace URI", expectedNS, actualNS);
+ }
+
+ public void testSetGetSchemaDefinition() throws Exception {
+ String schemaString =
+ "<schema targetNamespace=\"urn:abc\" />";
+ byte[] schemaBytes = schemaString.getBytes();
+ InputStream iStream = new ByteArrayInputStream(schemaBytes);
+
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ factory.setNamespaceAware(true);
+ DocumentBuilder builder = factory.newDocumentBuilder();
+ Document doc = builder.parse(iStream);
+ Element elem = doc.getDocumentElement();
+
+ XmlSchemaCollection xsc = new XmlSchemaCollection();
+ XmlSchema expectedSchemaDef = xsc.read(elem);
+
+ Schema schema = new InlinedSchemaImpl();
+ schema.setSchemaDefinition(expectedSchemaDef);
+ XmlSchema actualSchemaDef = schema.getSchemaDefinition();
+ assertEquals("Unexpected XmlSchema", expectedSchemaDef,
actualSchemaDef);
+ }
+
+ public void testSetGetXMLElement() throws Exception {
+ XMLElement expectedEl = null;
+ expectedEl = new DOMXMLElement(new ErrorReporterImpl());
+ Schema schema = new ImportedSchemaImpl();
+ schema.setXMLElement(expectedEl);
+ XMLElement actualEl = schema.getXMLElement();
+ assertEquals("Unexpected XMLElement", expectedEl, actualEl);
+ }
+
+}
Propchange:
incubator/woden/trunk/java/test/org/apache/woden/schema/SchemaTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTests.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTests.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTests.java
(original)
+++ incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTests.java
Thu Aug 23 04:24:51 2007
@@ -1,76 +1,76 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.tests;
-
-import javax.xml.namespace.QNameDeserializeTest;
-import javax.xml.namespace.QNameTest;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.woden.ant.ObjectIdTableTest;
-import org.apache.woden.schema.SchemaTest;
-import org.apache.woden.types.NCNameTest;
-import org.apache.woden.wsdl20.xml.ChildElementCreationTest;
-
-public class AllWodenTests extends TestSuite
-{
- /**
- * Create this test suite.
- *
- * @return This test suite.
- */
- public static Test suite()
- {
- return new AllWodenTests();
- }
-
- public static void main(String[] args) {
- junit.textui.TestRunner.run(AllWodenTests.suite());
- }
-
- /**
- * Constructor
- */
- public AllWodenTests()
- {
- super("AllWodenTests");
-
- String ver = System.getProperty("java.version");
- if(ver.startsWith("1.4"))
- {
- /*
- * From Java 5.0 the QName class is included in the jre and loaded
- * by the bootstrap classloader, so we don't want to run Woden's
QName
- * tests against the Java 5 implementation. However, we are running
in a
- * 1.4 jvm now, so the Woden QName class will be loaded and we do
want to
- * run the Woden junit tests for this class.
- */
- addTest(QNameTest.suite());
- addTest(QNameDeserializeTest.suite());
- }
-
- addTest(AllWodenTestsDOM.suite());
- addTest(AllWodenTestsOM.suite());
- addTest(ChildElementCreationTest.suite());
- addTest(NCNameTest.suite());
- addTest(ObjectIdTableTest.suite());
- addTest(SchemaTest.suite());
- //TODO in-progress 30May06 tests for BindingOpExt and BindingMsgRefExt
- }
-
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.tests;
+
+import javax.xml.namespace.QNameDeserializeTest;
+import javax.xml.namespace.QNameTest;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.woden.ant.ObjectIdTableTest;
+import org.apache.woden.schema.SchemaTest;
+import org.apache.woden.types.NCNameTest;
+import org.apache.woden.wsdl20.xml.ChildElementCreationTest;
+
+public class AllWodenTests extends TestSuite
+{
+ /**
+ * Create this test suite.
+ *
+ * @return This test suite.
+ */
+ public static Test suite()
+ {
+ return new AllWodenTests();
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(AllWodenTests.suite());
+ }
+
+ /**
+ * Constructor
+ */
+ public AllWodenTests()
+ {
+ super("AllWodenTests");
+
+ String ver = System.getProperty("java.version");
+ if(ver.startsWith("1.4"))
+ {
+ /*
+ * From Java 5.0 the QName class is included in the jre and loaded
+ * by the bootstrap classloader, so we don't want to run Woden's
QName
+ * tests against the Java 5 implementation. However, we are running
in a
+ * 1.4 jvm now, so the Woden QName class will be loaded and we do
want to
+ * run the Woden junit tests for this class.
+ */
+ addTest(QNameTest.suite());
+ addTest(QNameDeserializeTest.suite());
+ }
+
+ addTest(AllWodenTestsDOM.suite());
+ addTest(AllWodenTestsOM.suite());
+ addTest(ChildElementCreationTest.suite());
+ addTest(NCNameTest.suite());
+ addTest(ObjectIdTableTest.suite());
+ addTest(SchemaTest.suite());
+ //TODO in-progress 30May06 tests for BindingOpExt and BindingMsgRefExt
+ }
+
+}
Propchange:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTests.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsDOM.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsDOM.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
---
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsDOM.java
(original)
+++
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsDOM.java
Thu Aug 23 04:24:51 2007
@@ -1,160 +1,160 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.woden.DOMXMLElementTest;
-import org.apache.woden.WSDLFactoryTest;
-import org.apache.woden.WSDLReaderTest;
-import org.apache.woden.internal.ReaderFeaturesTest;
-import org.apache.woden.internal.wsdl20.validation.WSDLComponentValidatorTest;
-import org.apache.woden.internal.wsdl20.validation.WSDLDocumentValidatorTest;
-import org.apache.woden.resolver.SimpleURIResolverTest;
-import org.apache.woden.wsdl20.BindingFaultReferenceTest;
-import org.apache.woden.wsdl20.BindingFaultTest;
-import org.apache.woden.wsdl20.BindingMessageReferenceTest;
-import org.apache.woden.wsdl20.BindingOperationTest;
-import org.apache.woden.wsdl20.BindingTest;
-import org.apache.woden.wsdl20.DescriptionTest;
-import org.apache.woden.wsdl20.ElementDeclarationTest;
-import org.apache.woden.wsdl20.EndpointTest;
-import org.apache.woden.wsdl20.InterfaceFaultReferenceTest;
-import org.apache.woden.wsdl20.InterfaceFaultTest;
-import org.apache.woden.wsdl20.InterfaceMessageReferenceTest;
-import org.apache.woden.wsdl20.InterfaceOperationTest;
-import org.apache.woden.wsdl20.InterfaceTest;
-import org.apache.woden.wsdl20.ServiceTest;
-import org.apache.woden.wsdl20.TypeDefinitionTest;
-import org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensionsTest;
-import org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensionsTest;
-import
org.apache.woden.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensionsTest;
-import
org.apache.woden.wsdl20.extensions.http.HTTPBindingOperationExtensionsTest;
-import org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensionsTest;
-import org.apache.woden.wsdl20.extensions.http.HTTPLocationTemplateTest;
-import org.apache.woden.wsdl20.extensions.http.HTTPLocationTest;
-import org.apache.woden.wsdl20.extensions.soap.SOAPBindingExtensionsTest;
-import org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultExtensionsTest;
-import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultReferenceExtensionsTest;
-import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensionsTest;
-import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingOperationExtensionsTest;
-import org.apache.woden.wsdl20.fragids.FragmentIdentificationTest;
-import org.apache.woden.wsdl20.xml.BindingElementTest;
-import org.apache.woden.wsdl20.xml.BindingFaultElementTest;
-import org.apache.woden.wsdl20.xml.BindingFaultReferenceElementTest;
-import org.apache.woden.wsdl20.xml.BindingMessageReferenceElementTest;
-import org.apache.woden.wsdl20.xml.BindingOperationElementTest;
-import org.apache.woden.wsdl20.xml.DescriptiontElementTest;
-import org.apache.woden.wsdl20.xml.DocumentationElementTest;
-import org.apache.woden.wsdl20.xml.EndpointElementTest;
-import org.apache.woden.wsdl20.xml.ImportElementTest;
-import org.apache.woden.wsdl20.xml.IncludeElementTest;
-import org.apache.woden.wsdl20.xml.InterfaceElementTest;
-import org.apache.woden.wsdl20.xml.InterfaceFaultElementTest;
-import org.apache.woden.wsdl20.xml.InterfaceFaultReferenceElementTest;
-import org.apache.woden.wsdl20.xml.InterfaceMessageReferenceElementTest;
-import org.apache.woden.wsdl20.xml.InterfaceOperationElementTest;
-import org.apache.woden.wsdl20.xml.NameAttributeTest;
-import org.apache.woden.wsdl20.xml.ServiceElementTest;
-import org.apache.woden.wsdl20.xml.TypesElementTest;
-import org.apache.woden.xml.IntOrTokenAttrTest;
-import org.apache.woden.xml.TokenAttrTest;
-
-public class AllWodenTestsDOM extends TestSuite
-{
- /**
- * Create this test suite.
- *
- * @return This test suite.
- */
- public static Test suite()
- {
- return new AllWodenTestsDOM();
- }
-
- public static void main(String[] args) {
- junit.textui.TestRunner.run(AllWodenTestsDOM.suite());
- }
-
- /**
- * Constructor
- */
- public AllWodenTestsDOM()
- {
- super("AllWodenTestsDOM");
-
- addTest(WSDLFactoryTest.suite());
- addTest(WSDLReaderTest.suite());
- addTest(DOMXMLElementTest.suite());
- addTest(W3CTestSuiteTest.suite());
- addTestSuite(ReaderFeaturesTest.class);
- addTest(WSDLDocumentValidatorTest.suite());
- addTest(WSDLComponentValidatorTest.suite());
- addTest(ServiceElementTest.suite());
- addTest(EndpointElementTest.suite());
- addTest(NameAttributeTest.suite());
- addTest(IntOrTokenAttrTest.suite());
- addTest(TokenAttrTest.suite());
- addTest(SOAPBindingExtensionsTest.suite());
- addTest(SOAPBindingFaultExtensionsTest.suite());
- addTest(SOAPBindingOperationExtensionsTest.suite());
- addTest(SOAPBindingMessageReferenceExtensionsTest.suite());
- addTest(SOAPBindingFaultReferenceExtensionsTest.suite());
- addTest(HTTPBindingExtensionsTest.suite());
- addTest(HTTPBindingFaultExtensionsTest.suite());
- addTest(HTTPBindingOperationExtensionsTest.suite());
- addTest(HTTPBindingMessageReferenceExtensionsTest.suite());
- addTest(HTTPLocationTest.suite());
- addTest(HTTPLocationTemplateTest.suite());
- addTest(HTTPEndpointExtensionsTest.suite());
- addTest(SimpleURIResolverTest.suite());
- addTest(ImportElementTest.suite());
- addTest(IncludeElementTest.suite());
- addTest(EndpointTest.suite());
- addTest(ServiceTest.suite());
- addTest(DescriptionTest.suite());
- addTest(DescriptiontElementTest.suite());
- addTest(TypesElementTest.suite());
- addTest(ElementDeclarationTest.suite());
- addTest(TypeDefinitionTest.suite());
- addTest(InterfaceElementTest.suite());
- addTest(InterfaceFaultElementTest.suite());
- addTest(InterfaceOperationElementTest.suite());
- addTest(InterfaceFaultReferenceElementTest.suite());
- addTest(InterfaceMessageReferenceElementTest.suite());
- addTest(InterfaceTest.suite());
- addTest(InterfaceFaultTest.suite());
- addTest(InterfaceOperationTest.suite());
- addTest(InterfaceFaultReferenceTest.suite());
- addTest(InterfaceMessageReferenceTest.suite());
- addTest(BindingElementTest.suite());
- addTest(BindingFaultElementTest.suite());
- addTest(BindingOperationElementTest.suite());
- addTest(BindingFaultReferenceElementTest.suite());
- addTest(BindingMessageReferenceElementTest.suite());
- addTest(BindingTest.suite());
- addTest(BindingFaultTest.suite());
- addTest(BindingOperationTest.suite());
- addTest(BindingFaultReferenceTest.suite());
- addTest(BindingMessageReferenceTest.suite());
- addTest(DocumentationElementTest.suite());
- addTest(FragmentIdentificationTest.suite());
- //TODO in-progress 30May06 tests for BindingOpExt and BindingMsgRefExt
- }
-
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.woden.DOMXMLElementTest;
+import org.apache.woden.WSDLFactoryTest;
+import org.apache.woden.WSDLReaderTest;
+import org.apache.woden.internal.ReaderFeaturesTest;
+import org.apache.woden.internal.wsdl20.validation.WSDLComponentValidatorTest;
+import org.apache.woden.internal.wsdl20.validation.WSDLDocumentValidatorTest;
+import org.apache.woden.resolver.SimpleURIResolverTest;
+import org.apache.woden.wsdl20.BindingFaultReferenceTest;
+import org.apache.woden.wsdl20.BindingFaultTest;
+import org.apache.woden.wsdl20.BindingMessageReferenceTest;
+import org.apache.woden.wsdl20.BindingOperationTest;
+import org.apache.woden.wsdl20.BindingTest;
+import org.apache.woden.wsdl20.DescriptionTest;
+import org.apache.woden.wsdl20.ElementDeclarationTest;
+import org.apache.woden.wsdl20.EndpointTest;
+import org.apache.woden.wsdl20.InterfaceFaultReferenceTest;
+import org.apache.woden.wsdl20.InterfaceFaultTest;
+import org.apache.woden.wsdl20.InterfaceMessageReferenceTest;
+import org.apache.woden.wsdl20.InterfaceOperationTest;
+import org.apache.woden.wsdl20.InterfaceTest;
+import org.apache.woden.wsdl20.ServiceTest;
+import org.apache.woden.wsdl20.TypeDefinitionTest;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensionsTest;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensionsTest;
+import
org.apache.woden.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensionsTest;
+import
org.apache.woden.wsdl20.extensions.http.HTTPBindingOperationExtensionsTest;
+import org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensionsTest;
+import org.apache.woden.wsdl20.extensions.http.HTTPLocationTemplateTest;
+import org.apache.woden.wsdl20.extensions.http.HTTPLocationTest;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingExtensionsTest;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultExtensionsTest;
+import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultReferenceExtensionsTest;
+import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensionsTest;
+import
org.apache.woden.wsdl20.extensions.soap.SOAPBindingOperationExtensionsTest;
+import org.apache.woden.wsdl20.fragids.FragmentIdentificationTest;
+import org.apache.woden.wsdl20.xml.BindingElementTest;
+import org.apache.woden.wsdl20.xml.BindingFaultElementTest;
+import org.apache.woden.wsdl20.xml.BindingFaultReferenceElementTest;
+import org.apache.woden.wsdl20.xml.BindingMessageReferenceElementTest;
+import org.apache.woden.wsdl20.xml.BindingOperationElementTest;
+import org.apache.woden.wsdl20.xml.DescriptiontElementTest;
+import org.apache.woden.wsdl20.xml.DocumentationElementTest;
+import org.apache.woden.wsdl20.xml.EndpointElementTest;
+import org.apache.woden.wsdl20.xml.ImportElementTest;
+import org.apache.woden.wsdl20.xml.IncludeElementTest;
+import org.apache.woden.wsdl20.xml.InterfaceElementTest;
+import org.apache.woden.wsdl20.xml.InterfaceFaultElementTest;
+import org.apache.woden.wsdl20.xml.InterfaceFaultReferenceElementTest;
+import org.apache.woden.wsdl20.xml.InterfaceMessageReferenceElementTest;
+import org.apache.woden.wsdl20.xml.InterfaceOperationElementTest;
+import org.apache.woden.wsdl20.xml.NameAttributeTest;
+import org.apache.woden.wsdl20.xml.ServiceElementTest;
+import org.apache.woden.wsdl20.xml.TypesElementTest;
+import org.apache.woden.xml.IntOrTokenAttrTest;
+import org.apache.woden.xml.TokenAttrTest;
+
+public class AllWodenTestsDOM extends TestSuite
+{
+ /**
+ * Create this test suite.
+ *
+ * @return This test suite.
+ */
+ public static Test suite()
+ {
+ return new AllWodenTestsDOM();
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(AllWodenTestsDOM.suite());
+ }
+
+ /**
+ * Constructor
+ */
+ public AllWodenTestsDOM()
+ {
+ super("AllWodenTestsDOM");
+
+ addTest(WSDLFactoryTest.suite());
+ addTest(WSDLReaderTest.suite());
+ addTest(DOMXMLElementTest.suite());
+ addTest(W3CTestSuiteTest.suite());
+ addTestSuite(ReaderFeaturesTest.class);
+ addTest(WSDLDocumentValidatorTest.suite());
+ addTest(WSDLComponentValidatorTest.suite());
+ addTest(ServiceElementTest.suite());
+ addTest(EndpointElementTest.suite());
+ addTest(NameAttributeTest.suite());
+ addTest(IntOrTokenAttrTest.suite());
+ addTest(TokenAttrTest.suite());
+ addTest(SOAPBindingExtensionsTest.suite());
+ addTest(SOAPBindingFaultExtensionsTest.suite());
+ addTest(SOAPBindingOperationExtensionsTest.suite());
+ addTest(SOAPBindingMessageReferenceExtensionsTest.suite());
+ addTest(SOAPBindingFaultReferenceExtensionsTest.suite());
+ addTest(HTTPBindingExtensionsTest.suite());
+ addTest(HTTPBindingFaultExtensionsTest.suite());
+ addTest(HTTPBindingOperationExtensionsTest.suite());
+ addTest(HTTPBindingMessageReferenceExtensionsTest.suite());
+ addTest(HTTPLocationTest.suite());
+ addTest(HTTPLocationTemplateTest.suite());
+ addTest(HTTPEndpointExtensionsTest.suite());
+ addTest(SimpleURIResolverTest.suite());
+ addTest(ImportElementTest.suite());
+ addTest(IncludeElementTest.suite());
+ addTest(EndpointTest.suite());
+ addTest(ServiceTest.suite());
+ addTest(DescriptionTest.suite());
+ addTest(DescriptiontElementTest.suite());
+ addTest(TypesElementTest.suite());
+ addTest(ElementDeclarationTest.suite());
+ addTest(TypeDefinitionTest.suite());
+ addTest(InterfaceElementTest.suite());
+ addTest(InterfaceFaultElementTest.suite());
+ addTest(InterfaceOperationElementTest.suite());
+ addTest(InterfaceFaultReferenceElementTest.suite());
+ addTest(InterfaceMessageReferenceElementTest.suite());
+ addTest(InterfaceTest.suite());
+ addTest(InterfaceFaultTest.suite());
+ addTest(InterfaceOperationTest.suite());
+ addTest(InterfaceFaultReferenceTest.suite());
+ addTest(InterfaceMessageReferenceTest.suite());
+ addTest(BindingElementTest.suite());
+ addTest(BindingFaultElementTest.suite());
+ addTest(BindingOperationElementTest.suite());
+ addTest(BindingFaultReferenceElementTest.suite());
+ addTest(BindingMessageReferenceElementTest.suite());
+ addTest(BindingTest.suite());
+ addTest(BindingFaultTest.suite());
+ addTest(BindingOperationTest.suite());
+ addTest(BindingFaultReferenceTest.suite());
+ addTest(BindingMessageReferenceTest.suite());
+ addTest(DocumentationElementTest.suite());
+ addTest(FragmentIdentificationTest.suite());
+ //TODO in-progress 30May06 tests for BindingOpExt and BindingMsgRefExt
+ }
+
+}
Propchange:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsDOM.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsOM.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsOM.java?rev=568937&r1=568936&r2=568937&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsOM.java
(original)
+++ incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsOM.java
Thu Aug 23 04:24:51 2007
@@ -1,59 +1,59 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.woden.OMWSDLFactoryTest;
-import org.apache.woden.OMWSDLReaderTest;
-import org.apache.woden.OMXMLElementTest;
-import org.apache.woden.resolver.OMSimpleURIResolverTest;
-import org.apache.woden.wsdl20.xml.OMEndpointElementTest;
-import org.apache.woden.wsdl20.xml.OMServiceElementTest;
-
-public class AllWodenTestsOM extends TestSuite{
-
- /**
- * Create this test suite.
- *
- * @return This test suite.
- */
- public static Test suite(){
- return new AllWodenTestsOM();
- }
-
- public static void main(String[] args) {
- junit.textui.TestRunner.run(AllWodenTestsOM.suite());
- }
-
- /**
- * Constructor
- */
- public AllWodenTestsOM(){
- super("AllWodenTestsOM");
-
- addTest(OMWSDLFactoryTest.suite());
- addTest(OMWSDLReaderTest.suite());
- addTest(OMW3CTestSuiteTest.suite());
- addTest(OMServiceElementTest.suite());
- addTest(OMEndpointElementTest.suite());
- addTest(OMSimpleURIResolverTest.suite());
- addTest(OMXMLElementTest.suite());
- }
-
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.woden.OMWSDLFactoryTest;
+import org.apache.woden.OMWSDLReaderTest;
+import org.apache.woden.OMXMLElementTest;
+import org.apache.woden.resolver.OMSimpleURIResolverTest;
+import org.apache.woden.wsdl20.xml.OMEndpointElementTest;
+import org.apache.woden.wsdl20.xml.OMServiceElementTest;
+
+public class AllWodenTestsOM extends TestSuite{
+
+ /**
+ * Create this test suite.
+ *
+ * @return This test suite.
+ */
+ public static Test suite(){
+ return new AllWodenTestsOM();
+ }
+
+ public static void main(String[] args) {
+ junit.textui.TestRunner.run(AllWodenTestsOM.suite());
+ }
+
+ /**
+ * Constructor
+ */
+ public AllWodenTestsOM(){
+ super("AllWodenTestsOM");
+
+ addTest(OMWSDLFactoryTest.suite());
+ addTest(OMWSDLReaderTest.suite());
+ addTest(OMW3CTestSuiteTest.suite());
+ addTest(OMServiceElementTest.suite());
+ addTest(OMEndpointElementTest.suite());
+ addTest(OMSimpleURIResolverTest.suite());
+ addTest(OMXMLElementTest.suite());
+ }
+
+}
Propchange:
incubator/woden/trunk/java/test/org/apache/woden/tests/AllWodenTestsOM.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]