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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js

Issue 858563005: Immediately open MTP and other eligible removable devices with media directory on mount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments. Created 5 years, 11 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 | « ui/file_manager/file_manager/foreground/js/navigation_list_model_unittest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js
index d4025a3f85cd10fd62b57489c4537d5b18e0a662..650061cf726eff0465b56ae43d6eb7abbdfc8f85 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree_unittest.js
@@ -71,7 +71,7 @@ function testCreateDirectoryTree(callback) {
// Create mocks.
var directoryModel = new MockDirectoryModel();
- var volumeManager = new MockVolumeManager();
+ var volumeManager = new MockVolumeManagerWrapper();
var metadataCache = new MockMetadataCache();
// Set entry which is returned by
@@ -121,7 +121,7 @@ function testUpdateSubElementsFromList() {
// Creates mocks.
var directoryModel = new MockDirectoryModel();
- var volumeManager = new MockVolumeManager();
+ var volumeManager = new MockVolumeManagerWrapper();
var metadataCache = new MockMetadataCache();
// Sets entry which is returned by
@@ -142,7 +142,7 @@ function testUpdateSubElementsFromList() {
], getDirectoryTreeItemLabelsAsAList(directoryTree));
// Mounts a removable volume.
- var removableVolume = MockVolumeManager.createMockVolumeInfo(
+ var removableVolume = MockVolumeManagerWrapper.createMockVolumeInfo(
VolumeManagerCommon.VolumeType.REMOVABLE,
'removable',
str('REMOVABLE_DIRECTORY_LABEL'));
@@ -163,7 +163,7 @@ function testUpdateSubElementsFromList() {
], getDirectoryTreeItemLabelsAsAList(directoryTree));
// Mounts an archive volume before the removable directory.
- var archiveVolume = MockVolumeManager.createMockVolumeInfo(
+ var archiveVolume = MockVolumeManagerWrapper.createMockVolumeInfo(
VolumeManagerCommon.VolumeType.ARCHIVE,
'archive',
str('ARCHIVE_DIRECTORY_LABEL'));
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/navigation_list_model_unittest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698