CMake BUILD_TESTS variable added

TRUE and FALSE renamed to MTRUE and MFALSE
stream.h[cpp] renamed to msgpackstream.h[cpp]
QMap and QHash added to MsgPackStream + test
This commit is contained in:
Roman
2015-06-29 14:32:35 +03:00
parent 318aa870cd
commit ce6ddab5e4
11 changed files with 260 additions and 27 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ void PackTest::test_float()
void PackTest::test_str()
{
QString str = QStringLiteral("msgpack rocks");
QString str = QString("msgpack rocks");
QByteArray arr = MsgPack::pack(str);
QVERIFY(arr.size() == 14);
quint8 *p = (quint8 *)arr.data();