Closed
Bug 711660
Opened 13 years ago
Closed 13 years ago
maintenance service updater tests can't be run locally
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 2 obsolete files)
14.42 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
Though the tests do run via buildbot, we need to come up with a way to run updater tests locally. At present, there are several steps that have to be performed manually.
Assignee | ||
Comment 1•13 years ago
|
||
KEY_WOW64_64KEY is not defined in nsWindowsRegKey so I just defined it in the JavaScript. I want to check out whether these tests are going to run on non Firefox before asking for review.
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #582436 -
Flags: review?(netzen)
Assignee | ||
Comment 2•13 years ago
|
||
Only a slight change in that I don't think it is appropriate to check all the way down to the 0 key since the keys are enumerated.
Attachment #582436 -
Attachment is obsolete: true
Attachment #582436 -
Flags: review?(netzen)
Attachment #582438 -
Flags: review?(netzen)
Comment 3•13 years ago
|
||
Comment on attachment 582438 [details] [diff] [review] patch rev2 Review of attachment 582438 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for doing this, looks great. Minor nit. ::: toolkit/mozapps/update/test/unit/head_update.js.in @@ +460,5 @@ > + */ > +function shouldRunServiceTest() { > + const REG_PATH = "SOFTWARE\\Mozilla\\MaintenanceService\\" + > + "3932ecacee736d366d6436db0f55bce4"; > + const KEY_WOW64_64KEY = 256; nit: You can use key.WOW64_64 which was added to that interface as part of bug 481815 instead.
Attachment #582438 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Also added to the function comment * @return true if the test should run and false if it shouldn't. Carrying forward r+
Attachment #582438 -
Attachment is obsolete: true
Attachment #582442 -
Flags: review+
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Comment 5•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8401a8217e98
You need to log in
before you can comment on or make changes to this bug.
Description
•