aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-09-10 08:29:02 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-09-10 08:29:02 +0000
commitf43043e5ac727fc227d7c69673c8747507e72cf0 (patch)
treec3e0c01ecca774d6e8f772833b19984ff1c356cc /tests/tests.cpp
parent3488995080d1627f53a4f9215f3a3b67fadb98b1 (diff)
downloadqxmpp-f43043e5ac727fc227d7c69673c8747507e72cf0.tar.gz
define QXMPP_VERSION as a macro returning an integer (like QT_VERSION),
so that it is possible to write code such as: #if QXMPP_VERSION >= 0x000300 // we have QXmpp 0.3.0 or later #endif
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 875448ad..2899fbe1 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -132,7 +132,7 @@ void TestUtils::testMime()
void TestUtils::testLibVersion()
{
- QCOMPARE(QXmppVersion(), QString("0.3.0_unreleased"));
+ QCOMPARE(QXmppVersion(), QString("0.2.90"));
}
template <class T>