testUnexpectedStreamIdentifier() — netty Function Reference
Architecture documentation for the testUnexpectedStreamIdentifier() function in Bzip2DecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4e1f0acb_f7df_0898_0872_473cb78e5da2["testUnexpectedStreamIdentifier()"] 53eb2ef4_6844_0384_3483_6c7a17c214e0["Bzip2DecoderTest"] 4e1f0acb_f7df_0898_0872_473cb78e5da2 -->|defined in| 53eb2ef4_6844_0384_3483_6c7a17c214e0 dcecdd6e_d887_ea2f_883f_18b973e0a770["writeInboundDestroyAndExpectDecompressionException()"] 4e1f0acb_f7df_0898_0872_473cb78e5da2 -->|calls| dcecdd6e_d887_ea2f_883f_18b973e0a770 style 4e1f0acb_f7df_0898_0872_473cb78e5da2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java lines 62–72
@Test
public void testUnexpectedStreamIdentifier() {
final ByteBuf in = Unpooled.buffer();
in.writeLong(1823080128301928729L); //random value
assertThrows(DecompressionException.class, new Executable() {
@Override
public void execute() {
writeInboundDestroyAndExpectDecompressionException(in);
}
}, "Unexpected stream identifier contents");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testUnexpectedStreamIdentifier() do?
testUnexpectedStreamIdentifier() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java.
Where is testUnexpectedStreamIdentifier() defined?
testUnexpectedStreamIdentifier() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java at line 62.
What does testUnexpectedStreamIdentifier() call?
testUnexpectedStreamIdentifier() calls 1 function(s): writeInboundDestroyAndExpectDecompressionException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free