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

Unified Diff: remoting/webapp/externs/qunit.js

Issue 1183973010: Revert of chromoting: Add JS externs for qunit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/build_template.gni ('k') | remoting/webapp/files.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/externs/qunit.js
diff --git a/remoting/webapp/externs/qunit.js b/remoting/webapp/externs/qunit.js
deleted file mode 100644
index d804919cb20ae03fa4ced5944314546df6b54715..0000000000000000000000000000000000000000
--- a/remoting/webapp/externs/qunit.js
+++ /dev/null
@@ -1,129 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview JSCompiler externs for QUnit.
- * @externs
- */
-
-/**
- * namespace
- * @const
- */
-var QUnit = {};
-
-
-/**
- */
-QUnit.start = function() {};
-
-
-/**
- */
-QUnit.stop = function() {};
-
-
-/**
- * @param {string} name
- * @param {function(!QUnit.Assert)} testFunction
- */
-QUnit.test = function(name, testFunction) {};
-
-
-
-/**
- * @constructor
- */
-QUnit.Assert = function() {};
-
-
-/**
- * @param {number} assertionCount
- */
-QUnit.Assert.prototype.expect = function(assertionCount) {};
-
-
-/** @constructor */
-QUnit.Clock = function() {};
-
-
-/** @param {number} ticks */
-QUnit.Clock.prototype.tick = function(ticks) {};
-
-
-/**
- * @param {*} a
- * @param {*} b
- * @param {string=} opt_desc
- */
-QUnit.Assert.prototype.notEqual = function(a, b, opt_desc) {};
-
-
-/**
- * @param {*} a
- * @param {*} b
- * @param {string=} opt_message
- */
-QUnit.Assert.prototype.strictEqual = function(a, b, opt_message) {};
-
-
-/**
- * @param {boolean} condition
- * @param {string=} opt_message
- */
-QUnit.Assert.prototype.ok = function(condition, opt_message) {};
-
-
-/**
- * @return {function():void}
- */
-QUnit.Assert.prototype.async = function() {};
-
-
-/**
- * @param {*} a
- * @param {*} b
- * @param {string=} opt_message
- */
-QUnit.Assert.prototype.deepEqual = 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) {};
-
-
-/**
- * @param {*} a
- * @param {*} b
- * @param {string=} opt_message
- */
-QUnit.Assert.prototype.equal = function(a, b, opt_message) {};
-
-
-/** @param {Function} f */
-QUnit.testStart = function(f) {};
-
-
-/** @param {Function} f */
-QUnit.testDone = function(f) {};
-
-
-/**
- * @typedef {{
- * beforeEach: (function(!QUnit.Assert) | undefined),
- * afterEach: (function(!QUnit.Assert) | undefined)
- * }}
- */
-QUnit.ModuleArgs;
-
-
-/**
- * @param {string} desc
- * @param {QUnit.ModuleArgs=} opt_args=
- */
-QUnit.module = function(desc, opt_args) {};
« no previous file with comments | « remoting/webapp/build_template.gni ('k') | remoting/webapp/files.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698