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