aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2012-07-06 18:50:46 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-16 16:15:27 +0200
commit99bd8884bc87fbdbbe3a053f3afda9155b914c0f (patch)
treed8aa44f27897dbb6057b3b87cf5bc3167890425e /tests/tests.cpp
parent1b445c310f9a3978c850c75f4070ba0ad7cb0523 (diff)
downloadqxmpp-99bd8884bc87fbdbbe3a053f3afda9155b914c0f.tar.gz
Ability to use more complex result set management while getting the archive list
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 a97a7255..f67fbc4f 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -208,7 +208,7 @@ void TestPackets::testArchiveList()
QCOMPARE(iq.with(), QLatin1String("juliet@capulet.com"));
QCOMPARE(iq.start(), QDateTime(QDate(1469, 7, 21), QTime(2, 0, 0), Qt::UTC));
QCOMPARE(iq.end(), QDateTime(QDate(1479, 7, 21), QTime(4, 0, 0), Qt::UTC));
- QCOMPARE(iq.max(), 30);
+ QCOMPARE(iq.resultSetQuery().max(), 30);
serializePacket(iq, xml);
}