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

Side by Side Diff: remoting/webapp/unittests/it2me_helper_channel_unittest.js

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix key tester 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /**
6 * @fileoverview
7 * @suppress {checkTypes|checkVars|reportUnknownTypes|visibility}
8 */
9
5 (function() { 10 (function() {
6 11
7 'use strict'; 12 'use strict';
8 13
9 var appLauncher = null; 14 var appLauncher = null;
10 var hangoutPort = null; 15 var hangoutPort = null;
11 var webappPort = null; 16 var webappPort = null;
12 var helperChannel = null; 17 var helperChannel = null;
13 var disconnectCallback = null; 18 var disconnectCallback = null;
14 19
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 hangoutPort.onDisconnect.mock$fire(); 185 hangoutPort.onDisconnect.mock$fire();
181 186
182 sinon.assert.calledOnce(appLauncher.close); 187 sinon.assert.calledOnce(appLauncher.close);
183 sinon.assert.calledOnce(disconnectCallback); 188 sinon.assert.calledOnce(disconnectCallback);
184 189
185 sinon.assert.called(hangoutPort.disconnect); 190 sinon.assert.called(hangoutPort.disconnect);
186 sinon.assert.called(webappPort.disconnect); 191 sinon.assert.called(webappPort.disconnect);
187 }); 192 });
188 193
189 })(); 194 })();
OLDNEW
« no previous file with comments | « remoting/webapp/unittests/it2me_helpee_channel_unittest.js ('k') | remoting/webapp/unittests/it2me_service_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698