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

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

Issue 925233004: A grab-bag of small improvements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments. Created 5 years, 10 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/import_controller.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/import_controller_unittest.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js b/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
index 7347b57a0102eec364bd25c386c5cc2e33723dd8..d78e0b9db5babc0e58f06651e06ad4197e9dd8d6 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
@@ -45,6 +45,8 @@ function setUp() {
recordEnum: function() {}
};
+ new MockChromeStorageAPI();
+
widget = new importer.TestCommandWidget();
volumeManager = new MockVolumeManager();
@@ -178,6 +180,7 @@ function testFinalizeScans_TriggersUpdate(callback) {
new MockFileEntry(fileSystem, '/DCIM/photos0/IMG00001.jpg', {size: 0}));
environment.directoryChangedListener_(); // initiates a scan.
+ widget.resetPromises();
mediaScanner.finalizeScans();
reportPromise(widget.updateResolver.promise, callback);
@@ -506,6 +509,12 @@ importer.TestCommandWidget.prototype.toggleDetails = function() {
this.toggleDetailsResolver.resolve();
};
+/** @override */
+importer.TestCommandWidget.prototype.setDetailsBannerVisible =
+ function(visible) {
+ // TODO(smckay)
+};
+
/**
* @param {!VolumeManagerCommon.VolumeType} volumeType
* @param {string} volumeId
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/import_controller.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698