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

Side by Side Diff: remoting/test/auth_browsertest.cc

Issue 22887025: Refactor remote_desktop_browsertest: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_tests_a
Patch Set: Created 7 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
« no previous file with comments | « no previous file | remoting/test/launch_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "remote_desktop_browsertest.h" 5 #include "remote_desktop_browsertest.h"
6 6
7 namespace remoting { 7 namespace remoting {
8 8
9 IN_PROC_BROWSER_TEST_F(RemoteDesktopBrowserTest, MANUAL_Auth) { 9 IN_PROC_BROWSER_TEST_F(RemoteDesktopBrowserTest, MANUAL_Auth) {
10 VerifyInternetAccess(); 10 VerifyInternetAccess();
11 11
12 if (!NoInstall()) { 12 Install();
13 VerifyChromotingLoaded(false);
14 InstallChromotingApp();
15 }
16
17 VerifyChromotingLoaded(true);
18 13
19 LaunchChromotingApp(); 14 LaunchChromotingApp();
20 15
21 Authorize(); 16 // Authorize, Authenticate, and Approve.
17 Auth();
garykac 2013/08/19 18:02:28 Perhaps AuthAuthAppApp? ^_^ For Authorize, Authen
22 18
23 Authenticate(); 19 Cleanup();
24
25 Approve();
26
27 // TODO: Remove this hack by blocking on the appropriate notification.
28 // The browser may still be loading images embedded in the webapp. If we
29 // uinstall it now those load will fail. Navigating away to avoid the load
30 // failures.
31 ui_test_utils::NavigateToURL(browser(), GURL("about:blank"));
32
33 if (!NoCleanup()) {
34 UninstallChromotingApp();
35 VerifyChromotingLoaded(false);
36 }
37 } 20 }
38 21
39 } // namespace remoting 22 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | remoting/test/launch_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698