mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 22:05:48 +00:00
one more iteration to try to fix tests on travis
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
|
||||
#include "testawkeys.h"
|
||||
|
||||
#include <KWindowSystem>
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusMessage>
|
||||
#include <QtTest>
|
||||
@ -112,6 +113,9 @@ void TestAWKeys::test_pattern()
|
||||
|
||||
void TestAWKeys::test_tooltip()
|
||||
{
|
||||
if (!KWindowSystem::workArea().isValid())
|
||||
QSKIP("KWin inactive, skip tooltip test");
|
||||
|
||||
QSignalSpy spy(plugin, SIGNAL(needToolTipToBeUpdated(const QString)));
|
||||
|
||||
QVERIFY(spy.wait(5 * interval));
|
||||
@ -164,6 +168,9 @@ void TestAWKeys::test_valueByKey()
|
||||
|
||||
void TestAWKeys::test_dbus()
|
||||
{
|
||||
if (!plugin->isDBusActive())
|
||||
QSKIP("No DBus session created, skip DBus test");
|
||||
|
||||
// get id
|
||||
qlonglong id = reinterpret_cast<qlonglong>(plugin);
|
||||
|
||||
|
Reference in New Issue
Block a user