incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r499105 - /incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java
Date Tue, 23 Jan 2007 19:32:56 GMT
Author: bravi
Date: Tue Jan 23 11:32:56 2007
New Revision: 499105

URL: http://svn.apache.org/viewvc?view=rev&rev=499105
Log:
[YOKO-170] - Missed a test update in my earlier merge.

Modified:
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java?view=diff&rev=499105&r1=499104&r2=499105
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaStaxObjectTest.java
Tue Jan 23 11:32:56 2007
@@ -423,7 +423,7 @@
             XMLEventFactory factory = XMLEventFactory.newInstance();
             StartElement startEl = factory.createStartElement(objName, null, null);
             evtWriter.add(startEl);
-            staxObject.writeSequenceToStax(obj, evtWriter, factory);
+            staxObject.writeSequenceToStax(obj, evtWriter, factory, true);
             EndElement endEl = factory.createEndElement(obj.getName(), null);
             evtWriter.add(endEl);
             evtWriter.flush();
@@ -443,8 +443,9 @@
         assertNotNull(evtReader);
         
         CorbaObjectHandler result = staxObject.readSequenceFromStax(evtReader, 
-                                                                     obj.getIdlType(), 
-                                                                     obj.getTypeCode());
+                                                                    obj.getIdlType(), 
+                                                                    obj.getTypeCode(),
+                                                                    true);
         assertNotNull(result);
         
         assertTrue(result instanceof CorbaSequenceHandler);



Mime
View raw message