ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1796224 - in /webservices/axiom/trunk/testing/axiom-testsuite: pom.xml src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java
Date Thu, 25 May 2017 23:03:06 GMT
Author: veithen
Date: Thu May 25 23:03:06 2017
New Revision: 1796224

URL: http://svn.apache.org/viewvc?rev=1796224&view=rev
Log:
AXIOM-311: Decouple axiom-testsuite from the axiom-api test-jar.

Modified:
    webservices/axiom/trunk/testing/axiom-testsuite/pom.xml
    webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java

Modified: webservices/axiom/trunk/testing/axiom-testsuite/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/pom.xml?rev=1796224&r1=1796223&r2=1796224&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/pom.xml (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/pom.xml Thu May 25 23:03:06 2017
@@ -61,12 +61,6 @@
             <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>axiom-api</artifactId>
-            <classifier>tests</classifier>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
             <groupId>xerces</groupId>
             <artifactId>xercesImpl</artifactId>
         </dependency>

Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java?rev=1796224&r1=1796223&r2=1796224&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java
(original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java
Thu May 25 23:03:06 2017
@@ -19,7 +19,6 @@
 
 package org.apache.axiom.ts.soap.builder;
 
-import org.apache.axiom.om.AbstractTestCase;
 import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.OMXMLBuilderFactory;
 import org.apache.axiom.soap.SOAPEnvelope;
@@ -40,7 +39,7 @@ public class BadInputTest extends AxiomT
         try {
             SOAPEnvelope soapEnvelope =
                     OMXMLBuilderFactory.createSOAPModelBuilder(metaFactory,
-                            AbstractTestCase.getTestResource("badsoap/" + file), null)
+                            BadInputTest.class.getClassLoader().getResourceAsStream("badsoap/"
+ file), null)
                             .getSOAPEnvelope();
             OMTestUtils.walkThrough(soapEnvelope);
             fail("this must failed gracefully with SOAPProcessingException");



Mime
View raw message