CI environment, kwallet & tests that pop windows

Valentin Rusu kde at rusu.info
Sun Jan 19 22:02:09 UTC 2014


Hello,

kwallet-framework tests now (correctly) work when launched from a KF5 session. 
kwalletd pop-ups password dialogs using KF5/Qt5 (yes!). 

I also added SKIP for the case where there's no graphical session, thinking 
that the CI does not have such an environment, but I was wrong :o)

QTest has a qWaitForWindowActive, but I think that my tests cannot use it, as 
the windows are shown by the kwalletd daemon, which is a separate process, 
launched via dbus activation.

Does somebody has an idea how to detect the KNewPasswordDialog and 
KPasswordDialog instances popping-up from the tests?


-- 
Valentin Rusu
irc: valir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140119/3fa3f2d2/attachment.sig>


More information about the Kde-frameworks-devel mailing list