diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 21:49:04 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 21:49:04 +0200 |
commit | 39dac57259cff8b61db0b22cb2ad0a8adb02692e (patch) | |
tree | 52a026cc8c22793eb17fd0f5e22adce1ae08a1dd /toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js | |
parent | a1cce3b2b00bbd9f4983013ddd8934a7bccb9e99 (diff) | |
parent | c2d9ab62f3d097c9e0e00184cab1f546554f5eaa (diff) | |
download | UXP-39dac57259cff8b61db0b22cb2ad0a8adb02692e.tar UXP-39dac57259cff8b61db0b22cb2ad0a8adb02692e.tar.gz UXP-39dac57259cff8b61db0b22cb2ad0a8adb02692e.tar.lz UXP-39dac57259cff8b61db0b22cb2ad0a8adb02692e.tar.xz UXP-39dac57259cff8b61db0b22cb2ad0a8adb02692e.zip |
Merge branch 'redwood' into 28.9-platform
Diffstat (limited to 'toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js')
-rw-r--r-- | toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js b/toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js deleted file mode 100644 index 015fbd0cb..000000000 --- a/toolkit/mozapps/update/tests/unit_service_updater/bootstrapSvc.js +++ /dev/null @@ -1,35 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ - -/* Bootstrap the tests using the service by installing our own version of the service */ - -function run_test() { - if (!setupTestCommon()) { - return; - } - // We don't actually care if the MAR has any data, we only care about the - // application return code and update.status result. - gTestFiles = gTestFilesCommon; - gTestDirs = []; - setupUpdaterTest(FILE_COMPLETE_MAR, null); -} - -/** - * Called after the call to setupUpdaterTest finishes. - */ -function setupUpdaterTestFinished() { - runUpdate(STATE_SUCCEEDED, false, 0, true); -} - -/** - * Called after the call to runUpdateUsingService finishes. - */ -function runUpdateFinished() { - checkFilesAfterUpdateSuccess(getApplyDirFile, false, false); - - // We need to check the service log even though this is a bootstrap - // because the app bin could be in use by this test by the time the next - // test runs. - checkCallbackLog(); -} |