Bug 1404344 - Part 3: Rename QuotaManager tests from 3_0 to 2_1. r=janv
authorAndrew Sutherland <asutherland@asutherland.org>
Tue, 03 Oct 2017 10:03:19 -0400
changeset 386799 797b9fcd60c249548cba7da7a9a15fb33db3a4e3
parent 386798 efe85265a82ad64e2e82128f245a6281222a9a28
child 386800 49341ba517f9643f5b12dedcdcd793fb7b118961
push id32702
push userarchaeopteryx@coole-files.de
push dateWed, 18 Oct 2017 09:48:58 +0000
treeherdermozilla-central@a29052590fc6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanv
bugs1404344
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1404344 - Part 3: Rename QuotaManager tests from 3_0 to 2_1. r=janv Upgrade the test names from 3.0/3_0 to 2.1/2_1, consistent with the changes made in part 1.
dom/quota/test/unit/test_version2_1upgrade.js
dom/quota/test/unit/test_version3_0upgrade.js
dom/quota/test/unit/version2_1upgrade_profile.zip
dom/quota/test/unit/version3_0upgrade_profile.zip
dom/quota/test/unit/xpcshell.ini
rename from dom/quota/test/unit/test_version3_0upgrade.js
rename to dom/quota/test/unit/test_version2_1upgrade.js
--- a/dom/quota/test/unit/test_version3_0upgrade.js
+++ b/dom/quota/test/unit/test_version2_1upgrade.js
@@ -25,36 +25,36 @@ function* testSteps()
   // was temporarily added to xpcshell.ini and then executed:
   //   mach xpcshell-test --interactive dom/quota/test/unit/create_cache.js
   // Note: it only creates the directory "storage/default/chrome/cache".
   // To make it become the profile in the test, two more manual steps are
   // needed.
   // 1. Remove the folder "storage/temporary".
   // 2. Copy the content under the "storage/default/chrome" to
   //    "storage/default/http+++www.mozilla.org".
-  installPackage("version3_0upgrade_profile");
+  installPackage("version2_1upgrade_profile");
 
   info("Checking padding file before upgrade (QM version 2.0)");
 
   for (let origin of origins) {
     let paddingFile = getRelativeFile(origin + paddingFilePath);
 
     let exists = paddingFile.exists();
     ok(!exists, "Padding file doesn't exist");
   }
 
   info("Initializing");
 
-  // Initialize QuotaManager to trigger upgrade the QM to version 3.0
+  // Initialize QuotaManager to trigger upgrade the QM to version 2.1
   let request = init(continueToNextStepSync);
   yield undefined;
 
   ok(request.resultCode == NS_OK, "Initialization succeeded");
 
-  info("Checking padding files after upgrade (QM version 3.0)");
+  info("Checking padding files after upgrade (QM version 2.1)");
 
   for (let origin of origins) {
     let paddingFile = getRelativeFile(origin + paddingFilePath);
 
     let exists = paddingFile.exists();
     ok(exists, "Padding file does exist");
 
     info("Reading out contents of padding file");
rename from dom/quota/test/unit/version3_0upgrade_profile.zip
rename to dom/quota/test/unit/version2_1upgrade_profile.zip
--- a/dom/quota/test/unit/xpcshell.ini
+++ b/dom/quota/test/unit/xpcshell.ini
@@ -11,25 +11,25 @@ support-files =
   idbSubdirUpgrade1_profile.zip
   idbSubdirUpgrade2_profile.zip
   morgueCleanup_profile.zip
   obsoleteOriginAttributes_profile.zip
   originAttributesUpgrade_profile.zip
   removeAppsUpgrade_profile.zip
   storagePersistentUpgrade_profile.zip
   tempMetadataCleanup_profile.zip
-  version3_0upgrade_profile.zip
+  version2_1upgrade_profile.zip
 
 [test_basics.js]
 [test_bad_origin_directory.js]
 skip-if = release_or_beta
 [test_defaultStorageUpgrade.js]
 [test_getUsage.js]
 [test_idbSubdirUpgrade.js]
 [test_morgueCleanup.js]
 [test_obsoleteOriginAttributesUpgrade.js]
 [test_originAttributesUpgrade.js]
 [test_persist.js]
 [test_removeAppsUpgrade.js]
 [test_storagePersistentUpgrade.js]
 [test_tempMetadataCleanup.js]
 [test_unknownFiles.js]
-[test_version3_0upgrade.js]
+[test_version2_1upgrade.js]