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

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

Issue 16707002: [SystemInfo API] Rewrite storage info provider using storage monitor impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove storage_info_provider_linux_unittest.cc in chrome_tests_unit.gypi Created 7 years, 6 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/systeminfo/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/systeminfo/storage_attachment/test_storage_api.js
index c762a4b71fde67ea58157e26527508290585408c..f6bc7fb34736cec5967beb934e566475e7cdaec3 100644
--- a/chrome/test/data/extensions/api_test/systeminfo/storage_attachment/test_storage_api.js
+++ b/chrome/test/data/extensions/api_test/systeminfo/storage_attachment/test_storage_api.js
@@ -8,7 +8,8 @@ chrome.systemInfo = chrome.experimental.systemInfo;
// Testing data should be the same as that in system_info_storage_apitest.cc
var testData = {
- id: "/media/usb1",
+ id: "dcim:device:0004",
+ location: "/media/usb1",
type: "removable",
capacity: 4098
};
@@ -19,6 +20,7 @@ chrome.test.runTests([
chrome.systemInfo.storage.onAttached,
function listener(info) {
chrome.test.assertEq(testData.id, info.id);
+ chrome.test.assertEq(testData.location, info.location);
chrome.test.assertEq(testData.type, info.type);
chrome.test.assertEq(testData.capacity, info.capacity);
}

Powered by Google App Engine
This is Rietveld 408576698