-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests #6
Comments
plfiorini
added a commit
that referenced
this issue
Jul 30, 2015
With unit tests we want to fake an AccountsService daemon but of course we cannot register with the system bus. Adding a QDBusConnection argument to the constructor (that defaults to the system bus) allows us to pass a session bus for unit tests. Issue: #6
plfiorini
added a commit
that referenced
this issue
Jul 30, 2015
plfiorini
added a commit
that referenced
this issue
Jul 31, 2015
Test user caching and find. Issue: #6
plfiorini
added a commit
that referenced
this issue
Jul 31, 2015
plfiorini
added a commit
that referenced
this issue
Jul 31, 2015
For unit tests we need to use the session bus rather than the system bus. Make UserAccount use the same connection as AccountsManager. Issue: #6
plfiorini
added a commit
that referenced
this issue
Jul 31, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flesh out unit tests for the API.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: