testUnknownTypeOfChunk() — netty Function Reference
Architecture documentation for the testUnknownTypeOfChunk() function in LzfDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 32715791_1570_1933_f584_19f8d662c079["testUnknownTypeOfChunk()"] fd4434e9_ec0d_236c_cba1_1760fabaa938["LzfDecoderTest"] 32715791_1570_1933_f584_19f8d662c079 -->|defined in| fd4434e9_ec0d_236c_cba1_1760fabaa938 style 32715791_1570_1933_f584_19f8d662c079 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/LzfDecoderTest.java lines 54–68
@Test
public void testUnknownTypeOfChunk() {
final ByteBuf in = Unpooled.buffer();
in.writeByte(BYTE_Z);
in.writeByte(BYTE_V);
in.writeByte(0xFF); //random value
in.writeInt(0);
assertThrows(DecompressionException.class, new Executable() {
@Override
public void execute() {
channel.writeInbound(in);
}
}, "unknown type of chunk");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testUnknownTypeOfChunk() do?
testUnknownTypeOfChunk() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/LzfDecoderTest.java.
Where is testUnknownTypeOfChunk() defined?
testUnknownTypeOfChunk() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/LzfDecoderTest.java at line 54.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free