| Index: remoting/webapp/js_proto/qunit_proto.js
|
| diff --git a/remoting/webapp/js_proto/qunit_proto.js b/remoting/webapp/js_proto/qunit_proto.js
|
| index 8eb96452f3a29176ff3393156f14a0fbad227fb6..2b2816c1896235ffd441b1fbcc166f14e9c52a34 100644
|
| --- a/remoting/webapp/js_proto/qunit_proto.js
|
| +++ b/remoting/webapp/js_proto/qunit_proto.js
|
| @@ -22,77 +22,68 @@ QUnit.Clock = function() {};
|
| /** @param {number} ticks */
|
| QUnit.Clock.prototype.tick = function(ticks) {};
|
|
|
| +/** @param {Function} f */
|
| +QUnit.testStart = function(f) {};
|
|
|
| /**
|
| - * @param {string} desc
|
| - * @param {Function} f
|
| + * @interface
|
| */
|
| -QUnit.asyncTest = function(desc, f) {};
|
| +QUnit.Assert = function() {};
|
|
|
| /**
|
| - * @param {*} a
|
| - * @param {*} b
|
| - * @param {string=} opt_message
|
| + * @return {function():void}
|
| */
|
| -QUnit.deepEqual = function(a, b, opt_message) {};
|
| +QUnit.Assert.prototype.async = function() {};
|
|
|
| /**
|
| * @param {*} a
|
| * @param {*} b
|
| - * @param {string=} opt_message
|
| + * @param {string=} opt_desc
|
| */
|
| -QUnit.equal = function(a, b, opt_message) {};
|
| +QUnit.Assert.prototype.notEqual = function(a, b, opt_desc) {};
|
|
|
| /**
|
| - * @param {*} a
|
| + * @param {boolean} cond
|
| + * @param {string=} desc
|
| + * @return {boolean}
|
| */
|
| -QUnit.expect = function(a) {};
|
| +QUnit.Assert.prototype.ok = function(cond, desc) {};
|
|
|
| /**
|
| - * @param {string} desc
|
| - * @param {Object=} dict
|
| + * @param {*} a
|
| + * @param {*} b
|
| + * @param {string=} opt_message
|
| */
|
| -QUnit.module = function(desc, dict) {};
|
| +QUnit.Assert.prototype.deepEqual = function(a, b, opt_message) {};
|
|
|
| /**
|
| * @param {*} a
|
| * @param {*} b
|
| - * @param {string=} opt_desc
|
| + * @param {string=} opt_message
|
| */
|
| -QUnit.notEqual = function(a, b, opt_desc) {};
|
| +QUnit.Assert.prototype.equal = function(a, b, opt_message) {};
|
|
|
| /**
|
| - * @param {boolean} cond
|
| - * @param {string=} desc
|
| - * @return {boolean}
|
| + * @param {number} assertionCount
|
| */
|
| -QUnit.ok = function(cond, desc) {};
|
| -
|
| -QUnit.start = function() {};
|
| +QUnit.Assert.prototype.expect = function(assertionCount) {};
|
|
|
| /**
|
| - * @param {string} desc
|
| - * @param {Function} f
|
| + * @typedef {{
|
| + * beforeEach: (function(QUnit.Assert=) | undefined),
|
| + * afterEach: (function(QUnit.Assert=) | undefined)
|
| + * }}
|
| */
|
| -QUnit.test = function(desc, f) {};
|
| -
|
| -/** @param {Function} f */
|
| -QUnit.testStart = function(f) {};
|
| +QUnit.ModuleArgs;
|
|
|
| /**
|
| - * @interface
|
| + * @param {string} desc
|
| + * @param {QUnit.ModuleArgs=} opt_args=
|
| */
|
| -QUnit.Assert = function() {};
|
| +QUnit.module = function(desc, opt_args) {};
|
|
|
| /**
|
| - * @return {function():void}
|
| + * @param {string} desc
|
| + * @param {function(QUnit.Assert)} f
|
| */
|
| -QUnit.Assert.prototype.async = function() {};
|
| -
|
| -var deepEqual = QUnit.deepEqual;
|
| -var equal = QUnit.equal;
|
| -var expect = QUnit.expect;
|
| -var module = QUnit.module;
|
| -var notEqual = QUnit.notEqual;
|
| -var ok = QUnit.ok;
|
| -var test = QUnit.test;
|
| +QUnit.test = function(desc, f) {};
|
|
|