From 7729fa4a4727c724df9e31cc524334f0629c558b Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 10 Aug 2010 09:04:12 +0000 Subject: 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 --- example/tests/tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example/tests/tests.cpp') 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); } -- cgit v1.2.3