WebSocketProtocolHandlerTest

4

tests

0

failures

0

ignored

0.192s

duration

100%

successful

Tests

Test Method name Duration Result
핸드셰이크에 실패하면 연결을 닫아야 한다 accept_should_close_channel_when_handshake_fails() 0.176s passed
핸드셰이크 성공 시 WebSocket 세션을 생성하고 등록해야 한다 accept_should_establish_session_on_successful_handshake() 0.010s passed
엔드포인트를 찾지 못하면 404 응답을 보내고 연결을 닫아야 한다 accept_should_send_404_when_endpoint_not_found() 0.004s passed
supports 메서드는 'WEBSOCKET' 프로토콜을 지원해야 한다 supports_should_return_true_for_websocket_protocol() 0.002s passed

Standard output

WebSocket handshake failed. Closing socket.