lp:~mardy/signon-keyring-extension/mock-keyring
Created by
Alberto Mardegan
and last modified
- Get this branch:
- bzr branch lp:~mardy/signon-keyring-extension/mock-keyring
Only
Alberto Mardegan
can upload to this branch. If you are
Alberto Mardegan
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- David King (community): Approve
- jenkins (community): Approve (continuous-integration)
-
Diff: 417 lines (+345/-18)4 files modifiedtests/keyring-test.cpp (+3/-17)
tests/mocked-gnome-keyring.c (+304/-0)
tests/mocked-gnome-keyring.h (+36/-0)
tests/tests.pro (+2/-1)
Branch information
Recent revisions
- 14. By Alberto Mardegan
-
Don't use the real GNOME keyring when running tests
Mock the keyring APIs which we are using and act on a fake in-memory keyring.
- 10. By Alberto Mardegan
-
loadCredentials(): don't fail is username is not found
If the username is not secret, it might not be stored in the GNOME keyring;
therefore, don't fail if the username is not found. - 9. By Alberto Mardegan
-
Remove implementation of non-required methods
Those methods are no longer abstract; we don't need to provide an
implementation anymore. - 8. By Alberto Mardegan
-
Change display name of stored credentials
Do not store empty username or password.
- 5. By Alberto Mardegan
-
Perform keyring tests in another keyring
The reason why this was failing before is that GNOME keyring doesn't support
keyring names containing a "-".
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:signon-keyring-extension