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

Unified Diff: chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js

Issue 1055183003: Add a data source field for volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a typo. Created 5 years, 8 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/file_system_provider/get_all/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js b/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
index a0fa062e165918d8deadbd62fde6fe466b922a6f..993925fc11cecb1620724c1be21d332dca8803ba 100644
--- a/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
+++ b/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
@@ -86,6 +86,8 @@ function runTests() {
fileSystems[0].displayName);
chrome.test.assertTrue(
fileSystems[0].writable);
+ chrome.test.assertEq(
+ 'NETWORK', fileSystems[0].source);
chrome.test.assertEq(2,
fileSystems[0].openedFilesLimit);
}));
@@ -100,6 +102,8 @@ function runTests() {
test_util.FILE_SYSTEM_NAME,
fileSystem.displayName);
chrome.test.assertTrue(fileSystem.writable);
+ chrome.test.assertEq(
+ 'NETWORK', fileSystem.source);
chrome.test.assertEq(2,
fileSystem.openedFilesLimit);
}));
@@ -113,7 +117,7 @@ function runTests() {
function(error) {
chrome.test.fail(error.name);
});
- }), {writable: true, openedFilesLimit: 2});
+ }), {writable: true, openedFilesLimit: 2, source: 'NETWORK'});
},
// Verifies that after unmounting, the file system is not available in

Powered by Google App Engine
This is Rietveld 408576698