aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 16:34:09 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-21 16:34:09 +0200
commitb36b77ceb53d02f1aea51b1dafb0b4b373b3ee70 (patch)
treee2bdf1d014271ec6cd48bc31e6061ca783f0624d /tests
parente8f3edc023e3d3da523a688c2d80fccbf37c4a79 (diff)
downloadqxmpp-b36b77ceb53d02f1aea51b1dafb0b4b373b3ee70.tar.gz
deprecate QXmppPresence::Status
Diffstat (limited to 'tests')
-rw-r--r--tests/presence.cpp2
-rw-r--r--tests/tests.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/presence.cpp b/tests/presence.cpp
index ce7168a6..de9bdfda 100644
--- a/tests/presence.cpp
+++ b/tests/presence.cpp
@@ -29,6 +29,8 @@
void tst_QXmppPresence::testPresence_data()
{
+ QXmppPresence foo;
+
QTest::addColumn<QByteArray>("xml");
QTest::addColumn<int>("type");
QTest::addColumn<int>("priority");
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 46e04aab..bf394d8e 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -1190,6 +1190,9 @@ int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
+ QXmppPresence pres;
+ pres.availableStatusType();
+
// run tests
int errors = 0;