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