From 5940e91a4af209e7d3adbe90e98c4ff953993198 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 20 Apr 2012 14:45:50 +0000 Subject: rename XMLRPC to QXmppRpcMarshaller --- tests/tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/tests.cpp') diff --git a/tests/tests.cpp b/tests/tests.cpp index 5cfdf372..d68d2a39 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -1346,7 +1346,7 @@ static void checkVariant(const QVariant &value, const QByteArray &xml) QBuffer buffer; buffer.open(QIODevice::ReadWrite); QXmlStreamWriter writer(&buffer); - XMLRPC::marshall(&writer, value); + QXmppRpcMarshaller::marshall(&writer, value); qDebug() << "expect " << xml; qDebug() << "writing" << buffer.data(); QCOMPARE(buffer.data(), xml); @@ -1356,7 +1356,7 @@ static void checkVariant(const QVariant &value, const QByteArray &xml) QCOMPARE(doc.setContent(xml, true), true); QDomElement element = doc.documentElement(); QStringList errors; - QVariant test = XMLRPC::demarshall(element, errors); + QVariant test = QXmppRpcMarshaller::demarshall(element, errors); if (!errors.isEmpty()) qDebug() << errors; QCOMPARE(errors, QStringList()); -- cgit v1.2.3