Home / Function/ executeTests() — netty Function Reference

executeTests() — netty Function Reference

Architecture documentation for the executeTests() function in WebSocket08EncoderDecoderTest.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  2ef26fb3_9ddb_2c34_88fb_726150d7f587["executeTests()"]
  1641b287_2aaf_ce3b_c2c6_654ccc82886d["WebSocket08EncoderDecoderTest"]
  2ef26fb3_9ddb_2c34_88fb_726150d7f587 -->|defined in| 1641b287_2aaf_ce3b_c2c6_654ccc82886d
  9bf50fab_dea9_9f14_30be_52f2e34e23f3["testWebSocketEncodingAndDecoding()"]
  9bf50fab_dea9_9f14_30be_52f2e34e23f3 -->|calls| 2ef26fb3_9ddb_2c34_88fb_726150d7f587
  eb12ef0f_e293_b4ee_ce25_85a0867ad801["testTextWithLen()"]
  2ef26fb3_9ddb_2c34_88fb_726150d7f587 -->|calls| eb12ef0f_e293_b4ee_ce25_85a0867ad801
  0922f899_084a_8fad_20de_9e770362a721["testBinaryWithLen()"]
  2ef26fb3_9ddb_2c34_88fb_726150d7f587 -->|calls| 0922f899_084a_8fad_20de_9e770362a721
  style 2ef26fb3_9ddb_2c34_88fb_726150d7f587 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket08EncoderDecoderTest.java lines 150–171

    private void executeTests(EmbeddedChannel outChannel, EmbeddedChannel inChannel) {
        // Test at the boundaries of each message type, because this shifts the position of the mask field
        // Test min. 4 lengths to check for problems related to an uneven frame length
        executeTests(outChannel, inChannel, 0);
        executeTests(outChannel, inChannel, 1);
        executeTests(outChannel, inChannel, 2);
        executeTests(outChannel, inChannel, 3);
        executeTests(outChannel, inChannel, 4);
        executeTests(outChannel, inChannel, 5);

        executeTests(outChannel, inChannel, 125);
        executeTests(outChannel, inChannel, 126);
        executeTests(outChannel, inChannel, 127);
        executeTests(outChannel, inChannel, 128);
        executeTests(outChannel, inChannel, 129);

        executeTests(outChannel, inChannel, 65535);
        executeTests(outChannel, inChannel, 65536);
        executeTests(outChannel, inChannel, 65537);
        executeTests(outChannel, inChannel, 65538);
        executeTests(outChannel, inChannel, 65539);
    }

Domain

Subdomains

Frequently Asked Questions

What does executeTests() do?
executeTests() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket08EncoderDecoderTest.java.
Where is executeTests() defined?
executeTests() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocket08EncoderDecoderTest.java at line 150.
What does executeTests() call?
executeTests() calls 2 function(s): testBinaryWithLen, testTextWithLen.
What calls executeTests()?
executeTests() is called by 1 function(s): testWebSocketEncodingAndDecoding.

Analyze Your Own Codebase

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

Try Supermodel Free