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

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
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 51564926bf08f28aa9b17da2937482f1ad703c3c..0b7303c137a9412ed90ab9bc8a613ce51af697a4 100644
--- a/remoting/webapp/js_proto/qunit_proto.js
+++ b/remoting/webapp/js_proto/qunit_proto.js
@@ -45,6 +45,20 @@ QUnit.equal = function(a, b, opt_message) {};
/**
* @param {*} a
+ * @param {*} b
+ * @param {string=} opt_message
+ */
+QUnit.strictEqual = function(a, b, opt_message) {};
+
+/**
+ * @param {Function} func
+ * @param {*=} opt_error
+ * @param {string=} opt_message
+ */
+QUnit.throws = function(func, opt_error, opt_message) {};
+
+/**
+ * @param {*} a
*/
QUnit.expect = function(a) {};

Powered by Google App Engine
This is Rietveld 408576698