aboutsummaryrefslogtreecommitdiff
path: root/example/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/tests/tests.cpp')
-rw-r--r--example/tests/tests.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/tests/tests.cpp b/example/tests/tests.cpp
index 86c6d4c9..de48ef62 100644
--- a/example/tests/tests.cpp
+++ b/example/tests/tests.cpp
@@ -377,6 +377,12 @@ void TestXmlRpc::testInt()
QByteArray("<value><i4>-12</i4></value>"));
}
+void TestXmlRpc::testNil()
+{
+ checkVariant(QVariant(),
+ QByteArray("<value><nil/></value>"));
+}
+
void TestXmlRpc::testString()
{
checkVariant(QString("hello world"),