From 0ddeb10dbeb75d53946495014dadfe7884820b11 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Wed, 8 Sep 2010 05:48:56 +0000 Subject: add version check test --- tests/tests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/tests.cpp') 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 static void parsePacket(T &packet, const QByteArray &xml) { -- cgit v1.2.3