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

Side by Side Diff: remoting/webapp/js_proto/test_proto.js

Issue 927373005: [Chromoting] Enable jscompile for browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests; More review comments Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « remoting/webapp/js_proto/dom_proto.js ('k') | remoting/webapp/unittests/chrome_mocks.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file contains various hacks needed to inform JSCompiler of various
6 // test-specific properties and methods. It is used only with JSCompiler to
7 // verify the type-correctness of our code.
8
9 /** @suppress {duplicate} */
10 var browserTest = browserTest || {};
11
12 /** @suppress {duplicate} */
13 var sinon = sinon || {};
14
15 /** @interface */
16 browserTest.TestableClass = function() {};
17
18 /** @param {*} data */
19 browserTest.TestableClass.prototype.run = function(data) {};
20
21 sinon.spy = function() {};
22
23 /** @constructor */
24 window.DomAutomationControllerMessage = function() {
25 /** @type {boolean} */
26 this.succeeded = false;
27 /** @type {string} */
28 this.error_message = '';
29 /** @type {string} */
30 this.stack_trace = '';
31 };
32
33 /** @constructor */
34 window.DomAutomationController = function() {};
35
36 /** @param {string} json A stringified DomAutomationControllerMessage. */
37 window.DomAutomationController.prototype.send = function(json) {};
OLDNEW
« no previous file with comments | « remoting/webapp/js_proto/dom_proto.js ('k') | remoting/webapp/unittests/chrome_mocks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698