OLD | NEW |
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 "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 "content/common/pepper_plugin_registry.h" | 10 #include "content/common/pepper_plugin_registry.h" |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 // There is no proxy. This is used for PDF metrics reporting, and PDF only | 681 // There is no proxy. This is used for PDF metrics reporting, and PDF only |
682 // runs in process, so there's currently no need for a proxy. | 682 // runs in process, so there's currently no need for a proxy. |
683 TEST_PPAPI_IN_PROCESS(UMA) | 683 TEST_PPAPI_IN_PROCESS(UMA) |
684 | 684 |
685 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_AreEqual) | 685 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_AreEqual) |
686 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_AreHostsEqual) | 686 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_AreHostsEqual) |
687 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_Describe) | 687 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_Describe) |
688 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_ReplacePort) | 688 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_ReplacePort) |
689 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_GetAnyAddress) | 689 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_GetAnyAddress) |
690 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_DescribeIPv6) | 690 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_DescribeIPv6) |
| 691 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_GetFamily) |
| 692 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_GetPort) |
| 693 TEST_PPAPI_IN_PROCESS(NetAddressPrivate_GetAddress) |
691 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_AreEqual) | 694 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_AreEqual) |
692 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_AreHostsEqual) | 695 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_AreHostsEqual) |
693 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_Describe) | 696 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_Describe) |
694 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_ReplacePort) | 697 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_ReplacePort) |
695 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_GetAnyAddress) | 698 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_GetAnyAddress) |
696 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_DescribeIPv6) | 699 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_DescribeIPv6) |
| 700 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_GetFamily) |
| 701 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_GetPort) |
| 702 TEST_PPAPI_OUT_OF_PROCESS(NetAddressPrivate_GetAddress) |
697 | 703 |
698 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_AreEqual) | 704 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_AreEqual) |
699 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_AreHostsEqual) | 705 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_AreHostsEqual) |
700 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_Describe) | 706 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_Describe) |
701 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_ReplacePort) | 707 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_ReplacePort) |
702 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetAnyAddress) | 708 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetAnyAddress) |
| 709 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetFamily) |
| 710 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetPort) |
| 711 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetAddress) |
703 | 712 |
704 // PPB_TCPSocket_Private currently isn't supported in-process. | 713 // PPB_TCPSocket_Private currently isn't supported in-process. |
705 TEST_F(OutOfProcessPPAPITest, TCPSocketPrivate) { | 714 TEST_F(OutOfProcessPPAPITest, TCPSocketPrivate) { |
706 RunTestViaHTTP("TCPSocketPrivate"); | 715 RunTestViaHTTP("TCPSocketPrivate"); |
707 } | 716 } |
708 | 717 |
709 TEST_PPAPI_IN_PROCESS(Flash_SetInstanceAlwaysOnTop) | 718 TEST_PPAPI_IN_PROCESS(Flash_SetInstanceAlwaysOnTop) |
710 TEST_PPAPI_IN_PROCESS(Flash_GetProxyForURL) | 719 TEST_PPAPI_IN_PROCESS(Flash_GetProxyForURL) |
711 TEST_PPAPI_IN_PROCESS(Flash_MessageLoop) | 720 TEST_PPAPI_IN_PROCESS(Flash_MessageLoop) |
712 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) | 721 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess) | 841 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess) |
833 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray) | 842 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray) |
834 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement) | 843 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement) |
835 | 844 |
836 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics) | 845 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics) |
837 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit) | 846 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit) |
838 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics) | 847 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics) |
839 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit) | 848 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit) |
840 | 849 |
841 #endif // ADDRESS_SANITIZER | 850 #endif // ADDRESS_SANITIZER |
OLD | NEW |