Bug 1112937 - Rename and add tests draft
authorKirk Steuber <ksteuber@mozilla.com>
Thu, 05 Oct 2017 12:44:53 -0700
changeset 689673 7f5546fbc167e76e0936c744929d5679aaba386c
parent 688758 a89e5587c7a761fa59b82270b861c7f547968145
child 689674 ab68d574742ec9cdaa1aec7b2288e00d5f969636
push id87086
push userksteuber@mozilla.com
push dateTue, 31 Oct 2017 21:44:03 +0000
bugs1112937
milestone58.0a1
Bug 1112937 - Rename and add tests This patch renames/copies Windows-specific xpcshell tests that will be changing for Bug 1112937. These are to reflect differences in the update functionality. Previously, updates would be forced through (in Windows) even if the updater cannot get an exclusive lock on the binary. Now, the update will fail in that situation. After 24 hours, however, a force file will be written out to force the update regardless of whether it can lock the executable. MozReview-Commit-ID: IK3LYqHXbsW
toolkit/mozapps/update/tests/unit_base_updater/marAppInUseFailureComplete_win.js
toolkit/mozapps/update/tests/unit_base_updater/marAppInUseForceSuccessComplete_win.js
toolkit/mozapps/update/tests/unit_base_updater/marAppInUseSuccessComplete.js
toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsFailureComplete_win.js
toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsForceSuccessComplete_win.js
toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsSuccessComplete_win.js
toolkit/mozapps/update/tests/unit_service_updater/marAppInUseFailureCompleteSvc_win.js
toolkit/mozapps/update/tests/unit_service_updater/marAppInUseForceSuccessCompleteSvc_win.js
toolkit/mozapps/update/tests/unit_service_updater/marAppInUseSuccessCompleteSvc.js
rename from toolkit/mozapps/update/tests/unit_base_updater/marAppInUseSuccessComplete.js
rename to toolkit/mozapps/update/tests/unit_base_updater/marAppInUseFailureComplete_win.js
copy from toolkit/mozapps/update/tests/unit_base_updater/marAppInUseSuccessComplete.js
copy to toolkit/mozapps/update/tests/unit_base_updater/marAppInUseForceSuccessComplete_win.js
rename from toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsSuccessComplete_win.js
rename to toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsFailureComplete_win.js
copy from toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsSuccessComplete_win.js
copy to toolkit/mozapps/update/tests/unit_base_updater/marPIDPersistsForceSuccessComplete_win.js
rename from toolkit/mozapps/update/tests/unit_service_updater/marAppInUseSuccessCompleteSvc.js
rename to toolkit/mozapps/update/tests/unit_service_updater/marAppInUseFailureCompleteSvc_win.js
copy from toolkit/mozapps/update/tests/unit_service_updater/marAppInUseSuccessCompleteSvc.js
copy to toolkit/mozapps/update/tests/unit_service_updater/marAppInUseForceSuccessCompleteSvc_win.js