serialization nearly ready for containment

This commit is contained in:
Marc Wäckerlin
2009-04-24 07:13:10 +00:00
parent 37fd5e8695
commit 17dc91d35e
6 changed files with 133 additions and 35 deletions

View File

@@ -11,7 +11,7 @@
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
class A: public xml::Serialization {
class A: public xml::Serialize {
public:
int _anInteger;
bool _aBool;
@@ -41,7 +41,7 @@ class SerializationTest: public CppUnit::TestFixture {
_a._aDouble = 123.456;
_a._aString = "Hello World";
_a._anotherString = "This is another Text";
_a._aLong = 4123674622;
_a._aLong = 4123674622ul;
try {
std::stringstream ss;
_a.saveXml(ss);