autotests: Register virtual keyboard service

Otherwise the input method test seems to fail with the following error

"The name org.kde.kwin.testvirtualkeyboard was not provided by any
.service files"
This commit is contained in:
Vlad Zahorodnii 2021-02-22 18:03:16 +02:00
parent b24fc72969
commit 94b63c16f2

View file

@ -57,6 +57,8 @@ private Q_SLOTS:
void InputMethodTest::initTestCase()
{
QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.kwin.testvirtualkeyboard"));
qRegisterMetaType<KWin::Deleted *>();
qRegisterMetaType<KWin::AbstractClient *>();
qRegisterMetaType<KWayland::Client::Output *>();