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

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: Add explicit destructors in UnitTestStorageInfoProvider to avoid build error. 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
« no previous file with comments | « chrome/test/data/extensions/api_test/systeminfo/storage/test_storage_api.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0e5b7c5c2535a265bdd1c28ce57e8c3e9ed249c4 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: "transient:0004",
+ name: "/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.name, info.name);
chrome.test.assertEq(testData.type, info.type);
chrome.test.assertEq(testData.capacity, info.capacity);
}
« no previous file with comments | « chrome/test/data/extensions/api_test/systeminfo/storage/test_storage_api.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698