testInvalidDecompressedLength() — netty Function Reference
Architecture documentation for the testInvalidDecompressedLength() function in Lz4FrameDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d93094fc_010a_b9a7_9186_aa88cc228076["testInvalidDecompressedLength()"] 6397f8d2_f5d1_2f9d_0dfd_f6f73dd0690c["Lz4FrameDecoderTest"] d93094fc_010a_b9a7_9186_aa88cc228076 -->|defined in| 6397f8d2_f5d1_2f9d_0dfd_f6f73dd0690c style d93094fc_010a_b9a7_9186_aa88cc228076 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameDecoderTest.java lines 79–91
@Test
public void testInvalidDecompressedLength() {
final byte[] data = Arrays.copyOf(DATA, DATA.length);
data[16] = (byte) 0xFF;
final ByteBuf in = Unpooled.wrappedBuffer(data);
assertThrows(DecompressionException.class, new Executable() {
@Override
public void execute() {
channel.writeInbound(in);
}
}, "invalid decompressedLength");
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testInvalidDecompressedLength() do?
testInvalidDecompressedLength() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameDecoderTest.java.
Where is testInvalidDecompressedLength() defined?
testInvalidDecompressedLength() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameDecoderTest.java at line 79.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free