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