aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp4
1 files changed, 2 insertions, 2 deletions
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());