diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-21 15:04:49 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-21 15:04:49 +0200 |
| commit | c69757fe8d23001e5154febc29ec1bc05ad3cd59 (patch) | |
| tree | 1b52df55f433c7eeac29c42a76ef0db8b8aae632 /tests/presence.cpp | |
| parent | d6694d3db35a553c8930bba083fcc3f5ed4ff124 (diff) | |
| download | qxmpp-c69757fe8d23001e5154febc29ec1bc05ad3cd59.tar.gz | |
add QXmppPresence::availableStatusType()
Diffstat (limited to 'tests/presence.cpp')
| -rw-r--r-- | tests/presence.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
