| 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
|
| */
|
|
|