| 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 75%
|
| 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 0e5b7c5c2535a265bdd1c28ce57e8c3e9ed249c4..abcfec505419036e2a7951ba7bb548af3ca7d973 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,11 +2,10 @@
|
| // 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.Storage
|
| -chrome.systemInfo = chrome.experimental.systemInfo;
|
| +// system.storage api test
|
| +// browser_tests --gtest_filter=SystemStorageApiTest.Storage
|
|
|
| -// Testing data should be the same as that in system_info_storage_apitest.cc
|
| +// Testing data should be the same as that in system_storage_apitest.cc
|
| var testData = {
|
| id: "transient:0004",
|
| name: "/media/usb1",
|
| @@ -17,7 +16,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);
|
| @@ -32,7 +31,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);
|
| }
|
|
|