aboutsummaryrefslogtreecommitdiff
path: root/example/tests
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 09:04:12 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 09:04:12 +0000
commit7729fa4a4727c724df9e31cc524334f0629c558b (patch)
tree5761e38927607ff8b8e6a9473447a1599cc7b26c /example/tests
parent7e200ac65474aba6069dca506db3bb57704d4fdd (diff)
downloadqxmpp-7729fa4a4727c724df9e31cc524334f0629c558b.tar.gz
RPC: splitting methodName should not be done at the QXmppRpcIq level,
it is perfectly legitimate to not use the INTERFACE.METHOD convention in a Jabber-RPC IQ
Diffstat (limited to 'example/tests')
-rw-r--r--example/tests/tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/tests/tests.cpp b/example/tests/tests.cpp
index 1da51be5..922bf23b 100644
--- a/example/tests/tests.cpp
+++ b/example/tests/tests.cpp
@@ -437,8 +437,7 @@ void TestXmlRpc::testInvoke()
QXmppRpcInvokeIq iq;
parsePacket(iq, xml);
- QCOMPARE(iq.interface(), QLatin1String("examples"));
- QCOMPARE(iq.method(), QLatin1String("getStateName"));
+ QCOMPARE(iq.method(), QLatin1String("examples.getStateName"));
QCOMPARE(iq.arguments(), QVariantList() << int(6));
serializePacket(iq, xml);
}