From c0ddf372e5ccfdda3265bdf33bfc1276d9af6885 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 18 Jul 2012 16:22:28 +0200 Subject: improve QXmppPresence coverage --- tests/presence.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tests/presence.h (limited to 'tests/presence.h') 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 + +class tst_QXmppPresence : public QObject +{ + Q_OBJECT + +private slots: + void testPresence(); + void testPresence_data(); + void testPresenceWithCapability(); + void testPresenceWithMuc(); +}; + -- cgit v1.2.3