Fix tests when the Qt mobile app is not built

This commit is contained in:
Aleix Pol 2015-09-12 15:17:08 +02:00
parent fe2679a8a5
commit 3269b7a9c2

View file

@ -82,6 +82,11 @@ class PluginLoadTest : public QObject
d = id; d = id;
} }
} }
if (!d->loadedPlugins().contains("kdeconnect_remotecontrol")) {
QSKIP("kdeconnect_remotecontrol is required for this test");
}
QVERIFY(d); QVERIFY(d);
QVERIFY(d->isPaired()); QVERIFY(d->isPaired());
QVERIFY(d->isReachable()); QVERIFY(d->isReachable());