| OLD | NEW |
| 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 |
| OLD | NEW |