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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: remoting/test/launch_browsertest.cc
diff --git a/remoting/test/launch_browsertest.cc b/remoting/test/launch_browsertest.cc
index d44097f6f44612439e15e49ceab7c0fdfcf383c6..61d83d3d2362cefce78a80d946dc6b6b79c97670 100644
--- a/remoting/test/launch_browsertest.cc
+++ b/remoting/test/launch_browsertest.cc
@@ -9,25 +9,11 @@ namespace remoting {
IN_PROC_BROWSER_TEST_F(RemoteDesktopBrowserTest, MANUAL_Launch) {
VerifyInternetAccess();
- if (!NoInstall()) {
- VerifyChromotingLoaded(false);
- InstallChromotingApp();
- }
-
- VerifyChromotingLoaded(true);
+ Install();
LaunchChromotingApp();
- // TODO: Remove this hack by blocking on the appropriate notification.
- // The browser may still be loading images embedded in the webapp. If we
- // uinstall it now those load will fail. Navigating away to avoid the load
- // failures.
- ui_test_utils::NavigateToURL(browser(), GURL("about:blank"));
-
- if (!NoCleanup()) {
- UninstallChromotingApp();
- VerifyChromotingLoaded(false);
- }
+ Cleanup();
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698