MsgPackStream QString and const char * added

Qt types: QPoint, QSize, QRect implemented using MsgPackStream
MsgPackStream QString tests added
This commit is contained in:
Roman committed 2015-05-19 22:41:22 +03:00
1 parent b7fbf6413e
commit f978fb0d78
11 files changed
+190 -141

No files matched your search

+2
View File
@@ -77,6 +77,8 @@ void QtTypesTest::test_qpoint()
packed = MsgPack::pack(pt);
QVERIFY(packed.size() == 9);
pt2 = MsgPack::unpack(packed).toPoint();
qDebug() << pt << pt2;
qDebug() << packed.toHex() << packed.size();
QVERIFY(pt == pt2);
pt = QPoint(std::numeric_limits<qint32>::max(), std::numeric_limits<qint32>::max());