Home / Class/ Bzip2IntegrationTest Class — netty Architecture

Bzip2IntegrationTest Class — netty Architecture

Architecture documentation for the Bzip2IntegrationTest class in Bzip2IntegrationTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  13e6bce2_6834_6ff3_264b_fbcce729fcb5["Bzip2IntegrationTest"]
  1df0a372_723c_e7d3_2e9b_5bf52220fb6e["Bzip2IntegrationTest.java"]
  13e6bce2_6834_6ff3_264b_fbcce729fcb5 -->|defined in| 1df0a372_723c_e7d3_2e9b_5bf52220fb6e
  1c65aba7_7219_acae_6f83_4558bdbb40d9["EmbeddedChannel()"]
  13e6bce2_6834_6ff3_264b_fbcce729fcb5 -->|method| 1c65aba7_7219_acae_6f83_4558bdbb40d9
  f4fd14d9_86fd_5d06_ca58_5ccde77f584e["test3Tables()"]
  13e6bce2_6834_6ff3_264b_fbcce729fcb5 -->|method| f4fd14d9_86fd_5d06_ca58_5ccde77f584e
  25b8f507_3662_a9d6_db00_1e837c859671["test4Tables()"]
  13e6bce2_6834_6ff3_264b_fbcce729fcb5 -->|method| 25b8f507_3662_a9d6_db00_1e837c859671
  7f7af263_7c37_b0c2_87be_de3a4167d160["test5Tables()"]
  13e6bce2_6834_6ff3_264b_fbcce729fcb5 -->|method| 7f7af263_7c37_b0c2_87be_de3a4167d160

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2IntegrationTest.java lines 21–56

public class Bzip2IntegrationTest extends AbstractIntegrationTest {

    @Override
    protected EmbeddedChannel createEncoder() {
        return new EmbeddedChannel(new Bzip2Encoder());
    }

    @Override
    protected EmbeddedChannel createDecoder() {
        return new EmbeddedChannel(new Bzip2Decoder());
    }

    @Test
    public void test3Tables() throws Exception {
        byte[] data = new byte[500];
        rand.nextBytes(data);
        testIdentity(data, true);
        testIdentity(data, false);
    }

    @Test
    public void test4Tables() throws Exception {
        byte[] data = new byte[1100];
        rand.nextBytes(data);
        testIdentity(data, true);
        testIdentity(data, false);
    }

    @Test
    public void test5Tables() throws Exception {
        byte[] data = new byte[2300];
        rand.nextBytes(data);
        testIdentity(data, true);
        testIdentity(data, false);
    }
}

Frequently Asked Questions

What is the Bzip2IntegrationTest class?
Bzip2IntegrationTest is a class in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2IntegrationTest.java.
Where is Bzip2IntegrationTest defined?
Bzip2IntegrationTest is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2IntegrationTest.java at line 21.

Analyze Your Own Codebase

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

Try Supermodel Free