| OLD | NEW |
| 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/public/common/content_switches.h" | 9 #include "content/public/common/content_switches.h" |
| 10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 } | 216 } |
| 217 | 217 |
| 218 TEST_PPAPI_IN_PROCESS(VarDeprecated) | 218 TEST_PPAPI_IN_PROCESS(VarDeprecated) |
| 219 // Disabled because it times out: http://crbug.com/89961 | 219 // Disabled because it times out: http://crbug.com/89961 |
| 220 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated) | 220 //TEST_PPAPI_OUT_OF_PROCESS(VarDeprecated) |
| 221 | 221 |
| 222 // Windows defines 'PostMessage', so we have to undef it. | 222 // Windows defines 'PostMessage', so we have to undef it. |
| 223 #ifdef PostMessage | 223 #ifdef PostMessage |
| 224 #undef PostMessage | 224 #undef PostMessage |
| 225 #endif | 225 #endif |
| 226 TEST_PPAPI_IN_PROCESS(PostMessage) | 226 TEST_PPAPI_IN_PROCESS(PostMessage_SendInInit) |
| 227 TEST_PPAPI_IN_PROCESS(PostMessage_SendingData) |
| 228 TEST_PPAPI_IN_PROCESS(PostMessage_MessageEvent) |
| 229 TEST_PPAPI_IN_PROCESS(PostMessage_NoHandler) |
| 230 TEST_PPAPI_IN_PROCESS(PostMessage_ExtraParam) |
| 231 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_SendInInit) |
| 232 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_SendingData) |
| 233 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_MessageEvent) |
| 234 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_NoHandler) |
| 235 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_ExtraParam) |
| 227 #if !defined(OS_WIN) | 236 #if !defined(OS_WIN) |
| 228 // Times out on Windows XP: http://crbug.com/95557 | 237 // Times out on Windows XP: http://crbug.com/95557 |
| 229 TEST_PPAPI_OUT_OF_PROCESS(PostMessage) | 238 TEST_PPAPI_OUT_OF_PROCESS(PostMessage_NonMainThread) |
| 230 #endif | 239 #endif |
| 231 | 240 |
| 232 TEST_PPAPI_IN_PROCESS(Memory) | 241 TEST_PPAPI_IN_PROCESS(Memory) |
| 233 TEST_PPAPI_OUT_OF_PROCESS(Memory) | 242 TEST_PPAPI_OUT_OF_PROCESS(Memory) |
| 234 | 243 |
| 235 TEST_PPAPI_IN_PROCESS(VideoDecoder) | 244 TEST_PPAPI_IN_PROCESS(VideoDecoder) |
| 236 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder) | 245 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder) |
| 237 | 246 |
| 238 // http://crbug.com/90039 and http://crbug.com/83443 (Mac) | 247 // http://crbug.com/90039 and http://crbug.com/83443 (Mac) |
| 239 TEST_F(PPAPITest, FAILS_FileIO) { | 248 TEST_F(PPAPITest, FAILS_FileIO) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) { | 310 TEST_F(OutOfProcessPPAPITest, FAILS_Transport) { |
| 302 RunTestViaHTTP("Transport"); | 311 RunTestViaHTTP("Transport"); |
| 303 } | 312 } |
| 304 #endif // ENABLE_P2P_APIS | 313 #endif // ENABLE_P2P_APIS |
| 305 | 314 |
| 306 TEST_PPAPI_IN_PROCESS(UMA) | 315 TEST_PPAPI_IN_PROCESS(UMA) |
| 307 // There is no proxy. | 316 // There is no proxy. |
| 308 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) { | 317 TEST_F(OutOfProcessPPAPITest, FAILS_UMA) { |
| 309 RunTest("UMA"); | 318 RunTest("UMA"); |
| 310 } | 319 } |
| OLD | NEW |