You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2005/06/24 06:23:46 UTC

svn commit: r201563 [2/2] - in /webservices/axis/trunk/java/modules: core/src/org/apache/axis/transport/ core/src/org/apache/axis/transport/http/ saaj/src/org/apache/axis/saaj/ samples/src/sample/amazon/search/ samples/src/userguide/clients/ samples/te...

Modified: webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/serializer/OMSerailizerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/serializer/OMSerailizerTest.java?rev=201563&r1=201562&r2=201563&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/serializer/OMSerailizerTest.java (original)
+++ webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/serializer/OMSerailizerTest.java Thu Jun 23 21:23:43 2005
@@ -26,7 +26,7 @@
 import org.apache.axis.om.AbstractTestCase;
 import org.apache.axis.om.OMAbstractFactory;
 import org.apache.axis.om.OMXMLParserWrapper;
-import org.apache.axis.om.impl.llom.OMOutputer;
+import org.apache.axis.om.impl.llom.OMOutput;
 import org.apache.axis.om.impl.llom.factory.OMXMLBuilderFactory;
 import org.apache.axis.om.impl.llom.serialize.StreamingOMSerializer;
 import org.apache.axis.soap.SOAPBody;
@@ -34,7 +34,7 @@
 
 public class OMSerailizerTest extends AbstractTestCase {
     private XMLStreamReader reader;
-    private OMOutputer outputer;
+    private OMOutput omOutput;
     private File tempFile;
 
     public OMSerailizerTest(String testName) {
@@ -45,7 +45,7 @@
         reader = XMLInputFactory.newInstance().
                 createXMLStreamReader(new FileReader(getTestResourceFile("soap/soapmessage.xml")));
         tempFile = File.createTempFile("temp", "xml");
-        outputer = new OMOutputer(XMLOutputFactory.newInstance().
+        omOutput = new OMOutput(XMLOutputFactory.newInstance().
                 createXMLStreamWriter(new FileOutputStream(tempFile)));
         //        writer = XMLOutputFactory.newInstance().
         //                createXMLStreamWriter(System.out);
@@ -54,7 +54,7 @@
     public void testRawSerializer() throws Exception {
         StreamingOMSerializer serializer = new StreamingOMSerializer();
         //serializer.setNamespacePrefixStack(new Stack());
-        serializer.serialize(reader, outputer);
+        serializer.serialize(reader, omOutput);
 
     }
 
@@ -63,7 +63,7 @@
                 reader);
         SOAPEnvelope env = (SOAPEnvelope) builder.getDocumentElement();
         StreamingOMSerializer serializer = new StreamingOMSerializer();
-        serializer.serialize(env.getXMLStreamReaderWithoutCaching(), outputer);
+        serializer.serialize(env.getXMLStreamReaderWithoutCaching(), omOutput);
     }
 
     public void testElementPullStream1WithCacheOff() throws Exception {
@@ -71,7 +71,7 @@
                 reader);
         SOAPEnvelope env = (SOAPEnvelope) builder.getDocumentElement();
         StreamingOMSerializer serializer = new StreamingOMSerializer();
-        serializer.serialize(env.getXMLStreamReader(), outputer);
+        serializer.serialize(env.getXMLStreamReader(), omOutput);
     }
 
     public void testElementPullStream2() throws Exception {
@@ -80,11 +80,11 @@
         SOAPEnvelope env = (SOAPEnvelope) builder.getDocumentElement();
         SOAPBody body = env.getBody();
         StreamingOMSerializer serializer = new StreamingOMSerializer();
-        serializer.serialize(body.getXMLStreamReaderWithoutCaching(), outputer);
+        serializer.serialize(body.getXMLStreamReaderWithoutCaching(), omOutput);
     }
 
     protected void tearDown() throws Exception {
-        outputer.flush();
+        omOutput.flush();
         tempFile.delete();
     }
 }

Modified: webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java?rev=201563&r1=201562&r2=201563&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java (original)
+++ webservices/axis/trunk/java/modules/xml/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java Thu Jun 23 21:23:43 2005
@@ -25,7 +25,7 @@
 import org.apache.axis.om.AbstractTestCase;
 import org.apache.axis.om.OMAbstractFactory;
 import org.apache.axis.om.OMXMLParserWrapper;
-import org.apache.axis.om.impl.llom.OMOutputer;
+import org.apache.axis.om.impl.llom.OMOutput;
 import org.apache.axis.om.impl.llom.factory.OMXMLBuilderFactory;
 import org.apache.axis.soap.SOAPEnvelope;
 import org.apache.axis.soap.SOAPFactory;
@@ -50,9 +50,9 @@
     public void testStaxBuilder() throws Exception {
         SOAPEnvelope envelope = (SOAPEnvelope) builder.getDocumentElement();
         assertNotNull(envelope);
-        OMOutputer outputer = new OMOutputer(new FileOutputStream(tempFile),false);
+        OMOutput omOutput = new OMOutput(new FileOutputStream(tempFile),false);
         //        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
-        envelope.serializeWithCache(outputer);
+        envelope.serializeWithCache(omOutput);
 
 
     }

Modified: webservices/axis/trunk/java/modules/xml/test/org/apache/axis/soap/impl/llom/soap11/SOAP11SerialiserTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test/org/apache/axis/soap/impl/llom/soap11/SOAP11SerialiserTest.java?rev=201563&r1=201562&r2=201563&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test/org/apache/axis/soap/impl/llom/soap11/SOAP11SerialiserTest.java (original)
+++ webservices/axis/trunk/java/modules/xml/test/org/apache/axis/soap/impl/llom/soap11/SOAP11SerialiserTest.java Thu Jun 23 21:23:43 2005
@@ -1,7 +1,7 @@
 package org.apache.axis.soap.impl.llom.soap11;
 
 import org.apache.axis.om.OMTestCase;
-import org.apache.axis.om.impl.llom.OMOutputer;
+import org.apache.axis.om.impl.llom.OMOutput;
 import org.apache.axis.soap.impl.llom.builder.StAXSOAPModelBuilder;
 import org.apache.axis.soap.SOAPEnvelope;
 
@@ -28,7 +28,7 @@
  */
 
 public class SOAP11SerialiserTest extends OMTestCase{
-    private OMOutputer omOutput;
+    private OMOutput omOutput;
 
     public SOAP11SerialiserTest(String testName) {
         super(testName);
@@ -41,7 +41,7 @@
     protected void setUp() throws Exception {
         super.setUp();
         soapEnvelope = (SOAPEnvelope) getOMBuilder("soap/soap11fault.xml").getDocumentElement();
-        omOutput = new OMOutputer(XMLOutputFactory.newInstance().
+        omOutput = new OMOutput(XMLOutputFactory.newInstance().
                 createXMLStreamWriter(System.out));
     }