Home / Function/ testValidCode() — netty Function Reference

testValidCode() — netty Function Reference

Architecture documentation for the testValidCode() function in CloseWebSocketFrameTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fed5d8d1_a9e0_d578_51a9_832d41f15b1e["testValidCode()"]
  2e40898a_0f96_6a9c_3a33_ff2c3c4a8ef0["CloseWebSocketFrameTest"]
  fed5d8d1_a9e0_d578_51a9_832d41f15b1e -->|defined in| 2e40898a_0f96_6a9c_3a33_ff2c3c4a8ef0
  721cb817_3b2c_38c4_a169_5b8ecfa0f15f["doTestValidCode()"]
  fed5d8d1_a9e0_d578_51a9_832d41f15b1e -->|calls| 721cb817_3b2c_38c4_a169_5b8ecfa0f15f
  style fed5d8d1_a9e0_d578_51a9_832d41f15b1e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/CloseWebSocketFrameTest.java lines 61–72

    @Test
    void testValidCode() {
        doTestValidCode(new CloseWebSocketFrame(WebSocketCloseStatus.NORMAL_CLOSURE),
                WebSocketCloseStatus.NORMAL_CLOSURE.code(), WebSocketCloseStatus.NORMAL_CLOSURE.reasonText());

        doTestValidCode(new CloseWebSocketFrame(WebSocketCloseStatus.NORMAL_CLOSURE, "valid code"),
                WebSocketCloseStatus.NORMAL_CLOSURE.code(), "valid code");

        doTestValidCode(new CloseWebSocketFrame(1000, "valid code"), 1000, "valid code");

        doTestValidCode(new CloseWebSocketFrame(true, 0, 1000, "valid code"), 1000, "valid code");
    }

Domain

Subdomains

Frequently Asked Questions

What does testValidCode() do?
testValidCode() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/CloseWebSocketFrameTest.java.
Where is testValidCode() defined?
testValidCode() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/CloseWebSocketFrameTest.java at line 61.
What does testValidCode() call?
testValidCode() calls 1 function(s): doTestValidCode.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free