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