Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
de59c3d9
Commit
de59c3d9
authored
Oct 28, 2016
by
Martin Flöser
Browse files
[autotests] Fix TestWaylandConnectionThread::testConnectFdNoSocketName
Same as
611df30e
for the next test method.
parent
611df30e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_wayland_connection_thread.cpp
View file @
de59c3d9
...
...
@@ -274,16 +274,18 @@ void TestWaylandConnectionThread::testConnectFdNoSocketName()
QVERIFY
(
connectedSpy
.
wait
());
// create the Registry
Registry
registry
;
QSignalSpy
announcedSpy
(
&
registry
,
SIGNAL
(
interfacesAnnounced
()));
QScopedPointer
<
Registry
>
registry
(
new
Registry
)
;
QSignalSpy
announcedSpy
(
registry
.
data
()
,
SIGNAL
(
interfacesAnnounced
()));
QVERIFY
(
announcedSpy
.
isValid
());
registry
.
create
(
connection
);
EventQueue
queue
;
queue
.
setup
(
connection
);
registry
.
setEventQueue
(
&
queue
);
registry
.
setup
();
registry
->
create
(
connection
);
QScopedPointer
<
EventQueue
>
queue
(
new
EventQueue
)
;
queue
->
setup
(
connection
);
registry
->
setEventQueue
(
queue
.
data
()
);
registry
->
setup
();
QVERIFY
(
announcedSpy
.
wait
());
registry
.
reset
();
queue
.
reset
();
connection
->
deleteLater
();
connectionThread
->
quit
();
connectionThread
->
wait
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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