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

Unified Diff: chrome/test/remoting/unauthenticated_browsertest.cc

Issue 840023004: Implement mocks for identity and host-list, add a browser test to test the app in various failure m… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | remoting/remoting_webapp_files.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/remoting/unauthenticated_browsertest.cc
diff --git a/chrome/test/remoting/unauthenticated_browsertest.cc b/chrome/test/remoting/unauthenticated_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..842419593f5365fcd87eb00ec4a9d1f21b5237fc
--- /dev/null
+++ b/chrome/test/remoting/unauthenticated_browsertest.cc
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/test/remoting/remote_desktop_browsertest.h"
+
+namespace remoting {
+
+class UnauthenticatedBrowserTest : public RemoteDesktopBrowserTest {
+};
+
+IN_PROC_BROWSER_TEST_F(UnauthenticatedBrowserTest, MANUAL_Unauthenticated) {
+ Install();
+ LaunchChromotingApp(true);
+ LoadBrowserTestJavaScript(app_web_content());
+
+ content::WebContents* content = app_web_content();
+ LoadScript(content, FILE_PATH_LITERAL("unauthenticated_browser_test.js"));
+ RunJavaScriptTest(content, "Unauthenticated", "{}");
+
+ Cleanup();
+}
+
+} // namespace remoting
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | remoting/remoting_webapp_files.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698