serialization nearly ready for containment
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user