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

Side by Side Diff: remoting/webapp/browser_test/browser_test.js

Issue 421433002: Implement bump-scroll browser-test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * @suppress {checkTypes} By default, JSCompile is not run on test files. 7 * @suppress {checkTypes} By default, JSCompile is not run on test files.
8 * However, you can modify |remoting_webapp_files.gypi| locally to include 8 * However, you can modify |remoting_webapp_files.gypi| locally to include
9 * the test in the package to expedite local development. This suppress 9 * the test in the package to expedite local development. This suppress
10 * is here so that JSCompile won't complain. 10 * is here so that JSCompile won't complain.
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 browserTest.clickOnControl('change-daemon-pin'); 317 browserTest.clickOnControl('change-daemon-pin');
318 } 318 }
319 return browserTest.setupPIN(pin); 319 return browserTest.setupPIN(pin);
320 }); 320 });
321 }; 321 };
322 322
323 // Called by Browser Test in C++ 323 // Called by Browser Test in C++
324 browserTest.ensureRemoteConnectionEnabled = function(pin) { 324 browserTest.ensureRemoteConnectionEnabled = function(pin) {
325 browserTest.ensureHostStartedWithPIN(pin).then(function(){ 325 browserTest.ensureHostStartedWithPIN(pin).then(function(){
326 browserTest.automationController_.send(true); 326 browserTest.automationController_.send(true);
327 }).catch(function(errorMessage){ 327 }, function(errorMessage){
328 console.error(errorMessage); 328 console.error(errorMessage);
329 browserTest.automationController_.send(false); 329 browserTest.automationController_.send(false);
330 }); 330 });
331 }; 331 };
332 332
333 browserTest.init(); 333 browserTest.init();
OLDNEW
« no previous file with comments | « remoting/remoting_webapp_files.gypi ('k') | remoting/webapp/browser_test/bump_scroll_browser_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698