From ac8355268857aa50c3be0fed19edaf654c08b651 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 17 Jul 2012 10:04:56 +0200 Subject: QXmppArchiveRetrieveIq: replace "max" by result set management --- tests/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests.cpp') diff --git a/tests/tests.cpp b/tests/tests.cpp index 3264dc1b..53e854ac 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -282,7 +282,7 @@ void TestPackets::testArchiveRetrieve() QCOMPARE(iq.id(), QLatin1String("retrieve_1")); QCOMPARE(iq.with(), QLatin1String("juliet@capulet.com")); QCOMPARE(iq.start(), QDateTime(QDate(1469, 7, 21), QTime(2, 0, 0), Qt::UTC)); - QCOMPARE(iq.max(), 30); + QCOMPARE(iq.resultSetQuery().max(), 30); serializePacket(iq, xml); } -- cgit v1.2.3