D22119: [RFC] [autotests] In internal window test remove spy waits or guard them
David Edmundson
noreply at phabricator.kde.org
Thu Jun 27 14:39:26 BST 2019
davidedmundson added a comment.
One nice pattern when it's not important whether might need to run via an event loop or might have been done directly or via a previous event loop is:
QVERIFY(clientAddedSpy.count() ==1 || clientAddedSpy.wait());
we do that in a few places.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D22119
To: romangg, #kwin
Cc: davidedmundson, zzag, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190627/4de60df3/attachment.html>
More information about the kwin
mailing list