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

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

Issue 19532006: Minor cleanup for SystemInfoStorageApiTest. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/systeminfo/storage/test_storage_api.js
===================================================================
--- chrome/test/data/extensions/api_test/systeminfo/storage/test_storage_api.js (revision 213035)
+++ chrome/test/data/extensions/api_test/systeminfo/storage/test_storage_api.js (working copy)
@@ -6,7 +6,8 @@
// browser_tests --gtest_filter=SystemInfoStorageApiTest.Storage
chrome.systemInfo = chrome.experimental.systemInfo;
-// Testing data should be the same as that in system_info_storage_apitest.cc
+// Testing data should be the same as |kTestingData| in
+// system_info_storage_apitest.cc.
var testData = [
{ id:"transient:0004", name: "0xbeaf", type: "unknown", capacity: 4098,
availableCapacity: 1000, step: 0 },
@@ -31,6 +32,7 @@
}
}));
},
+
function testChangedEvent() {
var numOfChangedEvent = 0;
var callbackCompleted = chrome.test.callbackAdded();

Powered by Google App Engine
This is Rietveld 408576698