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

Unified Diff: remoting/webapp/js_proto/qunit_proto.js

Issue 1015553003: Added more typechecking functions and unit tests for existing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « remoting/webapp/crd/js/video_frame_recorder.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2b2816c1896235ffd441b1fbcc166f14e9c52a34..aed670ef5e49c99d50ea8db97f6f32f09b7c128b 100644
--- a/remoting/webapp/js_proto/qunit_proto.js
+++ b/remoting/webapp/js_proto/qunit_proto.js
@@ -69,6 +69,20 @@ QUnit.Assert.prototype.equal = function(a, b, opt_message) {};
QUnit.Assert.prototype.expect = function(assertionCount) {};
/**
+ * @param {*} a
+ * @param {*} b
+ * @param {string=} opt_message
+ */
+QUnit.Assert.prototype.strictEqual = function(a, b, opt_message) {};
+
+/**
+ * @param {function()} a
+ * @param {*=} opt_b
+ * @param {string=} opt_message
+ */
+QUnit.Assert.prototype.throws = function(a, opt_b, opt_message) {};
+
+/**
* @typedef {{
* beforeEach: (function(QUnit.Assert=) | undefined),
* afterEach: (function(QUnit.Assert=) | undefined)
« no previous file with comments | « remoting/webapp/crd/js/video_frame_recorder.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698