Home / Function/ setUp() — netty Function Reference

setUp() — netty Function Reference

Architecture documentation for the setUp() function in BrotliDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  25995d7b_b926_e532_50be_5c4469f5a587["setUp()"]
  63f55b46_4f95_0492_5bc8_569080fc26cd["BrotliDecoderTest"]
  25995d7b_b926_e532_50be_5c4469f5a587 -->|defined in| 63f55b46_4f95_0492_5bc8_569080fc26cd
  b1564547_5340_46b2_edf0_ed67e8e16952["fillArrayWithCompressibleData()"]
  25995d7b_b926_e532_50be_5c4469f5a587 -->|calls| b1564547_5340_46b2_edf0_ed67e8e16952
  5b9f4bf0_624a_cfd9_dfd5_a17f547d3c9b["compress()"]
  25995d7b_b926_e532_50be_5c4469f5a587 -->|calls| 5b9f4bf0_624a_cfd9_dfd5_a17f547d3c9b
  style 25995d7b_b926_e532_50be_5c4469f5a587 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java lines 45–58

    @BeforeAll
    static void setUp() {
        try {
            Brotli.ensureAvailability();

            RANDOM = new Random();
            fillArrayWithCompressibleData(BYTES_SMALL);
            fillArrayWithCompressibleData(BYTES_LARGE);
            COMPRESSED_BYTES_SMALL = compress(BYTES_SMALL);
            COMPRESSED_BYTES_LARGE = compress(BYTES_LARGE);
        } catch (Throwable throwable) {
            throw new ExceptionInInitializerError(throwable);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setUp() do?
setUp() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java.
Where is setUp() defined?
setUp() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliDecoderTest.java at line 45.
What does setUp() call?
setUp() calls 2 function(s): compress, fillArrayWithCompressibleData.

Analyze Your Own Codebase

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

Try Supermodel Free