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 29 matching lines...) Expand all Loading... |
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 TestStressedSendReceive(); |
49 std::string TestBufferedAmount(); | 49 std::string TestBufferedAmount(); |
| 50 std::string TestAbortCalls(); |
50 | 51 |
51 std::string TestCcInterfaces(); | 52 std::string TestCcInterfaces(); |
52 | 53 |
53 std::string TestUtilityInvalidConnect(); | 54 std::string TestUtilityInvalidConnect(); |
54 std::string TestUtilityProtocols(); | 55 std::string TestUtilityProtocols(); |
55 std::string TestUtilityGetURL(); | 56 std::string TestUtilityGetURL(); |
56 std::string TestUtilityValidConnect(); | 57 std::string TestUtilityValidConnect(); |
57 std::string TestUtilityInvalidClose(); | 58 std::string TestUtilityInvalidClose(); |
58 std::string TestUtilityValidClose(); | 59 std::string TestUtilityValidClose(); |
59 std::string TestUtilityGetProtocol(); | 60 std::string TestUtilityGetProtocol(); |
60 std::string TestUtilityTextSendReceive(); | 61 std::string TestUtilityTextSendReceive(); |
61 std::string TestUtilityBinarySendReceive(); | 62 std::string TestUtilityBinarySendReceive(); |
62 std::string TestUtilityBufferedAmount(); | 63 std::string TestUtilityBufferedAmount(); |
63 | 64 |
64 // Keeps Pepper API interfaces. These are used by the tests that access the C | 65 // Keeps Pepper API interfaces. These are used by the tests that access the C |
65 // API directly. | 66 // API directly. |
66 const PPB_WebSocket* websocket_interface_; | 67 const PPB_WebSocket* websocket_interface_; |
67 const PPB_Var* var_interface_; | 68 const PPB_Var* var_interface_; |
68 const PPB_VarArrayBuffer* arraybuffer_interface_; | 69 const PPB_VarArrayBuffer* arraybuffer_interface_; |
69 const PPB_Core* core_interface_; | 70 const PPB_Core* core_interface_; |
70 }; | 71 }; |
71 | 72 |
72 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ | 73 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ |
OLD | NEW |