aboutsummaryrefslogtreecommitdiff
path: root/tests/presence.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-18 16:22:28 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-18 16:22:28 +0200
commitc0ddf372e5ccfdda3265bdf33bfc1276d9af6885 (patch)
tree39b9f55e97d5b0d2e5b21737d5a0e3dae6e9c527 /tests/presence.h
parentef9f9a57f1dd2e70d29afa26fa0d1ab38a5e3aca (diff)
downloadqxmpp-c0ddf372e5ccfdda3265bdf33bfc1276d9af6885.tar.gz
improve QXmppPresence coverage
Diffstat (limited to 'tests/presence.h')
-rw-r--r--tests/presence.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/presence.h b/tests/presence.h
new file mode 100644
index 00000000..1b6b1e50
--- /dev/null
+++ b/tests/presence.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2008-2012 The QXmpp developers
+ *
+ * Authors:
+ * Olivier Goffart
+ * 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 tst_QXmppPresence : public QObject
+{
+ Q_OBJECT
+
+private slots:
+ void testPresence();
+ void testPresence_data();
+ void testPresenceWithCapability();
+ void testPresenceWithMuc();
+};
+