On Sunday 19 January 2014 23:02:09 Valentin Rusu wrote:
> 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?

You can't do that, at least not portably nor easily.

It would be better to have a mode where the server replies "prepared answers"
*instead* of popping up a dialog.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to