On Monday, January 20, 2014 12:32:04 PM David Faure wrote: > 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.
Ok, I see. I think I'll add a "test mode" to kwalletd where it won't show any dialogs. -- Valentin Rusu irc: valir _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel