aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp6
1 files changed, 6 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)
{