OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/test/remoting/remote_desktop_browsertest.h" | 5 #include "chrome/test/remoting/remote_desktop_browsertest.h" |
6 | 6 |
7 namespace remoting { | 7 namespace remoting { |
8 | 8 |
9 class UnauthenticatedBrowserTest : public RemoteDesktopBrowserTest { | 9 class UnauthenticatedBrowserTest : public RemoteDesktopBrowserTest { |
10 }; | 10 }; |
11 | 11 |
12 IN_PROC_BROWSER_TEST_F(UnauthenticatedBrowserTest, MANUAL_Unauthenticated) { | 12 IN_PROC_BROWSER_TEST_F(UnauthenticatedBrowserTest, MANUAL_Unauthenticated) { |
13 Install(); | 13 Install(); |
14 LaunchChromotingApp(true); | 14 content::WebContents* content = LaunchChromotingApp(true); |
15 LoadBrowserTestJavaScript(app_web_content()); | 15 LoadBrowserTestJavaScript(content); |
16 | 16 |
17 content::WebContents* content = app_web_content(); | |
18 LoadScript(content, FILE_PATH_LITERAL("unauthenticated_browser_test.js")); | 17 LoadScript(content, FILE_PATH_LITERAL("unauthenticated_browser_test.js")); |
19 RunJavaScriptTest(content, "Unauthenticated", "{}"); | 18 RunJavaScriptTest(content, "Unauthenticated", "{}"); |
20 | 19 |
21 Cleanup(); | 20 Cleanup(); |
22 } | 21 } |
23 | 22 |
24 } // namespace remoting | 23 } // namespace remoting |
OLD | NEW |