Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: chrome/test/data/extensions/api_test/system/storage_attachment/test_storage_api.js

Issue 18578008: [SystemInfo API] Move Storage API out of experimental namespace and rename to the "system" namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PermissionTest unittest. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/system/storage_attachment/test_storage_api.js
diff --git a/chrome/test/data/extensions/api_test/systeminfo/storage_attachment/test_storage_api.js b/chrome/test/data/extensions/api_test/system/storage_attachment/test_storage_api.js
similarity index 78%
rename from chrome/test/data/extensions/api_test/systeminfo/storage_attachment/test_storage_api.js
rename to chrome/test/data/extensions/api_test/system/storage_attachment/test_storage_api.js
index 5ab882e6f3b1cf9e43131bb956466b15c1af5a31..5354f4e4785f0dc7df81ff8f17b451af0b3efee3 100644
--- a/chrome/test/data/extensions/api_test/systeminfo/storage_attachment/test_storage_api.js
+++ b/chrome/test/data/extensions/api_test/system/storage_attachment/test_storage_api.js
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// systemInfo.storage api test
-// browser_tests --gtest_filter=SystemInfoStorageApiTest.StorageAttachment
-chrome.systemInfo = chrome.experimental.systemInfo;
+// system.storage api test
+// browser_tests --gtest_filter=SystemStorageApiTest.Storage
// Testing data should be the same as |kRemovableStorageData| in
-// system_info_storage_apitest.cc.
+// system_storage_apitest.cc.
var testData = {
id: "transient:0004",
name: "/media/usb1",
@@ -18,7 +17,7 @@ var testData = {
chrome.test.runTests([
function testAttachedEvent() {
chrome.test.listenOnce(
- chrome.systemInfo.storage.onAttached,
+ chrome.system.storage.onAttached,
function listener(info) {
chrome.test.assertEq(testData.id, info.id);
chrome.test.assertEq(testData.name, info.name);
@@ -33,7 +32,7 @@ chrome.test.runTests([
function testDetachedEvent() {
chrome.test.listenOnce(
- chrome.systemInfo.storage.onDetached,
+ chrome.system.storage.onDetached,
function listener(id) {
chrome.test.assertEq(testData.id, id);
}

Powered by Google App Engine
This is Rietveld 408576698