diff options
| -rw-r--r-- | tests/tests.cpp | 6 | ||||
| -rw-r--r-- | tests/tests.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 98d0918e..911e7571 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -42,6 +42,7 @@ #include "QXmppUtils.h" #include "QXmppVCardIq.h" #include "QXmppVersionIq.h" +#include "QXmppGlobal.h" #include "tests.h" QString getImageType(const QByteArray &contents); @@ -129,6 +130,11 @@ void TestUtils::testMime() testMimeType("test.xpm", "image/x-xpm"); } +void TestUtils::testLibVersion() +{ + QCOMPARE(QXmppVersion(), QString("0.3.0_unreleased")); +} + template <class T> static void parsePacket(T &packet, const QByteArray &xml) { diff --git a/tests/tests.h b/tests/tests.h index 8618a54a..9ac549be 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -34,6 +34,7 @@ private slots: void testHmac(); void testJid(); void testMime(); + void testLibVersion(); }; class TestPackets : public QObject |
