axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r157051 - webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java
Date Fri, 11 Mar 2005 07:11:32 GMT
Author: ajith
Date: Thu Mar 10 23:11:32 2005
New Revision: 157051

URL: http://svn.apache.org/viewcvs?view=rev&rev=157051
Log:
Modified the test so that it includes two tests to test the raw serialization with cache on
and off

Modified:
    webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java?view=diff&r1=157050&r2=157051
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java
(original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/serializer/NoNamespaceSerializerTest.java
Thu Mar 10 23:11:32 2005
@@ -60,7 +60,7 @@
     private XMLStreamReader readerTwo;
     private XMLStreamWriter writer;
 
-    private OMXMLParserWrapper builder;
+   // private OMXMLParserWrapper builder;
     // private File tempFile;
 
     private OMXMLParserWrapper builderOne;
@@ -124,8 +124,14 @@
 
     }
     public void testSerilizationWithCacheOn() throws Exception{
-       SOAPEnvelope env = (SOAPEnvelope) builder.getDocumentElement();
+       SOAPEnvelope env = (SOAPEnvelope) builderOne.getDocumentElement();
        env.serialize(writer,true);
+       writer.flush();
+    }
+
+     public void testSerilizationWithCacheOff() throws Exception{
+       SOAPEnvelope env = (SOAPEnvelope) builderOne.getDocumentElement();
+       env.serialize(writer,false);
        writer.flush();
     }
     }



Mime
View raw message