keepassxc/tests/gui
Aetf a31c5ba006 FdoSecrets: Implement unlock before search
Fixes #6942 and fixes #4443

- Return number of deleted entries
- Fix minor memory leak
- FdoSecrets: make all prompt truly async per spec and update tests
    * the waited signal may already be emitted before calling spy.wait(),
      causing the test to fail. This commit checks the count before waiting.
    * check unlock result after waiting for signal
- FdoSecrets: implement unlockBeforeSearch option
- FdoSecrets: make search always work regardless of entry group searching settings, fixes #6942
- FdoSecrets: cleanup gracefully even if some test failed
- FdoSecrets: make it safe to call prompts concurrently
- FdoSecrets: make sure in unit test we click on the correct dialog

Note on the unit tests: objects are not deleted (due to deleteLater event not handled).
So there may be multiple AccessControlDialog. But only one of
it is visible and is the correctly one to click on.

Before this change, a random one may be clicked on, causing the
completed signal never be sent.
2021-10-16 22:50:04 -04:00
..
CMakeLists.txt FdoSecrets: Major Refactor and Code Consolidation (#5747) 2021-02-05 15:07:59 -05:00
TestGui.cpp Fix tests on macOS and update coverage config (#6945) 2021-09-26 12:35:42 +02:00
TestGui.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
TestGuiBrowser.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
TestGuiBrowser.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
TestGuiFdoSecrets.cpp FdoSecrets: Implement unlock before search 2021-10-16 22:50:04 -04:00
TestGuiFdoSecrets.h FdoSecrets: Implement unlock before search 2021-10-16 22:50:04 -04:00
TestGuiPixmaps.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
TestGuiPixmaps.h Optimize includes across code base 2021-07-13 22:08:33 -04:00