aboutsummaryrefslogtreecommitdiff
path: root/source/tests.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-06-29 10:17:45 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-06-29 10:17:45 +0000
commit7bc846598f17eea663b265e682a016acdac6beca (patch)
tree44132884c5365553e8cbc265cd5fb0858052485c /source/tests.h
parent91ab7f10a2b8139926c09c25921511f93e2af51d (diff)
downloadqxmpp-7bc846598f17eea663b265e682a016acdac6beca.tar.gz
add unit tests for QXmpp parsing (not compiled for now)
Diffstat (limited to 'source/tests.h')
-rw-r--r--source/tests.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/source/tests.h b/source/tests.h
new file mode 100644
index 00000000..7d17e5bc
--- /dev/null
+++ b/source/tests.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2010 Bolloré telecom
+ *
+ * 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 TestPackets : public QObject
+{
+ Q_OBJECT
+
+private slots:
+ void testMessage();
+ void testMessageFull();
+ void testMessageDelay();
+ void testMessageLegacyDelay();
+ void testPresence();
+ void testPresenceFull();
+};
+