This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push:
new 4bea274b8 Make SOAPTestCase extend TestCase instead of AxiomTestCase
4bea274b8 is described below
commit 4bea274b8d8d3d8f33047d3655aa5b9fa94a06e1
Author: Andreas Veithen-Knowles <[email protected]>
AuthorDate: Sun May 10 16:45:04 2026 +0100
Make SOAPTestCase extend TestCase instead of AxiomTestCase
---
.../src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java | 8 +++++---
.../apache/axiom/ts/soap11/faultreason/TestGetTextWithCDATA.java | 3 ++-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git
a/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
b/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
index ae5a7102d..4551d028e 100644
---
a/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
+++
b/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
@@ -20,15 +20,17 @@ package org.apache.axiom.ts.soap;
import org.apache.axiom.om.OMMetaFactory;
import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.ts.AxiomTestCase;
-public abstract class SOAPTestCase extends AxiomTestCase {
+import junit.framework.TestCase;
+
+public abstract class SOAPTestCase extends TestCase {
+ protected final OMMetaFactory metaFactory;
protected final SOAPSpec spec;
protected SOAPFactory soapFactory;
protected SOAPFactory altSoapFactory;
public SOAPTestCase(OMMetaFactory metaFactory, SOAPSpec spec) {
- super(metaFactory);
+ this.metaFactory = metaFactory;
this.spec = spec;
}
diff --git
a/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap11/faultreason/TestGetTextWithCDATA.java
b/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap11/faultreason/TestGetTextWithCDATA.java
index 6ef5ee080..2878da419 100644
---
a/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap11/faultreason/TestGetTextWithCDATA.java
+++
b/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap11/faultreason/TestGetTextWithCDATA.java
@@ -32,6 +32,7 @@ import org.apache.axiom.soap.SOAPFaultReason;
import org.apache.axiom.soap.SOAPModelBuilder;
import org.apache.axiom.ts.soap.SOAPSpec;
import org.apache.axiom.ts.soap.SOAPTestCase;
+import org.apache.axiom.ts.AxiomTestCase;
import com.google.inject.Inject;
@@ -59,7 +60,7 @@ public class TestGetTextWithCDATA extends SOAPTestCase {
+ "</SOAP-ENV:Envelope>";
XMLStreamReader soap11Parser =
StAXUtils.createXMLStreamReader(
- TEST_PARSER_CONFIGURATION, new
StringReader(soap11Fault));
+ AxiomTestCase.TEST_PARSER_CONFIGURATION, new
StringReader(soap11Fault));
SOAPModelBuilder soap11Builder =
OMXMLBuilderFactory.createStAXSOAPModelBuilder(metaFactory,
soap11Parser);
OMElement element = soap11Builder.getDocumentElement();