Add content to the body that will be serialized

Just to make extra sure that the serializer works correctly.
This commit is contained in:
Àlex Fiestas 2014-09-13 00:16:26 +02:00
parent a0ff36625d
commit d3aec4887f

View file

@ -56,6 +56,7 @@ void NetworkPackageTests::networkPackageTest()
np.body().remove("hello");
QCOMPARE( (np.get<QString>("hello","bye")) , QString("bye") );
np.set("foo", "bar");
QByteArray ba = np.serialize();
//qDebug() << "Serialized package:" << ba;
NetworkPackage np2("");