Merge lp://staging/~charlesk/indicator-power/lp-1373511-low-battery-warning into lp://staging/indicator-power/14.10
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 276 |
Merged at revision: | 269 |
Proposed branch: | lp://staging/~charlesk/indicator-power/lp-1373511-low-battery-warning |
Merge into: | lp://staging/indicator-power/14.10 |
Diff against target: |
917 lines (+547/-183) 11 files modified
data/com.canonical.indicator.power.Testing.xml (+39/-0) src/CMakeLists.txt (+6/-0) src/device-provider-mock.c (+1/-1) src/main.c (+6/-7) src/notifier.c (+34/-24) src/service.c (+13/-0) src/testing.c (+351/-0) src/testing.h (+66/-0) tests/CMakeLists.txt (+0/-9) tests/indicator-power-service-cmdline-battery.cc (+0/-127) tests/manual (+31/-15) |
To merge this branch: | bzr merge lp://staging/~charlesk/indicator-power/lp-1373511-low-battery-warning |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Antti Kaijanmäki (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
Add mock battery support to make QA testing easier.
Description of the change
Add mock battery support for QA testing.
From the tests/manual's notes:
The indicator's schema name is "com.canonical.
Example use:
$ gsettings list-recursively com.canonical.
$ gsettings set com.canonical.
$ gsettings set com.canonical.
$ gsettings reset-recursively com.canonical.
PASSED: Continuous integration, rev:270 jenkins. qa.ubuntu. com/job/ indicator- power-ci/ 140/ jenkins. qa.ubuntu. com/job/ indicator- power-utopic- amd64-ci/ 41 jenkins. qa.ubuntu. com/job/ indicator- power-utopic- armhf-ci/ 41 jenkins. qa.ubuntu. com/job/ indicator- power-utopic- armhf-ci/ 41/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/indicator- power-ci/ 140/rebuild
http://