There is not way to set the daemon properties programatically
Bug #1249336 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Medium
|
Manuel de la Peña | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The lack of accessors for the daemon makes it quite hard to perform integration tests. We should be able to set the daemon stopable and disable the timer for each unit test.
Related branches
lp:~mandel/ubuntu-download-manager/programatically-set-daemon
- Roberto Alsina (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Diego Sarmentero (community): Approve
-
Diff: 454 lines (+329/-1)14 files modifiedlibubuntudownloadmanager/downloads/daemon.cpp (+60/-0)
libubuntudownloadmanager/downloads/daemon.h (+10/-0)
ubuntu-download-manager-tests/base_testcase.cpp (+12/-1)
ubuntu-download-manager-tests/base_testcase.h (+1/-0)
ubuntu-download-manager-tests/data/bad_cert.pem (+21/-0)
ubuntu-download-manager-tests/data/bad_key.pem (+28/-0)
ubuntu-download-manager-tests/data/cert.pem (+21/-0)
ubuntu-download-manager-tests/data/expired_cert.pem (+21/-0)
ubuntu-download-manager-tests/data/expired_key.pem (+28/-0)
ubuntu-download-manager-tests/data/key.pem (+28/-0)
ubuntu-download-manager-tests/data/nasty_cert.pem (+21/-0)
ubuntu-download-manager-tests/data/nasty_key.pem (+28/-0)
ubuntu-download-manager-tests/downloads/test_daemon.cpp (+45/-0)
ubuntu-download-manager-tests/downloads/test_daemon.h (+5/-0)
Changed in ubuntu-download-manager: | |
status: | Confirmed → In Progress |
Changed in ubuntu-download-manager: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-download-manager at revision 170, scheduled for release in ubuntu- download- manager, milestone 0.3