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

Unified Diff: ui/file_manager/file_manager/common/js/unittest_util.js

Issue 1013893002: Update ImportHistory with support for reading history from multiple files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments. Created 5 years, 9 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/common/js/importer_common.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/common/js/unittest_util.js
diff --git a/ui/file_manager/file_manager/common/js/unittest_util.js b/ui/file_manager/file_manager/common/js/unittest_util.js
index 21629948763806761ed15d7b88b6414e548d7d0f..082318ad4b31c1457d7b72f37ebfbfd94f8a2b8f 100644
--- a/ui/file_manager/file_manager/common/js/unittest_util.js
+++ b/ui/file_manager/file_manager/common/js/unittest_util.js
@@ -138,6 +138,17 @@ TestCallRecorder.prototype.getLastArguments = function() {
};
/**
+ * @param {number} index Index of which args to return.
+ * @return {?Arguments} Returns the {@code Arguments} for the call specified
+ * by indexd.
+ */
+TestCallRecorder.prototype.getArguments = function(index) {
+ return (index < this.calls_.length) ?
+ this.calls_[index] :
+ null;
+};
+
+/**
* @constructor
* @struct
*/
« no previous file with comments | « ui/file_manager/file_manager/common/js/importer_common.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698