Merge lp:~ssweeny/location-service/cleanups into lp:location-service/trunk
Proposed by
Scott Sweeny
Status: | Merged |
---|---|
Approved by: | Scott Sweeny |
Approved revision: | 229 |
Merged at revision: | 230 |
Proposed branch: | lp:~ssweeny/location-service/cleanups |
Merge into: | lp:location-service/trunk |
Diff against target: |
283 lines (+135/-24) 8 files modified
include/location_service/com/ubuntu/location/provider_factory.h (+2/-0) src/location_service/com/ubuntu/location/provider_factory.cpp (+7/-2) src/location_service/com/ubuntu/location/service/daemon.cpp (+30/-22) src/location_service/com/ubuntu/location/service/daemon.h (+4/-0) src/location_service/com/ubuntu/location/service/program_options.h (+5/-0) tests/daemon_and_cli_tests.cpp (+40/-0) tests/mock_engine.h (+41/-0) tests/provider_factory_test.cpp (+6/-0) |
To merge this branch: | bzr merge lp:~ssweeny/location-service/cleanups |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomas Voß (community) | Approve | ||
Konrad Zapałowicz | Pending | ||
Review via email: mp+291048@code.launchpad.net |
This proposal supersedes a proposal from 2016-02-01.
Commit message
Small fixes around provider loading
Description of the change
A couple of small refactors previously discussed with tvoss:
* provider loading loop
* extracting undecorated provider names
Also, clear any stored daemon options before parsing new ones. They were persisting between test runs, which I believe invalidated the cli tests (happily with this fix they still pass).
To post a comment you must log in.
A suggestion inline, let me know what you think.