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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.cc

Issue 601553005: Adding webview tests to app_shell_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 6 years, 2 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
« no previous file with comments | « no previous file | extensions/test/data/web_view/apitest/guest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/path_service.h" 5 #include "base/path_service.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "content/public/test/browser_test_utils.h" 7 #include "content/public/test/browser_test_utils.h"
8 #include "content/public/test/test_utils.h" 8 #include "content/public/test/test_utils.h"
9 #include "extensions/browser/app_window/app_window.h" 9 #include "extensions/browser/app_window/app_window.h"
10 #include "extensions/browser/app_window/app_window_registry.h" 10 #include "extensions/browser/app_window/app_window_registry.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest"); 113 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest");
114 } 114 }
115 115
116 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) { 116 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) {
117 RunTest("testExecuteScript", "web_view/apitest"); 117 RunTest("testExecuteScript", "web_view/apitest");
118 } 118 }
119 119
120 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) { 120 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) {
121 RunTest("testExecuteScriptFail", "web_view/apitest"); 121 RunTest("testExecuteScriptFail", "web_view/apitest");
122 } 122 }
123
124 IN_PROC_BROWSER_TEST_F(WebViewAPITest,
125 TestLoadAbortChromeExtensionURLWrongPartition) {
126 RunTest("testLoadAbortChromeExtensionURLWrongPartition", "web_view/apitest");
127 }
128
129 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalChromeURL) {
130 RunTest("testLoadAbortIllegalChromeURL", "web_view/apitest");
131 }
132
133 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalFileURL) {
134 RunTest("testLoadAbortIllegalFileURL", "web_view/apitest");
135 }
136
137 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalJavaScriptURL) {
138 RunTest("testLoadAbortIllegalJavaScriptURL", "web_view/apitest");
139 }
140
141 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortInvalidNavigation) {
142 RunTest("testLoadAbortInvalidNavigation", "web_view/apitest");
143 }
144
145 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortNonWebSafeScheme) {
146 RunTest("testLoadAbortNonWebSafeScheme", "web_view/apitest");
147 }
148
149 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadProgressEvent) {
150 RunTest("testLoadProgressEvent", "web_view/apitest");
151 }
152
123 } // namespace extensions 153 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | extensions/test/data/web_view/apitest/guest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698