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 #ifndef PAPPI_TESTS_TEST_WEBSOCKET_H_ | 5 #ifndef PAPPI_TESTS_TEST_WEBSOCKET_H_ |
6 #define PAPPI_TESTS_TEST_WEBSOCKET_H_ | 6 #define PAPPI_TESTS_TEST_WEBSOCKET_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/c/ppb_core.h" | 10 #include "ppapi/c/ppb_core.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 std::string TestUninitializedPropertiesAccess(); | 38 std::string TestUninitializedPropertiesAccess(); |
39 std::string TestInvalidConnect(); | 39 std::string TestInvalidConnect(); |
40 std::string TestProtocols(); | 40 std::string TestProtocols(); |
41 std::string TestGetURL(); | 41 std::string TestGetURL(); |
42 std::string TestValidConnect(); | 42 std::string TestValidConnect(); |
43 std::string TestInvalidClose(); | 43 std::string TestInvalidClose(); |
44 std::string TestValidClose(); | 44 std::string TestValidClose(); |
45 std::string TestGetProtocol(); | 45 std::string TestGetProtocol(); |
46 std::string TestTextSendReceive(); | 46 std::string TestTextSendReceive(); |
47 std::string TestBinarySendReceive(); | 47 std::string TestBinarySendReceive(); |
| 48 std::string TestStressedSendReceive(); |
48 std::string TestBufferedAmount(); | 49 std::string TestBufferedAmount(); |
49 | 50 |
50 std::string TestCcInterfaces(); | 51 std::string TestCcInterfaces(); |
51 | 52 |
52 std::string TestUtilityInvalidConnect(); | 53 std::string TestUtilityInvalidConnect(); |
53 std::string TestUtilityProtocols(); | 54 std::string TestUtilityProtocols(); |
54 std::string TestUtilityGetURL(); | 55 std::string TestUtilityGetURL(); |
55 std::string TestUtilityValidConnect(); | 56 std::string TestUtilityValidConnect(); |
56 std::string TestUtilityInvalidClose(); | 57 std::string TestUtilityInvalidClose(); |
57 std::string TestUtilityValidClose(); | 58 std::string TestUtilityValidClose(); |
58 std::string TestUtilityGetProtocol(); | 59 std::string TestUtilityGetProtocol(); |
59 std::string TestUtilityTextSendReceive(); | 60 std::string TestUtilityTextSendReceive(); |
60 std::string TestUtilityBinarySendReceive(); | 61 std::string TestUtilityBinarySendReceive(); |
61 std::string TestUtilityBufferedAmount(); | 62 std::string TestUtilityBufferedAmount(); |
62 | 63 |
63 // Keeps Pepper API interfaces. These are used by the tests that access the C | 64 // Keeps Pepper API interfaces. These are used by the tests that access the C |
64 // API directly. | 65 // API directly. |
65 const PPB_WebSocket* websocket_interface_; | 66 const PPB_WebSocket* websocket_interface_; |
66 const PPB_Var* var_interface_; | 67 const PPB_Var* var_interface_; |
67 const PPB_VarArrayBuffer* arraybuffer_interface_; | 68 const PPB_VarArrayBuffer* arraybuffer_interface_; |
68 const PPB_Core* core_interface_; | 69 const PPB_Core* core_interface_; |
69 }; | 70 }; |
70 | 71 |
71 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ | 72 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ |
OLD | NEW |