autotests: Register ElectricBorder type
QSignalSpy yells about it. Tested-by: Merge Service <https://invent.kde.org/plasma/kwin/-/merge_requests/2460> Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2460>
This commit is contained in:
parent
7c849ee05a
commit
572a0904d8
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ Window *LockScreenTest::showWindow()
|
|||
void LockScreenTest::initTestCase()
|
||||
{
|
||||
qRegisterMetaType<KWin::Window *>();
|
||||
qRegisterMetaType<KWin::ElectricBorder>("ElectricBorder");
|
||||
|
||||
QSignalSpy applicationStartedSpy(kwinApp(), &Application::started);
|
||||
QVERIFY(applicationStartedSpy.isValid());
|
||||
kwinApp()->platform()->setInitialWindowSize(QSize(1280, 1024));
|
||||
|
|
Loading…
Reference in a new issue