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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 24195004: PPB_TCPSocket: add support for TCP server socket operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | content/browser/renderer_host/pepper/content_browser_pepper_host_factory.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/test/ppapi/ppapi_test.h" 5 #include "chrome/test/ppapi/ppapi_test.h"
6 6
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 "chrome/browser/content_settings/host_content_settings_map.h" 9 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 TEST_PPAPI_IN_PROCESS(Buffer) 318 TEST_PPAPI_IN_PROCESS(Buffer)
319 TEST_PPAPI_OUT_OF_PROCESS(Buffer) 319 TEST_PPAPI_OUT_OF_PROCESS(Buffer)
320 320
321 // TCPSocket tests. 321 // TCPSocket tests.
322 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, TCPSocket) { 322 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, TCPSocket) {
323 RunTestViaHTTP( 323 RunTestViaHTTP(
324 LIST_TEST(TCPSocket_Connect) 324 LIST_TEST(TCPSocket_Connect)
325 LIST_TEST(TCPSocket_ReadWrite) 325 LIST_TEST(TCPSocket_ReadWrite)
326 LIST_TEST(TCPSocket_SetOption) 326 LIST_TEST(TCPSocket_SetOption)
327 LIST_TEST(TCPSocket_Listen)
328 LIST_TEST(TCPSocket_Backlog)
327 ); 329 );
328 } 330 }
329 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, TCPSocket) { 331 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, TCPSocket) {
330 RunTestViaHTTP( 332 RunTestViaHTTP(
331 LIST_TEST(TCPSocket_Connect) 333 LIST_TEST(TCPSocket_Connect)
332 LIST_TEST(TCPSocket_ReadWrite) 334 LIST_TEST(TCPSocket_ReadWrite)
333 LIST_TEST(TCPSocket_SetOption) 335 LIST_TEST(TCPSocket_SetOption)
336 LIST_TEST(TCPSocket_Listen)
337 LIST_TEST(TCPSocket_Backlog)
334 ); 338 );
335 } 339 }
336 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(TCPSocket)) { 340 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(TCPSocket)) {
337 RunTestViaHTTP( 341 RunTestViaHTTP(
338 LIST_TEST(TCPSocket_Connect) 342 LIST_TEST(TCPSocket_Connect)
339 LIST_TEST(TCPSocket_ReadWrite) 343 LIST_TEST(TCPSocket_ReadWrite)
340 LIST_TEST(TCPSocket_SetOption) 344 LIST_TEST(TCPSocket_SetOption)
345 LIST_TEST(TCPSocket_Listen)
346 LIST_TEST(TCPSocket_Backlog)
341 ); 347 );
342 } 348 }
343 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, TCPSocket) { 349 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, TCPSocket) {
344 RunTestViaHTTP( 350 RunTestViaHTTP(
345 LIST_TEST(TCPSocket_Connect) 351 LIST_TEST(TCPSocket_Connect)
346 LIST_TEST(TCPSocket_ReadWrite) 352 LIST_TEST(TCPSocket_ReadWrite)
347 LIST_TEST(TCPSocket_SetOption) 353 LIST_TEST(TCPSocket_SetOption)
354 LIST_TEST(TCPSocket_Listen)
355 LIST_TEST(TCPSocket_Backlog)
348 ); 356 );
349 } 357 }
350 358
351 TEST_PPAPI_OUT_OF_PROCESS_WITH_SSL_SERVER(TCPSocketPrivate) 359 TEST_PPAPI_OUT_OF_PROCESS_WITH_SSL_SERVER(TCPSocketPrivate)
352 TEST_PPAPI_NACL_WITH_SSL_SERVER(TCPSocketPrivate) 360 TEST_PPAPI_NACL_WITH_SSL_SERVER(TCPSocketPrivate)
353 361
354 TEST_PPAPI_OUT_OF_PROCESS_WITH_SSL_SERVER(TCPSocketPrivateTrusted) 362 TEST_PPAPI_OUT_OF_PROCESS_WITH_SSL_SERVER(TCPSocketPrivateTrusted)
355 363
356 // UDPSocket tests. 364 // UDPSocket tests.
357 // UDPSocket_Broadcast is disabled for OSX because it requires root permissions 365 // UDPSocket_Broadcast is disabled for OSX because it requires root permissions
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 #if (defined(OS_WIN) && defined(ENABLE_RLZ)) || defined(OS_CHROMEOS) 1545 #if (defined(OS_WIN) && defined(ENABLE_RLZ)) || defined(OS_CHROMEOS)
1538 // Only implemented on Windows and ChromeOS currently. 1546 // Only implemented on Windows and ChromeOS currently.
1539 LIST_TEST(FlashDRM_GetDeviceID) 1547 LIST_TEST(FlashDRM_GetDeviceID)
1540 #endif 1548 #endif
1541 LIST_TEST(FlashDRM_GetHmonitor) 1549 LIST_TEST(FlashDRM_GetHmonitor)
1542 LIST_TEST(FlashDRM_GetVoucherFile)); 1550 LIST_TEST(FlashDRM_GetVoucherFile));
1543 } 1551 }
1544 1552
1545 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1553 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1546 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1554 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698