Home / Function/ testTextFrame() — netty Function Reference

testTextFrame() — netty Function Reference

Architecture documentation for the testTextFrame() function in WebSocketProtocolHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4de1718d_980b_52aa_8c94_23349e7a3c21["testTextFrame()"]
  4e6acdd6_0a1b_2423_42e3_58c47c3a2cd5["WebSocketProtocolHandlerTest"]
  4de1718d_980b_52aa_8c94_23349e7a3c21 -->|defined in| 4e6acdd6_0a1b_2423_42e3_58c47c3a2cd5
  8cf80732_3146_beb8_835c_e7d7278a759d["assertPropagatedInbound()"]
  4de1718d_980b_52aa_8c94_23349e7a3c21 -->|calls| 8cf80732_3146_beb8_835c_e7d7278a759d
  style 4de1718d_980b_52aa_8c94_23349e7a3c21 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandlerTest.java lines 140–151

    @Test
    public void testTextFrame() {
        EmbeddedChannel channel = new EmbeddedChannel(new WebSocketProtocolHandler() { });

        TextWebSocketFrame textFrame = new TextWebSocketFrame();
        assertTrue(channel.writeInbound(textFrame));

        assertPropagatedInbound(textFrame, channel);

        textFrame.release();
        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free