aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;