You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2013/01/25 21:45:04 UTC
svn commit: r1438694 - in /webservices/axiom/trunk/modules:
axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/
axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/
axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/ ax...
Author: veithen
Date: Fri Jan 25 20:45:03 2013
New Revision: 1438694
URL: http://svn.apache.org/viewvc?rev=1438694&view=rev
Log:
Implemented some SOAPFactory methods missing in DOOM.
Added:
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java (with props)
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultChild.java
- copied, changed from r1438189, webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultDetail.java
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultWithParent.java
- copied, changed from r1438189, webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFault.java
Removed:
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFault.java
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultDetail.java
Modified:
webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/DOMSOAPFactory.java
webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java
webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestSuiteBuilder.java
Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/DOMSOAPFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/DOMSOAPFactory.java?rev=1438694&r1=1438693&r2=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/DOMSOAPFactory.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/factory/DOMSOAPFactory.java Fri Jan 25 20:45:03 2013
@@ -31,7 +31,6 @@ import org.apache.axiom.soap.SOAPFault;
import org.apache.axiom.soap.SOAPFaultCode;
import org.apache.axiom.soap.SOAPFaultNode;
import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultRole;
import org.apache.axiom.soap.SOAPFaultSubCode;
import org.apache.axiom.soap.SOAPFaultText;
import org.apache.axiom.soap.SOAPFaultValue;
@@ -100,10 +99,6 @@ public abstract class DOMSOAPFactory ext
throw new UnsupportedOperationException("TODO");
}
- public SOAPFaultCode createSOAPFaultCode() throws SOAPProcessingException {
- throw new UnsupportedOperationException("TODO");
- }
-
public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
throw new UnsupportedOperationException("TODO");
}
@@ -112,10 +107,6 @@ public abstract class DOMSOAPFactory ext
throw new UnsupportedOperationException("TODO");
}
- public SOAPFaultReason createSOAPFaultReason() throws SOAPProcessingException {
- throw new UnsupportedOperationException("TODO");
- }
-
public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
throw new UnsupportedOperationException("TODO");
}
@@ -124,10 +115,6 @@ public abstract class DOMSOAPFactory ext
throw new UnsupportedOperationException("TODO");
}
- public SOAPFaultRole createSOAPFaultRole() throws SOAPProcessingException {
- throw new UnsupportedOperationException("TODO");
- }
-
public SOAPHeaderBlock createSOAPHeaderBlock(OMDataSource source) {
throw new UnsupportedOperationException("TODO");
}
Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java?rev=1438694&r1=1438693&r2=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java Fri Jan 25 20:45:03 2013
@@ -141,6 +141,10 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultCodeImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultCode createSOAPFaultCode() {
+ return new SOAP11FaultCodeImpl(null, null, null, this, true);
+ }
+
public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
throws SOAPProcessingException {
return new SOAP11FaultValueImpl(parent, this);
@@ -195,6 +199,10 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultReasonImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultReason createSOAPFaultReason() {
+ return new SOAP11FaultReasonImpl(null, null, null, this, true);
+ }
+
public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
throws SOAPProcessingException {
return new SOAP11FaultTextImpl(parent, this);
@@ -225,6 +233,10 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultRoleImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultRole createSOAPFaultRole() {
+ return new SOAP11FaultRoleImpl(null, null, null, this, true);
+ }
+
public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent)
throws SOAPProcessingException {
return new SOAP11FaultDetailImpl(parent, this);
@@ -235,7 +247,7 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultDetailImpl((ParentNode)parent, null, builder, this, false);
}
- public SOAPFaultDetail createSOAPFaultDetail() throws SOAPProcessingException {
+ public SOAPFaultDetail createSOAPFaultDetail() {
return new SOAP11FaultDetailImpl(null, null, null, this, true);
}
Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java?rev=1438694&r1=1438693&r2=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java Fri Jan 25 20:45:03 2013
@@ -133,6 +133,10 @@ public class SOAP12Factory extends DOMSO
return new SOAP12FaultCodeImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultCode createSOAPFaultCode() {
+ return new SOAP12FaultCodeImpl(null, getNamespace(), null, this, true);
+ }
+
public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
throws SOAPProcessingException {
return new SOAP12FaultValueImpl(parent, this);
@@ -186,6 +190,10 @@ public class SOAP12Factory extends DOMSO
return new SOAP12FaultReasonImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultReason createSOAPFaultReason() {
+ return new SOAP12FaultReasonImpl(null, getNamespace(), null, this, true);
+ }
+
public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
throws SOAPProcessingException {
return new SOAP12FaultTextImpl(parent, this);
@@ -214,6 +222,10 @@ public class SOAP12Factory extends DOMSO
return new SOAP12FaultRoleImpl((ParentNode)parent, null, builder, this, false);
}
+ public SOAPFaultRole createSOAPFaultRole() {
+ return new SOAP12FaultRoleImpl(null, getNamespace(), null, this, true);
+ }
+
public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) throws SOAPProcessingException {
return new SOAP12FaultDetailImpl(parent, this);
}
@@ -223,7 +235,7 @@ public class SOAP12Factory extends DOMSO
return new SOAP12FaultDetailImpl((ParentNode)parent, null, builder, this, false);
}
- public SOAPFaultDetail createSOAPFaultDetail() throws SOAPProcessingException {
+ public SOAPFaultDetail createSOAPFaultDetail() {
return new SOAP12FaultDetailImpl(null, getNamespace(), null, this, true);
}
Modified: webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java?rev=1438694&r1=1438693&r2=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java Fri Jan 25 20:45:03 2013
@@ -54,10 +54,10 @@ public class SOAPImplementationTest exte
// TODO: AXIOM-430
builder.exclude(TestSerialize.class, "(&(file=*/empty-header.xml)(|(serializationStrategy=OutputStream)(serializationStrategy=Writer)(serializationStrategy=XMLStreamWriter))(|(cache=true)(expand=fully)))");
- builder.exclude(TestChildOrder.class);
// TODO: AXIOM-392
builder.exclude(TestSerialize.class, "(&(file=*fault*)(|(serializationStrategy=OutputStream)(serializationStrategy=Writer)(serializationStrategy=XMLStreamWriter))(|(cache=true)(expand=fully)))");
+ builder.exclude(TestChildOrder.class, "(|(serializationStrategy=XMLStreamReader)(serializationStrategy=SAXSource))");
return builder.build();
}
Modified: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestSuiteBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestSuiteBuilder.java?rev=1438694&r1=1438693&r2=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestSuiteBuilder.java (original)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestSuiteBuilder.java Fri Jan 25 20:45:03 2013
@@ -27,6 +27,7 @@ import org.apache.axiom.soap.SOAP11Const
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axiom.soap.SOAPConstants;
import org.apache.axiom.testutils.suite.TestSuiteBuilder;
+import org.apache.axiom.ts.soap.factory.SOAPFaultChild;
import org.apache.axiom.ts.strategy.ExpansionStrategy;
import org.apache.axiom.ts.strategy.Strategies;
import org.apache.axiom.ts.strategy.serialization.SerializationStrategy;
@@ -59,6 +60,13 @@ public class SOAPTestSuiteBuilder extend
new QName(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI, "NoFault", SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX),
new QName(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI, "NoFault", SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX) };
+ private static final SOAPFaultChild[] soapFaultChildren = {
+ SOAPFaultChild.CODE,
+ SOAPFaultChild.REASON,
+ SOAPFaultChild.ROLE,
+ SOAPFaultChild.DETAIL,
+ };
+
private final OMMetaFactory metaFactory;
private final boolean supportsOMSourcedElement;
private final boolean supportsBodyElementNameOptimization;
@@ -146,8 +154,10 @@ public class SOAPTestSuiteBuilder extend
}
addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPEnvelope(metaFactory, spec));
addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPEnvelopeWithCustomPrefix(metaFactory, spec));
- addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPFault(metaFactory, spec));
- addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPFaultDetail(metaFactory, spec));
+ for (int i=0; i<soapFaultChildren.length; i++) {
+ addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPFaultChild(metaFactory, spec, soapFaultChildren[i]));
+ }
+ addTest(new org.apache.axiom.ts.soap.factory.TestCreateSOAPFaultWithParent(metaFactory, spec));
addTest(new org.apache.axiom.ts.soap.factory.TestFactoryIsSingleton(metaFactory, spec));
addTest(new org.apache.axiom.ts.soap.factory.TestGetDefaultEnvelope(metaFactory, spec));
addTest(new org.apache.axiom.ts.soap.factory.TestGetDefaultFaultEnvelope(metaFactory, spec));
Added: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java?rev=1438694&view=auto
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java (added)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java Fri Jan 25 20:45:03 2013
@@ -0,0 +1,106 @@
+/*
+ * 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.axiom.ts.soap.factory;
+
+import javax.xml.namespace.QName;
+
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axiom.soap.SOAPFault;
+import org.apache.axiom.ts.AxiomTestCase;
+import org.apache.axiom.ts.soap.SOAPSpec;
+import org.apache.axiom.ts.strategy.Strategy;
+
+public interface SOAPFaultChild extends Strategy {
+ SOAPFaultChild CODE = new SOAPFaultChild() {
+ public void addTestProperties(AxiomTestCase testCase) {
+ testCase.addTestProperty("type", "SOAPFaultCode");
+ }
+
+ public QName getQName(SOAPSpec spec) {
+ return spec.getFaultCodeQName();
+ }
+
+ public OMElement create(SOAPFactory factory) {
+ return factory.createSOAPFaultCode();
+ }
+
+ public OMElement create(SOAPFactory factory, SOAPFault parent) {
+ return factory.createSOAPFaultCode(parent);
+ }
+ };
+
+ SOAPFaultChild REASON = new SOAPFaultChild() {
+ public void addTestProperties(AxiomTestCase testCase) {
+ testCase.addTestProperty("type", "SOAPFaultReason");
+ }
+
+ public QName getQName(SOAPSpec spec) {
+ return spec.getFaultReasonQName();
+ }
+
+ public OMElement create(SOAPFactory factory) {
+ return factory.createSOAPFaultReason();
+ }
+
+ public OMElement create(SOAPFactory factory, SOAPFault parent) {
+ return factory.createSOAPFaultReason(parent);
+ }
+ };
+
+ SOAPFaultChild ROLE = new SOAPFaultChild() {
+ public void addTestProperties(AxiomTestCase testCase) {
+ testCase.addTestProperty("type", "SOAPFaultRole");
+ }
+
+ public QName getQName(SOAPSpec spec) {
+ return spec.getFaultRoleQName();
+ }
+
+ public OMElement create(SOAPFactory factory) {
+ return factory.createSOAPFaultRole();
+ }
+
+ public OMElement create(SOAPFactory factory, SOAPFault parent) {
+ return factory.createSOAPFaultRole(parent);
+ }
+ };
+
+ SOAPFaultChild DETAIL = new SOAPFaultChild() {
+ public void addTestProperties(AxiomTestCase testCase) {
+ testCase.addTestProperty("type", "SOAPFaultDetail");
+ }
+
+ public QName getQName(SOAPSpec spec) {
+ return spec.getFaultDetailQName();
+ }
+
+ public OMElement create(SOAPFactory factory) {
+ return factory.createSOAPFaultDetail();
+ }
+
+ public OMElement create(SOAPFactory factory, SOAPFault parent) {
+ return factory.createSOAPFaultDetail(parent);
+ }
+ };
+
+ QName getQName(SOAPSpec spec);
+ OMElement create(SOAPFactory factory);
+ OMElement create(SOAPFactory factory, SOAPFault parent);
+}
Propchange: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/SOAPFaultChild.java
------------------------------------------------------------------------------
svn:eol-style = native
Copied: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultChild.java (from r1438189, webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultDetail.java)
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultChild.java?p2=webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultChild.java&p1=webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultDetail.java&r1=1438189&r2=1438694&rev=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultDetail.java (original)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultChild.java Fri Jan 25 20:45:03 2013
@@ -18,18 +18,48 @@
*/
package org.apache.axiom.ts.soap.factory;
+import java.util.Iterator;
+
+import javax.xml.namespace.QName;
+
+import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMMetaFactory;
-import org.apache.axiom.soap.SOAPFaultDetail;
+import org.apache.axiom.om.OMNamespace;
+import org.apache.axiom.soap.SOAPConstants;
+import org.apache.axiom.soap.SOAPFactory;
import org.apache.axiom.ts.soap.SOAPSpec;
import org.apache.axiom.ts.soap.SOAPTestCase;
-public class TestCreateSOAPFaultDetail extends SOAPTestCase {
- public TestCreateSOAPFaultDetail(OMMetaFactory metaFactory, SOAPSpec spec) {
+/**
+ * Tests {@link SOAPFactory#createSOAPFaultCode()}, {@link SOAPFactory#createSOAPFaultReason()},
+ * {@link SOAPFactory#createSOAPFaultRole()} and {@link SOAPFactory#createSOAPFaultDetail()}.
+ */
+public class TestCreateSOAPFaultChild extends SOAPTestCase {
+ private final SOAPFaultChild type;
+
+ public TestCreateSOAPFaultChild(OMMetaFactory metaFactory, SOAPSpec spec, SOAPFaultChild type) {
super(metaFactory, spec);
+ this.type = type;
+ type.addTestProperties(this);
}
protected void runTest() throws Throwable {
- SOAPFaultDetail detail = soapFactory.createSOAPFaultDetail();
- assertEquals(spec.getFaultDetailQName(), detail.getQName());
+ QName expectedName = type.getQName(spec);
+ String expectedPrefix = expectedName.getNamespaceURI().length() == 0 ? "" : SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX;
+ OMElement child = type.create(soapFactory);
+ QName actualName = child.getQName();
+ assertEquals(expectedName, actualName);
+ assertEquals(expectedPrefix, actualName.getPrefix());
+ assertNull(child.getParent());
+ Iterator it = child.getAllDeclaredNamespaces();
+ if (expectedPrefix.length() != 0) {
+ assertTrue(it.hasNext());
+ OMNamespace ns = (OMNamespace)it.next();
+ assertEquals(expectedName.getNamespaceURI(), ns.getNamespaceURI());
+ assertEquals(expectedPrefix, ns.getPrefix());
+ }
+ assertFalse(it.hasNext());
+ assertFalse(child.getAllAttributes().hasNext());
+ assertNull(child.getFirstOMChild());
}
}
Copied: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultWithParent.java (from r1438189, webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFault.java)
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultWithParent.java?p2=webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultWithParent.java&p1=webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFault.java&r1=1438189&r2=1438694&rev=1438694&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFault.java (original)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestCreateSOAPFaultWithParent.java Fri Jan 25 20:45:03 2013
@@ -24,8 +24,8 @@ import org.apache.axiom.soap.SOAPFault;
import org.apache.axiom.ts.soap.SOAPSpec;
import org.apache.axiom.ts.soap.SOAPTestCase;
-public class TestCreateSOAPFault extends SOAPTestCase {
- public TestCreateSOAPFault(OMMetaFactory metaFactory, SOAPSpec spec) {
+public class TestCreateSOAPFaultWithParent extends SOAPTestCase {
+ public TestCreateSOAPFaultWithParent(OMMetaFactory metaFactory, SOAPSpec spec) {
super(metaFactory, spec);
}