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 #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/tests/test_case.h" | 10 #include "ppapi/tests/test_case.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 std::string TestProtocols(); | 34 std::string TestProtocols(); |
35 std::string TestGetURL(); | 35 std::string TestGetURL(); |
36 std::string TestValidConnect(); | 36 std::string TestValidConnect(); |
37 std::string TestInvalidClose(); | 37 std::string TestInvalidClose(); |
38 std::string TestValidClose(); | 38 std::string TestValidClose(); |
39 std::string TestGetProtocol(); | 39 std::string TestGetProtocol(); |
40 std::string TestTextSendReceive(); | 40 std::string TestTextSendReceive(); |
41 | 41 |
42 std::string TestCcInterfaces(); | 42 std::string TestCcInterfaces(); |
43 | 43 |
44 std::string TestHelperInvalidConnect(); | |
45 std::string TestHelperProtocols(); | |
46 std::string TestHelperGetURL(); | |
47 std::string TestHelperValidConnect(); | |
48 std::string TestHelperInvalidClose(); | |
49 std::string TestHelperValidClose(); | |
50 std::string TestHelperGetProtocol(); | |
51 std::string TestHelperTextSendReceive(); | |
52 | |
53 // Used by the tests that access the C API directly. | 44 // Used by the tests that access the C API directly. |
54 const PPB_WebSocket_Dev* websocket_interface_; | 45 const PPB_WebSocket_Dev* websocket_interface_; |
55 const PPB_Var* var_interface_; | 46 const PPB_Var* var_interface_; |
56 const PPB_Core* core_interface_; | 47 const PPB_Core* core_interface_; |
57 }; | 48 }; |
58 | 49 |
59 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ | 50 #endif // PAPPI_TESTS_TEST_WEBSOCKET_H_ |
OLD | NEW |