Closed
Bug 735970
Opened 13 years ago
Closed 13 years ago
Add xpcshell tests for version upgrades and version downgrades inside updater code
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
Attachments
(1 file, 1 obsolete file)
9.53 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
We should sign a MAR with version number 0 to test version downgrades that should not work. We should get a status code of 23 in this case.
We should sign a MAR with version number * to test version upgrades that should work. We should get a status code of 0 in this case.
The tests should run for the updater instead of the service since the updater is easier for people to test in a larger number of environments.
This can only land after:
Bug 735969 - Revert the disable version downgrade check workaround
Assignee | ||
Comment 1•13 years ago
|
||
I was originally thinking these tests needed to be in the libmar test suite but the code for these checks are in updater so the tests need to go there.
Attachment #610805 -
Flags: review?(robert.bugzilla)
![]() |
||
Comment 2•13 years ago
|
||
Comment on attachment 610805 [details] [diff] [review]
Patch v1.
Looks good overall but could you:
1. give a descriptive name to the test files.
2. keep the tests alphabetical in order in the xpcshell ini file so the names with the numbers determine the order they run. It used to be they just ran in that order before the xpcshell ini files were added.
Attachment #610805 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Will do, thanks for the review.
Assignee | ||
Comment 4•13 years ago
|
||
Implemented review comments
Attachment #610805 -
Attachment is obsolete: true
Attachment #620137 -
Flags: review+
Assignee | ||
Comment 5•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in
before you can comment on or make changes to this bug.
Description
•