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

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

Issue 7821001: Add test for calling PostMessage during Init. Deflakify TestPostMessage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Turn down thread & message count to reduce flakiness Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/tests/test_post_message.h » ('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 (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/common/content_switches.h" 9 #include "content/common/content_switches.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 TEST_PPAPI_IN_PROCESS(VarDeprecated) 221 TEST_PPAPI_IN_PROCESS(VarDeprecated)
222 // Disabled because it times out: http://crbug.com/89961 222 // Disabled because it times out: http://crbug.com/89961
223 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated) 223 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated)
224 224
225 // Windows defines 'PostMessage', so we have to undef it. 225 // Windows defines 'PostMessage', so we have to undef it.
226 #ifdef PostMessage 226 #ifdef PostMessage
227 #undef PostMessage 227 #undef PostMessage
228 #endif 228 #endif
229 TEST_PPAPI_IN_PROCESS(PostMessage) 229 TEST_PPAPI_IN_PROCESS(PostMessage)
230 230 TEST_PPAPI_OUT_OF_PROCESS(PostMessage)
231 // Times out: http://crbug.com/93260
232 TEST_F(OutOfProcessPPAPITest, DISABLED_PostMessage) {
233 RunTest("PostMessage");
234 }
235 231
236 TEST_PPAPI_IN_PROCESS(Memory) 232 TEST_PPAPI_IN_PROCESS(Memory)
237 TEST_PPAPI_OUT_OF_PROCESS(Memory) 233 TEST_PPAPI_OUT_OF_PROCESS(Memory)
238 234
239 TEST_PPAPI_IN_PROCESS(QueryPolicy) 235 TEST_PPAPI_IN_PROCESS(QueryPolicy)
240 //TEST_PPAPI_OUT_OF_PROCESS(QueryPolicy) 236 //TEST_PPAPI_OUT_OF_PROCESS(QueryPolicy)
241 237
242 TEST_PPAPI_IN_PROCESS(VideoDecoder) 238 TEST_PPAPI_IN_PROCESS(VideoDecoder)
243 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder) 239 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder)
244 240
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) { 280 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) {
285 RunTestViaHTTP("Transport"); 281 RunTestViaHTTP("Transport");
286 } 282 }
287 #endif // ENABLE_P2P_APIS 283 #endif // ENABLE_P2P_APIS
288 284
289 TEST_PPAPI_IN_PROCESS(UMA) 285 TEST_PPAPI_IN_PROCESS(UMA)
290 // There is no proxy. 286 // There is no proxy.
291 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) { 287 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) {
292 RunTest("UMA"); 288 RunTest("UMA");
293 } 289 }
OLDNEW
« no previous file with comments | « no previous file | ppapi/tests/test_post_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698