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

Unified Diff: remoting/webapp/crd/js/host_controller_unittest.js

Issue 1064683006: Fixed host_controller_unittest.js with code coverage enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/host_controller_unittest.js
diff --git a/remoting/webapp/crd/js/host_controller_unittest.js b/remoting/webapp/crd/js/host_controller_unittest.js
index f65dc975050fb51012c3b330c5e8a0b189136d60..bddbbf47901b318d6c211ad8a6d27e0dbec2a007 100644
--- a/remoting/webapp/crd/js/host_controller_unittest.js
+++ b/remoting/webapp/crd/js/host_controller_unittest.js
@@ -75,6 +75,7 @@ QUnit.module('host_controller', {
beforeEach: function(/** QUnit.Assert */ assert) {
chromeMocks.activate(['identity', 'runtime']);
chromeMocks.identity.mock$setToken(FAKE_IDENTITY_TOKEN);
+ remoting.settings = new remoting.Settings();
remoting.identity = new remoting.Identity();
remoting.MockXhr.activate();
base.debug.assert(remoting.oauth2 === null);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698