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

Side by Side Diff: chrome/test/ui/ppapi_uitest.cc

Issue 8539019: Test NaCl version of ppapi_tests via ui_tests (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/plugin_service.h"
9 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
11 #include "content/common/pepper_plugin_registry.h"
10 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
11 #include "chrome/test/automation/tab_proxy.h" 13 #include "chrome/test/automation/tab_proxy.h"
12 #include "chrome/test/ui/ui_test.h" 14 #include "chrome/test/ui/ui_test.h"
13 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
14 #include "net/test/test_server.h" 16 #include "net/test/test_server.h"
15 #include "webkit/plugins/plugin_switches.h" 17 #include "webkit/plugins/plugin_switches.h"
16 18
17 namespace { 19 namespace {
18 20
19 // Platform-specific filename relative to the chrome executable. 21 // Platform-specific filename relative to the chrome executable.
20 #if defined(OS_WIN) 22 #if defined(OS_WIN)
21 const wchar_t library_name[] = L"ppapi_tests.dll"; 23 const wchar_t library_name[] = L"ppapi_tests.dll";
24 const wchar_t nacl_library_name[] = L"ppGoogleNaClPluginChrome.dll";
22 #elif defined(OS_MACOSX) 25 #elif defined(OS_MACOSX)
23 const char library_name[] = "ppapi_tests.plugin"; 26 const char library_name[] = "ppapi_tests.plugin";
27 const char nacl_library_name[] = "ppGoogleNaClPluginChrome.plugin";
24 #elif defined(OS_POSIX) 28 #elif defined(OS_POSIX)
25 const char library_name[] = "libppapi_tests.so"; 29 const char library_name[] = "libppapi_tests.so";
30 const char nacl_library_name[] = "libppGoogleNaClPluginChrome.so";
Paweł Hajdan Jr. 2011/11/14 12:31:06 Isn't this duplicating kInternalNaClPluginFileName
noelallen1 2011/11/14 22:28:17 Done.
26 #endif 31 #endif
27 32
28 } // namespace 33 } // namespace
29 34
30 // In-process plugin test runner. See OutOfProcessPPAPITest below for the 35 class PPAPITestBase : public UITest {
31 // out-of-process version.
32 class PPAPITest : public UITest {
33 public: 36 public:
34 PPAPITest() { 37 PPAPITestBase() {
35 // Append the switch to register the pepper plugin.
36 // library name = <out dir>/<test_name>.<library_extension>
37 // MIME type = application/x-ppapi-<test_name>
38 FilePath plugin_dir;
39 PathService::Get(base::DIR_EXE, &plugin_dir);
40
41 FilePath plugin_lib = plugin_dir.Append(library_name);
42 EXPECT_TRUE(file_util::PathExists(plugin_lib));
43 FilePath::StringType pepper_plugin = plugin_lib.value();
44 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests"));
45 launch_arguments_.AppendSwitchNative(switches::kRegisterPepperPlugins,
46 pepper_plugin);
47
48 // The test sends us the result via a cookie. 38 // The test sends us the result via a cookie.
49 launch_arguments_.AppendSwitch(switches::kEnableFileCookies); 39 launch_arguments_.AppendSwitch(switches::kEnableFileCookies);
50 40
51 // Some stuff is hung off of the testing interface which is not enabled 41 // Some stuff is hung off of the testing interface which is not enabled
52 // by default. 42 // by default.
53 launch_arguments_.AppendSwitch(switches::kEnablePepperTesting); 43 launch_arguments_.AppendSwitch(switches::kEnablePepperTesting);
54 44
55 // Smooth scrolling confuses the scrollbar test. 45 // Smooth scrolling confuses the scrollbar test.
56 launch_arguments_.AppendSwitch(switches::kDisableSmoothScrolling); 46 launch_arguments_.AppendSwitch(switches::kDisableSmoothScrolling);
57 } 47 }
58 48
49 virtual void AppendQuery(std::string* query, const std::string& test_case)=0;
50
59 void RunTest(const std::string& test_case) { 51 void RunTest(const std::string& test_case) {
60 FilePath test_path; 52 FilePath test_path;
61 PathService::Get(base::DIR_SOURCE_ROOT, &test_path); 53 PathService::Get(base::DIR_SOURCE_ROOT, &test_path);
62 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi")); 54 test_path = test_path.Append(FILE_PATH_LITERAL("ppapi"));
63 test_path = test_path.Append(FILE_PATH_LITERAL("tests")); 55 test_path = test_path.Append(FILE_PATH_LITERAL("tests"));
64 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html")); 56 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html"));
65 57
66 // Sanity check the file name. 58 // Sanity check the file name.
67 EXPECT_TRUE(file_util::PathExists(test_path)); 59 EXPECT_TRUE(file_util::PathExists(test_path));
68 60
69 GURL::Replacements replacements; 61 GURL::Replacements replacements;
70 std::string query("testcase="); 62 std::string query;
71 query += test_case; 63 AppendQuery(&query, test_case);
72 replacements.SetQuery(query.c_str(), url_parse::Component(0, query.size())); 64 replacements.SetQuery(query.c_str(), url_parse::Component(0, query.size()));
73 GURL test_url = net::FilePathToFileURL(test_path); 65 GURL test_url = net::FilePathToFileURL(test_path);
74 RunTestURL(test_url.ReplaceComponents(replacements)); 66 RunTestURL(test_url.ReplaceComponents(replacements));
75 } 67 }
76 68
77 void RunTestViaHTTP(const std::string& test_case) { 69 void RunTestViaHTTP(const std::string& test_case) {
70 FilePath fp = CommandLine::ForCurrentProcess()->GetProgram();
78 net::TestServer test_server( 71 net::TestServer test_server(
79 net::TestServer::TYPE_HTTP, 72 net::TestServer::TYPE_HTTP, fp.DirName());
80 FilePath(FILE_PATH_LITERAL("ppapi/tests")));
81 ASSERT_TRUE(test_server.Start()); 73 ASSERT_TRUE(test_server.Start());
82 RunTestURL( 74 std::string query("files/test_case.html?");
83 test_server.GetURL("files/test_case.html?testcase=" + test_case)); 75 AppendQuery(&query, test_case);
76 RunTestURL(test_server.GetURL(query));
84 } 77 }
85 78
86 private: 79 private:
87 void RunTestURL(const GURL& test_url) { 80 void RunTestURL(const GURL& test_url) {
88 scoped_refptr<TabProxy> tab(GetActiveTab()); 81 scoped_refptr<TabProxy> tab(GetActiveTab());
89 ASSERT_TRUE(tab.get()); 82 ASSERT_TRUE(tab.get());
90 ASSERT_TRUE(tab->NavigateToURL(test_url)); 83 ASSERT_TRUE(tab->NavigateToURL(test_url));
91 84
92 // See comment above TestingInstance in ppapi/test/testing_instance.h. 85 // See comment above TestingInstance in ppapi/test/testing_instance.h.
93 // Basically it sets a series of numbered cookies. The value of "..." means 86 // Basically it sets a series of numbered cookies. The value of "..." means
(...skipping 18 matching lines...) Expand all
112 << "Plugin couldn't be loaded. Make sure the PPAPI test plugin is " 105 << "Plugin couldn't be loaded. Make sure the PPAPI test plugin is "
113 << "built, in the right place, and doesn't have any missing symbols."; 106 << "built, in the right place, and doesn't have any missing symbols.";
114 } else { 107 } else {
115 ASSERT_FALSE(progress.empty()) << "Test timed out."; 108 ASSERT_FALSE(progress.empty()) << "Test timed out.";
116 } 109 }
117 110
118 EXPECT_STREQ("PASS", progress.c_str()); 111 EXPECT_STREQ("PASS", progress.c_str());
119 } 112 }
120 }; 113 };
121 114
115 // In-process plugin test runner. See OutOfProcessPPAPITest below for the
116 // out-of-process version.
117 class PPAPITest : public PPAPITestBase {
118 public:
119 PPAPITest() {
120 // Append the switch to register the pepper plugin.
121 // library name = <out dir>/<test_name>.<library_extension>
122 // MIME type = application/x-ppapi-<test_name>
123 FilePath plugin_dir;
124 PathService::Get(base::DIR_EXE, &plugin_dir);
Paweł Hajdan Jr. 2011/11/14 12:31:06 nit: Check the return value (EXPECT_TRUE).
noelallen1 2011/11/14 22:28:17 Done.
125
126 FilePath plugin_lib = plugin_dir.Append(library_name);
127 EXPECT_TRUE(file_util::PathExists(plugin_lib));
128 FilePath::StringType pepper_plugin = plugin_lib.value();
129 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests"));
130 launch_arguments_.AppendSwitchNative(switches::kRegisterPepperPlugins,
131 pepper_plugin);
132 }
133
134 void AppendQuery(std::string* query, const std::string& test_case) {
Paweł Hajdan Jr. 2011/11/14 12:31:06 I don't like this design. How about BuildQuery(con
noelallen1 2011/11/14 22:28:17 Done.
135 (*query) += "testcase=";
136 (*query) += test_case;
137 }
138
139 };
140
122 // Variant of PPAPITest that runs plugins out-of-process to test proxy 141 // Variant of PPAPITest that runs plugins out-of-process to test proxy
123 // codepaths. 142 // codepaths.
124 class OutOfProcessPPAPITest : public PPAPITest { 143 class OutOfProcessPPAPITest : public PPAPITest {
125 public: 144 public:
126 OutOfProcessPPAPITest() { 145 OutOfProcessPPAPITest() {
127 // Run PPAPI out-of-process to exercise proxy implementations. 146 // Run PPAPI out-of-process to exercise proxy implementations.
128 launch_arguments_.AppendSwitch(switches::kPpapiOutOfProcess); 147 launch_arguments_.AppendSwitch(switches::kPpapiOutOfProcess);
129 } 148 }
130 }; 149 };
131 150
151 // NaCl plugin test runner.
152 class PPAPINaClTest : public PPAPITestBase {
153 public:
154 PPAPINaClTest() {
155 FilePath plugin_dir;
156 PathService::Get(base::DIR_EXE, &plugin_dir);
Paweł Hajdan Jr. 2011/11/14 12:31:06 nit: Please check return value here too.
noelallen1 2011/11/14 22:28:17 Done.
157
158 FilePath plugin_lib = plugin_dir.Append(nacl_library_name);
159 EXPECT_TRUE(file_util::PathExists(plugin_lib));
160
161 // Enable running NaCl outside of the store.
162 launch_arguments_.AppendSwitch(switches::kEnableNaCl);
163 }
164
165 // Append the correct mode and testcase string
166 void AppendQuery(std::string* query, const std::string& test_case) {
167 (*query) += "mode=nacl&testcase=";
168 (*query) += test_case;
169 }
170 };
171
172
132 // Use these macros to run the tests for a specific interface. 173 // Use these macros to run the tests for a specific interface.
133 // Most interfaces should be tested with both macros. 174 // Most interfaces should be tested with both macros.
134 #define TEST_PPAPI_IN_PROCESS(test_name) \ 175 #define TEST_PPAPI_IN_PROCESS(test_name) \
135 TEST_F(PPAPITest, test_name) { \ 176 TEST_F(PPAPITest, test_name) { \
136 RunTest(#test_name); \ 177 RunTest(#test_name); \
137 } 178 }
138 #define TEST_PPAPI_OUT_OF_PROCESS(test_name) \ 179 #define TEST_PPAPI_OUT_OF_PROCESS(test_name) \
139 TEST_F(OutOfProcessPPAPITest, test_name) { \ 180 TEST_F(OutOfProcessPPAPITest, test_name) { \
140 RunTest(#test_name); \ 181 RunTest(#test_name); \
141 } 182 }
142 183
143 // Similar macros that test over HTTP. 184 // Similar macros that test over HTTP.
144 #define TEST_PPAPI_IN_PROCESS_VIA_HTTP(test_name) \ 185 #define TEST_PPAPI_IN_PROCESS_VIA_HTTP(test_name) \
145 TEST_F(PPAPITest, test_name) { \ 186 TEST_F(PPAPITest, test_name) { \
146 RunTestViaHTTP(#test_name); \ 187 RunTestViaHTTP(#test_name); \
147 } 188 }
148 #define TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(test_name) \ 189 #define TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(test_name) \
149 TEST_F(OutOfProcessPPAPITest, test_name) { \ 190 TEST_F(OutOfProcessPPAPITest, test_name) { \
150 RunTestViaHTTP(#test_name); \ 191 RunTestViaHTTP(#test_name); \
151 } 192 }
152 193
153 194
195 // NaCl based PPAPI tests
196 #define TEST_PPAPI_NACL_VIA_HTTP(test_name) \
197 TEST_F(PPAPINaClTest, test_name) { \
198 RunTestViaHTTP(#test_name); \
199 }
200
154 // 201 //
155 // Interface tests. 202 // Interface tests.
156 // 203 //
157 204
158 TEST_PPAPI_IN_PROCESS(Broker) 205 TEST_PPAPI_IN_PROCESS(Broker)
159 TEST_PPAPI_OUT_OF_PROCESS(Broker) 206 TEST_PPAPI_OUT_OF_PROCESS(Broker)
160 207
161 TEST_PPAPI_IN_PROCESS(Core) 208 TEST_PPAPI_IN_PROCESS(Core)
162 TEST_PPAPI_OUT_OF_PROCESS(Core) 209 TEST_PPAPI_OUT_OF_PROCESS(Core)
163 210
164 TEST_PPAPI_IN_PROCESS(CursorControl) 211 TEST_PPAPI_IN_PROCESS(CursorControl)
165 TEST_PPAPI_OUT_OF_PROCESS(CursorControl) 212 TEST_PPAPI_OUT_OF_PROCESS(CursorControl)
213 TEST_PPAPI_NACL_VIA_HTTP(CursorControl)
166 214
167 TEST_PPAPI_IN_PROCESS(Instance) 215 TEST_PPAPI_IN_PROCESS(Instance)
168 // http://crbug.com/91729 216 // http://crbug.com/91729
169 TEST_PPAPI_OUT_OF_PROCESS(DISABLED_Instance) 217 TEST_PPAPI_OUT_OF_PROCESS(DISABLED_Instance)
170 218
171 TEST_PPAPI_IN_PROCESS(Graphics2D) 219 TEST_PPAPI_IN_PROCESS(Graphics2D)
172 TEST_PPAPI_OUT_OF_PROCESS(Graphics2D) 220 TEST_PPAPI_OUT_OF_PROCESS(Graphics2D)
221 TEST_PPAPI_NACL_VIA_HTTP(Graphics2D)
173 222
174 TEST_PPAPI_IN_PROCESS(ImageData) 223 TEST_PPAPI_IN_PROCESS(ImageData)
175 TEST_PPAPI_OUT_OF_PROCESS(ImageData) 224 TEST_PPAPI_OUT_OF_PROCESS(ImageData)
225 TEST_PPAPI_NACL_VIA_HTTP(ImageData)
176 226
177 TEST_PPAPI_IN_PROCESS(Buffer) 227 TEST_PPAPI_IN_PROCESS(Buffer)
178 TEST_PPAPI_OUT_OF_PROCESS(Buffer) 228 TEST_PPAPI_OUT_OF_PROCESS(Buffer)
179 229
180 TEST_PPAPI_IN_PROCESS_VIA_HTTP(URLLoader) 230 TEST_PPAPI_IN_PROCESS_VIA_HTTP(URLLoader)
181
182 // http://crbug.com/89961 231 // http://crbug.com/89961
183 #if defined(OS_WIN) 232 #if defined(OS_WIN)
184 // It often takes too long time (and fails otherwise) on Windows. 233 // It often takes too long time (and fails otherwise) on Windows.
185 #define MAYBE_URLLoader DISABLED_URLLoader 234 #define MAYBE_URLLoader DISABLED_URLLoader
186 #else 235 #else
187 #define MAYBE_URLLoader FAILS_URLLoader 236 #define MAYBE_URLLoader FAILS_URLLoader
188 #endif 237 #endif
189
190 TEST_F(OutOfProcessPPAPITest, MAYBE_URLLoader) { 238 TEST_F(OutOfProcessPPAPITest, MAYBE_URLLoader) {
191 RunTestViaHTTP("URLLoader"); 239 RunTestViaHTTP("URLLoader");
192 } 240 }
193 241
242
243
194 TEST_PPAPI_IN_PROCESS(PaintAggregator) 244 TEST_PPAPI_IN_PROCESS(PaintAggregator)
195 TEST_PPAPI_OUT_OF_PROCESS(PaintAggregator) 245 TEST_PPAPI_OUT_OF_PROCESS(PaintAggregator)
246 TEST_PPAPI_NACL_VIA_HTTP(PaintAggregator)
196 247
197 TEST_PPAPI_IN_PROCESS(Scrollbar) 248 TEST_PPAPI_IN_PROCESS(Scrollbar)
198 // http://crbug.com/89961 249 // http://crbug.com/89961
199 TEST_F(OutOfProcessPPAPITest, FAILS_Scrollbar) { 250 TEST_F(OutOfProcessPPAPITest, FAILS_Scrollbar) {
200 RunTest("Scrollbar"); 251 RunTest("Scrollbar");
201 } 252 }
253 TEST_PPAPI_NACL_VIA_HTTP(Scrollbar)
202 254
203 TEST_PPAPI_IN_PROCESS(URLUtil) 255 TEST_PPAPI_IN_PROCESS(URLUtil)
204 TEST_PPAPI_OUT_OF_PROCESS(URLUtil) 256 TEST_PPAPI_OUT_OF_PROCESS(URLUtil)
205 257
206 TEST_PPAPI_IN_PROCESS(CharSet) 258 TEST_PPAPI_IN_PROCESS(CharSet)
207 TEST_PPAPI_OUT_OF_PROCESS(CharSet) 259 TEST_PPAPI_OUT_OF_PROCESS(CharSet)
208 260
209 TEST_PPAPI_IN_PROCESS(Crypto) 261 TEST_PPAPI_IN_PROCESS(Crypto)
210 TEST_PPAPI_OUT_OF_PROCESS(Crypto) 262 TEST_PPAPI_OUT_OF_PROCESS(Crypto)
211 263
212 TEST_PPAPI_IN_PROCESS(Var) 264 TEST_PPAPI_IN_PROCESS(Var)
213 // http://crbug.com/89961 265 // http://crbug.com/89961
214 TEST_F(OutOfProcessPPAPITest, FAILS_Var) { 266 TEST_F(OutOfProcessPPAPITest, FAILS_Var) {
215 RunTest("Var"); 267 RunTest("Var");
216 } 268 }
269 TEST_PPAPI_NACL_VIA_HTTP(Var)
217 270
218 TEST_PPAPI_IN_PROCESS(VarDeprecated) 271 TEST_PPAPI_IN_PROCESS(VarDeprecated)
219 // Disabled because it times out: http://crbug.com/89961 272 // Disabled because it times out: http://crbug.com/89961
220 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated) 273 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated)
221 274
222 // Windows defines 'PostMessage', so we have to undef it. 275 // Windows defines 'PostMessage', so we have to undef it.
223 #ifdef PostMessage 276 #ifdef PostMessage
224 #undef PostMessage 277 #undef PostMessage
225 #endif 278 #endif
226 TEST_PPAPI_IN_PROCESS(PostMessage) 279 TEST_PPAPI_IN_PROCESS(PostMessage)
227 #if !defined(OS_WIN) 280 #if !defined(OS_WIN)
228 // Times out on Windows XP: http://crbug.com/95557 281 // Times out on Windows XP: http://crbug.com/95557
229 TEST_PPAPI_OUT_OF_PROCESS(PostMessage) 282 TEST_PPAPI_OUT_OF_PROCESS(PostMessage)
230 #endif 283 #endif
231 284
232 TEST_PPAPI_IN_PROCESS(Memory) 285 TEST_PPAPI_IN_PROCESS(Memory)
233 TEST_PPAPI_OUT_OF_PROCESS(Memory) 286 TEST_PPAPI_OUT_OF_PROCESS(Memory)
287 TEST_PPAPI_NACL_VIA_HTTP(Memory)
234 288
235 TEST_PPAPI_IN_PROCESS(VideoDecoder) 289 TEST_PPAPI_IN_PROCESS(VideoDecoder)
236 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder) 290 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder)
237 291
238 // http://crbug.com/90039 and http://crbug.com/83443 (Mac) 292 // http://crbug.com/90039 and http://crbug.com/83443 (Mac)
239 TEST_F(PPAPITest, FAILS_FileIO) { 293 TEST_F(PPAPITest, FAILS_FileIO) {
240 RunTestViaHTTP("FileIO"); 294 RunTestViaHTTP("FileIO");
241 } 295 }
242 // http://crbug.com/101154 296 // http://crbug.com/101154
243 TEST_F(OutOfProcessPPAPITest, DISABLED_FileIO) { 297 TEST_F(OutOfProcessPPAPITest, DISABLED_FileIO) {
244 RunTestViaHTTP("FileIO"); 298 RunTestViaHTTP("FileIO");
245 } 299 }
300 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_FileIO)
301
246 302
247 TEST_PPAPI_IN_PROCESS_VIA_HTTP(FileRef) 303 TEST_PPAPI_IN_PROCESS_VIA_HTTP(FileRef)
248 // Disabled because it times out: http://crbug.com/89961 304 // Disabled because it times out: http://crbug.com/89961
249 //TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FileRef) 305 //TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FileRef)
306 TEST_PPAPI_NACL_VIA_HTTP(FileRef)
307
250 308
251 TEST_PPAPI_IN_PROCESS_VIA_HTTP(FileSystem) 309 TEST_PPAPI_IN_PROCESS_VIA_HTTP(FileSystem)
252 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FileSystem) 310 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FileSystem)
311 TEST_PPAPI_NACL_VIA_HTTP(FileSystem)
253 312
254 // http://crbug.com/96767 313 // http://crbug.com/96767
255 #if !defined(OS_MACOSX) 314 #if !defined(OS_MACOSX)
256 TEST_F(PPAPITest, FLAKY_FlashFullscreen) { 315 TEST_F(PPAPITest, FLAKY_FlashFullscreen) {
257 RunTestViaHTTP("FlashFullscreen"); 316 RunTestViaHTTP("FlashFullscreen");
258 } 317 }
259 TEST_F(OutOfProcessPPAPITest, FLAKY_FlashFullscreen) { 318 TEST_F(OutOfProcessPPAPITest, FLAKY_FlashFullscreen) {
260 RunTestViaHTTP("FlashFullscreen"); 319 RunTestViaHTTP("FlashFullscreen");
261 } 320 }
262 // New implementation only honors fullscreen requests within a context of 321 // New implementation only honors fullscreen requests within a context of
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) { 360 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) {
302 RunTestViaHTTP("Transport"); 361 RunTestViaHTTP("Transport");
303 } 362 }
304 #endif // ENABLE_P2P_APIS 363 #endif // ENABLE_P2P_APIS
305 364
306 TEST_PPAPI_IN_PROCESS(UMA) 365 TEST_PPAPI_IN_PROCESS(UMA)
307 // There is no proxy. 366 // There is no proxy.
308 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) { 367 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) {
309 RunTest("UMA"); 368 RunTest("UMA");
310 } 369 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | net/test/test_server.cc » ('j') | net/test/test_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698