ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1733142 - /webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java
Date Tue, 01 Mar 2016 20:50:35 GMT
Author: veithen
Date: Tue Mar  1 20:50:34 2016
New Revision: 1733142

URL: http://svn.apache.org/viewvc?rev=1733142&view=rev
Log:
Remove invalid test case which would add a second SOAPBody to an envelope.

Modified:
    webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java

Modified: webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java?rev=1733142&r1=1733141&r2=1733142&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java
(original)
+++ webservices/axiom/trunk/systests/old-tests/src/test/java/org/apache/axiom/om/factory/OMLinkedListImplFactoryTest.java
Tue Mar  1 20:50:34 2016
@@ -28,7 +28,6 @@ import org.apache.axiom.om.OMXMLBuilderF
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.TestConstants;
 import org.apache.axiom.soap.SOAP11Constants;
-import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPConstants;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
@@ -87,16 +86,6 @@ public class OMLinkedListImplFactoryTest
                      namespace);
     }
 
-    public void testCreateSOAPBody() throws Exception {
-        OMXMLParserWrapper omBuilder = OMXMLBuilderFactory.createSOAPModelBuilder(
-                getTestResource(TestConstants.MINIMAL_MESSAGE), null);
-        SOAPEnvelope soapEnvelope = (SOAPEnvelope) omBuilder.getDocumentElement();
-        SOAPBody soapBodyOne = omFactory.createSOAPBody(soapEnvelope);
-        assertTrue(
-                "Programatically created SOAPBody should have done = true ",
-                soapBodyOne.isComplete());
-    }
-
     public void testCreateSOAPEnvelope() throws Exception {
         omFactory.createOMNamespace(
                 SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,



Mime
View raw message