Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KWin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
44
Merge Requests
44
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KWin
Commits
52563387
Commit
52563387
authored
Sep 18, 2017
by
Martin Flöser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[autotests] Force more tests to use evdev as XKB_DEFAULT_RULES
Should help fixing the tests on FreeBSD.
parent
d59f5997
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
autotests/integration/globalshortcuts_test.cpp
autotests/integration/globalshortcuts_test.cpp
+1
-0
autotests/integration/pointer_input.cpp
autotests/integration/pointer_input.cpp
+1
-0
autotests/integration/quick_tiling_test.cpp
autotests/integration/quick_tiling_test.cpp
+2
-0
autotests/integration/window_selection_test.cpp
autotests/integration/window_selection_test.cpp
+1
-0
No files found.
autotests/integration/globalshortcuts_test.cpp
View file @
52563387
...
...
@@ -71,6 +71,7 @@ void GlobalShortcutsTest::initTestCase()
kwinApp
()
->
setConfig
(
KSharedConfig
::
openConfig
(
QString
(),
KConfig
::
SimpleConfig
));
qputenv
(
"KWIN_XKB_DEFAULT_KEYMAP"
,
"1"
);
qputenv
(
"XKB_DEFAULT_RULES"
,
"evdev"
);
kwinApp
()
->
start
();
QVERIFY
(
workspaceCreatedSpy
.
wait
());
...
...
autotests/integration/pointer_input.cpp
View file @
52563387
...
...
@@ -99,6 +99,7 @@ void PointerInputTest::initTestCase()
qputenv
(
"XCURSOR_THEME"
,
QByteArrayLiteral
(
"DMZ-White"
));
qputenv
(
"XCURSOR_SIZE"
,
QByteArrayLiteral
(
"24"
));
qputenv
(
"XKB_DEFAULT_RULES"
,
"evdev"
);
kwinApp
()
->
start
();
QVERIFY
(
workspaceCreatedSpy
.
wait
());
...
...
autotests/integration/quick_tiling_test.cpp
View file @
52563387
...
...
@@ -101,6 +101,8 @@ void QuickTilingTest::initTestCase()
kwinApp
()
->
setConfig
(
config
);
qputenv
(
"XKB_DEFAULT_RULES"
,
"evdev"
);
kwinApp
()
->
start
();
QVERIFY
(
workspaceCreatedSpy
.
wait
());
QCOMPARE
(
screens
()
->
count
(),
2
);
...
...
autotests/integration/window_selection_test.cpp
View file @
52563387
...
...
@@ -71,6 +71,7 @@ void TestWindowSelection::initTestCase()
kwinApp
()
->
platform
()
->
setInitialWindowSize
(
QSize
(
1280
,
1024
));
QMetaObject
::
invokeMethod
(
kwinApp
()
->
platform
(),
"setOutputCount"
,
Qt
::
DirectConnection
,
Q_ARG
(
int
,
2
));
QVERIFY
(
waylandServer
()
->
init
(
s_socketName
.
toLocal8Bit
()));
qputenv
(
"XKB_DEFAULT_RULES"
,
"evdev"
);
kwinApp
()
->
start
();
QVERIFY
(
workspaceCreatedSpy
.
wait
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment