From c69757fe8d23001e5154febc29ec1bc05ad3cd59 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sat, 21 Jul 2012 15:04:49 +0200 Subject: add QXmppPresence::availableStatusType() --- tests/presence.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/presence.cpp') diff --git a/tests/presence.cpp b/tests/presence.cpp index a9235d66..c693b0ac 100644 --- a/tests/presence.cpp +++ b/tests/presence.cpp @@ -77,13 +77,14 @@ void tst_QXmppPresence::testPresence() parsePacket(presence, xml); QCOMPARE(int(presence.type()), type); QCOMPARE(presence.priority(), priority); - QCOMPARE(int(presence.status().type()), statusType); + QCOMPARE(int(presence.availableStatusType()), statusType); QCOMPARE(presence.statusText(), statusText); QCOMPARE(int(presence.vCardUpdateType()), vcardUpdate); QCOMPARE(presence.photoHash(), photoHash); // legacy QCOMPARE(presence.status().priority(), priority); + QCOMPARE(int(presence.status().type()), statusType); QCOMPARE(presence.status().statusText(), statusText); serializePacket(presence, xml); -- cgit v1.2.3