You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cs...@apache.org on 2006/05/18 19:24:54 UTC
svn commit: r407595 -
/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java
Author: cschoett
Date: Thu May 18 10:24:54 2006
New Revision: 407595
URL: http://svn.apache.org/viewvc?rev=407595&view=rev
Log:
Fix to the WSC's serialization DRT for new bean context structure.
Modified:
beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java
Modified: beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java
URL: http://svn.apache.org/viewvc/beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java?rev=407595&r1=407594&r2=407595&view=diff
==============================================================================
--- beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java (original)
+++ beehive/trunk/system-controls/test/webservice/webapp/tests/org/apache/beehive/controls/system/webservice/units/WscSerializationTest.java Thu May 18 10:24:54 2006
@@ -75,14 +75,14 @@
File serFile = File.createTempFile("wsc", "ser");
ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(serFile));
ControlTestContainerContext ctcc = (ControlTestContainerContext)ccc;
- ctcc.writeChildren(oos);
+ oos.writeObject(ctcc);
oos.close();
//
// deserialize the ctcc contents
//
ObjectInputStream ois = new ObjectInputStream(new FileInputStream(serFile));
- ctcc.readChildren(ois);
+ ctcc = (ControlTestContainerContext)ois.readObject();
ois.close();
serFile.delete();