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

Unified Diff: chrome/test/data/file_manager/unit_tests/import_history_unittest.js

Issue 663513003: Add an unittest for background/volume_manager.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase: Changed import_history_unittest to use MockFileSystem. Created 6 years, 2 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/file_manager/unit_tests/import_history_unittest.js
diff --git a/chrome/test/data/file_manager/unit_tests/import_history_unittest.js b/chrome/test/data/file_manager/unit_tests/import_history_unittest.js
index fed2e53391b2c5c1a6b5e9d3226c216a05aa9812..54ce240d89e966218b64e7cd379992bf554ba875 100644
--- a/chrome/test/data/file_manager/unit_tests/import_history_unittest.js
+++ b/chrome/test/data/file_manager/unit_tests/import_history_unittest.js
@@ -21,7 +21,7 @@ var GOOGLE_DRIVE = 'Google Drive';
*/
var SPACE_CLOUD = 'Space Cloud';
-/** @type {!TestFileSystem|undefined} */
+/** @type {!MockFileSystem|undefined} */
var testFileSystem;
/** @type {!MockFileEntry|undefined} */
@@ -35,7 +35,7 @@ var historyLoader;
// Set up the test components.
function setUp() {
- testFileSystem = new TestFileSystem('abc-123');
+ testFileSystem = new MockFileSystem('abc-123', 'filesystem:abc-123');
testFileEntry = new MockFileEntry(
testFileSystem,
FILE_PATH, {

Powered by Google App Engine
This is Rietveld 408576698