Home / Function/ testMultipleWebSocketCloseFrames() — netty Function Reference

testMultipleWebSocketCloseFrames() — netty Function Reference

Architecture documentation for the testMultipleWebSocketCloseFrames() function in WebSocket00FrameEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f4a6f8bb_062c_6f50_c21e_146c9086393f["testMultipleWebSocketCloseFrames()"]
  4e6e9c04_28d4_5805_975d_ccd38dec1e6e["WebSocket00FrameEncoderTest"]
  f4a6f8bb_062c_6f50_c21e_146c9086393f -->|defined in| 4e6e9c04_28d4_5805_975d_ccd38dec1e6e
  5239aed9_81ef_8f25_0057_019b1c942793["assertCloseWebSocketFrame()"]
  f4a6f8bb_062c_6f50_c21e_146c9086393f -->|calls| 5239aed9_81ef_8f25_0057_019b1c942793
  style f4a6f8bb_062c_6f50_c21e_146c9086393f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket00FrameEncoderTest.java lines 29–38

    @Test
    public void testMultipleWebSocketCloseFrames() {
        EmbeddedChannel channel = new EmbeddedChannel(new WebSocket00FrameEncoder());
        assertTrue(channel.writeOutbound(new CloseWebSocketFrame()));
        assertTrue(channel.writeOutbound(new CloseWebSocketFrame()));
        assertTrue(channel.finish());
        assertCloseWebSocketFrame(channel);
        assertCloseWebSocketFrame(channel);
        assertNull(channel.readOutbound());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free