Add content to the body that will be serialized
Just to make extra sure that the serializer works correctly.
This commit is contained in:
parent
a0ff36625d
commit
d3aec4887f
1 changed files with 1 additions and 0 deletions
|
@ -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("");
|
||||
|
|
Loading…
Reference in a new issue