| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | /* * Wslay - The WebSocket Library * * Copyright (c) 2011, 2012 Tatsuhiro Tsujikawa * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */#ifndef WSLAY_FRAME_TEST_H#define WSLAY_FRAME_TEST_Hvoid test_wslay_frame_context_init();void test_wslay_frame_recv();void test_wslay_frame_recv_1byte();void test_wslay_frame_recv_fragmented();void test_wslay_frame_recv_interleaved_ctrl_frame();void test_wslay_frame_recv_zero_payloadlen();void test_wslay_frame_recv_too_large_payload();void test_wslay_frame_recv_ctrl_frame_too_large_payload();void test_wslay_frame_recv_minimum_ext_payload16();void test_wslay_frame_recv_minimum_ext_payload64();void test_wslay_frame_send();void test_wslay_frame_send_fragmented();void test_wslay_frame_send_interleaved_ctrl_frame();void test_wslay_frame_send_1byte_masked();void test_wslay_frame_send_zero_payloadlen();void test_wslay_frame_send_too_large_payload();void test_wslay_frame_send_ctrl_frame_too_large_payload();#endif // WSLAY_FRAME_TEST_H
 |