fix KeyboardLayoutTest
FAIL! : KeyboardLayoutTest::testChangeLayoutThroughDBus() '!layoutChangedSpy.wait(1000)' returned FALSE. () Loc: [/home/bam/kde/src/kwin/autotests/integration/keyboard_layout_test.cpp(250)]
This commit is contained in:
parent
7301564e4f
commit
f30ad51bfd
1 changed files with 3 additions and 4 deletions
|
@ -237,10 +237,9 @@ void KeyboardLayoutTest::testChangeLayoutThroughDBus()
|
|||
QVERIFY(!reply.isError());
|
||||
QCOMPARE(reply.reply().arguments().first().toBool(), true);
|
||||
QCOMPARE(xkb->layoutName(), QStringLiteral("German"));
|
||||
// FIXME: need to pass
|
||||
// QVERIFY(layoutChangedSpy.wait(1000));
|
||||
// QCOMPARE(layoutChangedSpy.count(), 1);
|
||||
// layoutChangedSpy.clear();
|
||||
QVERIFY(layoutChangedSpy.wait(1000));
|
||||
QCOMPARE(layoutChangedSpy.count(), 1);
|
||||
layoutChangedSpy.clear();
|
||||
|
||||
// switching to same layout should also work
|
||||
reply = changeLayout(QStringLiteral("German"));
|
||||
|
|
Loading…
Reference in a new issue