| 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..51564926bf08f28aa9b17da2937482f1ad703c3c 100644
|
| --- a/remoting/webapp/js_proto/qunit_proto.js
|
| +++ b/remoting/webapp/js_proto/qunit_proto.js
|
| @@ -72,7 +72,7 @@ QUnit.start = function() {};
|
|
|
| /**
|
| * @param {string} desc
|
| - * @param {Function} f
|
| + * @param {function(!QUnit.Assert)} f
|
| */
|
| QUnit.test = function(desc, f) {};
|
|
|
| @@ -81,13 +81,26 @@ QUnit.testStart = function(f) {};
|
|
|
| /**
|
| * @interface
|
| + * TODO(jrw): Make QUnit implement an interface that extends this
|
| + * inferface.
|
| */
|
| QUnit.Assert = function() {};
|
|
|
| /**
|
| * @return {function():void}
|
| */
|
| -QUnit.Assert.prototype.async = function() {};
|
| +QUnit.Assert.prototype.async = function() {};
|
| +
|
| +// TODO(jrw): Make these the primary definitions.
|
| +QUnit.Assert.prototype.deepEqual = QUnit.deepEqual;
|
| +QUnit.Assert.prototype.equal = QUnit.equal;
|
| +QUnit.Assert.prototype.notEqual = QUnit.notEqual;
|
| +QUnit.Assert.prototype.ok = QUnit.ok;
|
| +
|
| +/**
|
| + * @const {!QUnit.Assert}
|
| + */
|
| +QUnit.assert;
|
|
|
| var deepEqual = QUnit.deepEqual;
|
| var equal = QUnit.equal;
|
|
|