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

Side by Side Diff: remoting/test/launch_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
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_Launch) { 9 IN_PROC_BROWSER_TEST_F(RemoteDesktopBrowserTest, MANUAL_Launch) {
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 // TODO: Remove this hack by blocking on the appropriate notification. 16 Cleanup();
22 // The browser may still be loading images embedded in the webapp. If we
23 // uinstall it now those load will fail. Navigating away to avoid the load
24 // failures.
25 ui_test_utils::NavigateToURL(browser(), GURL("about:blank"));
26
27 if (!NoCleanup()) {
28 UninstallChromotingApp();
29 VerifyChromotingLoaded(false);
30 }
31 } 17 }
32 18
33 } // namespace remoting 19 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698