autotests: presentwindows -> windowview
This commit is contained in:
parent
0860efecc3
commit
1d699a703d
1 changed files with 4 additions and 4 deletions
|
@ -298,8 +298,8 @@ void PointerInputTest::testWarpingDuringFilter()
|
||||||
QCOMPARE(window->pos(), QPoint(0, 0));
|
QCOMPARE(window->pos(), QPoint(0, 0));
|
||||||
QVERIFY(window->frameGeometry().contains(Cursors::self()->mouse()->pos()));
|
QVERIFY(window->frameGeometry().contains(Cursors::self()->mouse()->pos()));
|
||||||
|
|
||||||
// is PresentWindows effect for top left screen edge loaded
|
// is WindowView effect for top left screen edge loaded
|
||||||
QVERIFY(static_cast<EffectsHandlerImpl *>(effects)->isEffectLoaded("presentwindows"));
|
QVERIFY(static_cast<EffectsHandlerImpl *>(effects)->isEffectLoaded("windowview"));
|
||||||
QVERIFY(movedSpy.isEmpty());
|
QVERIFY(movedSpy.isEmpty());
|
||||||
quint32 timestamp = 0;
|
quint32 timestamp = 0;
|
||||||
Test::pointerMotion(QPoint(0, 0), timestamp++);
|
Test::pointerMotion(QPoint(0, 0), timestamp++);
|
||||||
|
@ -1569,9 +1569,9 @@ void PointerInputTest::testConfineToScreenGeometry()
|
||||||
// this test verifies that pointer belongs to at least one screen
|
// this test verifies that pointer belongs to at least one screen
|
||||||
// after moving it to off-screen area
|
// after moving it to off-screen area
|
||||||
|
|
||||||
// unload the Present Windows effect because it pushes back
|
// unload the Window View effect because it pushes back
|
||||||
// pointer if it's at (0, 0)
|
// pointer if it's at (0, 0)
|
||||||
static_cast<EffectsHandlerImpl *>(effects)->unloadEffect(QStringLiteral("presentwindows"));
|
static_cast<EffectsHandlerImpl *>(effects)->unloadEffect(QStringLiteral("windowview"));
|
||||||
|
|
||||||
// setup screen layout
|
// setup screen layout
|
||||||
const QVector<QRect> geometries{
|
const QVector<QRect> geometries{
|
||||||
|
|
Loading…
Reference in a new issue