aboutsummaryrefslogtreecommitdiff
path: root/tests/rpc.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 22:16:24 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 22:16:24 +0200
commit0a584900db720454f06d136e6bdf445a8f87e8b7 (patch)
treec4b98aad62def1d9063abf9269c718a13d4b32b8 /tests/rpc.h
parent32183be3ef5fcbdca5b7f222e949898d5841a1a3 (diff)
downloadqxmpp-0a584900db720454f06d136e6bdf445a8f87e8b7.tar.gz
split out RPC and STUN tests
Diffstat (limited to 'tests/rpc.h')
-rw-r--r--tests/rpc.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/rpc.h b/tests/rpc.h
new file mode 100644
index 00000000..f3a0c5e0
--- /dev/null
+++ b/tests/rpc.h
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2008-2012 The QXmpp developers
+ *
+ * Author:
+ * Jeremy Lainé
+ *
+ * Source:
+ * http://code.google.com/p/qxmpp
+ *
+ * This file is a part of QXmpp library.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ */
+
+#include <QObject>
+
+class TestXmlRpc : public QObject
+{
+ Q_OBJECT
+
+private slots:
+ void testBase64();
+ void testBool();
+ void testDateTime();
+ void testDouble();
+ void testInt();
+ void testNil();
+ void testString();
+
+ void testArray();
+ void testStruct();
+
+ void testInvoke();
+ void testResponse();
+ void testResponseFault();
+};