axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: ws-axis/java/test/message TestSOAPHeader.java
Date Mon, 15 Mar 2004 13:26:10 GMT
gdaniels    2004/03/15 05:26:09

  Modified:    java/test/message TestSOAPHeader.java
  Log:
  Woops - didn't mean to commit work-in-progress which was subsumed
  by TestMUValues.  Thanks for noticing this, Ias.
  
  Revision  Changes    Path
  1.8       +0 -15     ws-axis/java/test/message/TestSOAPHeader.java
  
  Index: TestSOAPHeader.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/message/TestSOAPHeader.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TestSOAPHeader.java	14 Mar 2004 16:58:41 -0000	1.7
  +++ TestSOAPHeader.java	15 Mar 2004 13:26:09 -0000	1.8
  @@ -19,11 +19,9 @@
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import org.apache.axis.Constants;
  -import org.apache.axis.utils.XMLUtils;
   import org.apache.axis.message.SOAPEnvelope;
   import org.apache.axis.message.SOAPHeader;
   import org.apache.axis.message.SOAPHeaderElement;
  -import org.w3c.dom.Document;
   
   import javax.xml.soap.MessageFactory;
   import javax.xml.soap.MimeHeaders;
  @@ -33,7 +31,6 @@
   import javax.xml.soap.SOAPMessage;
   import javax.xml.soap.SOAPPart;
   import java.io.ByteArrayInputStream;
  -import java.io.InputStream;
   import java.util.Iterator;
   
   /**
  @@ -108,18 +105,6 @@
        * Method tearDown
        */
       protected void tearDown() {
  -    }
  -    
  -    public static final String muHeader =
  -            "<foo env:mustUnderstand=\"";
  -    public static final String muEnd = "\"/>";
  -    
  -    public void testBadMUValues() throws Exception {
  -        SOAPHeaderElement header;
  -        String headerText = muHeader + "true" + muEnd;
  -        InputStream is = new ByteArrayInputStream(headerText.getBytes());
  -        Document doc = XMLUtils.newDocument(is);
  -        header = new SOAPHeaderElement(doc.getDocumentElement());
       }
   
       /**
  
  
  

Mime
View raw message