testInvalidSpdySynReplyFrameLength() — netty Function Reference
Architecture documentation for the testInvalidSpdySynReplyFrameLength() function in SpdyFrameDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d6b967df_26a8_66c1_fce8_eeb27f6ac42c["testInvalidSpdySynReplyFrameLength()"] 694e7f21_2c70_1029_2eab_f7afcf7a1d96["SpdyFrameDecoderTest"] d6b967df_26a8_66c1_fce8_eeb27f6ac42c -->|defined in| 694e7f21_2c70_1029_2eab_f7afcf7a1d96 22716287_5b34_da1d_c8e3_c9777b358484["encodeControlFrameHeader()"] d6b967df_26a8_66c1_fce8_eeb27f6ac42c -->|calls| 22716287_5b34_da1d_c8e3_c9777b358484 style d6b967df_26a8_66c1_fce8_eeb27f6ac42c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 447–460
@Test
public void testInvalidSpdySynReplyFrameLength() throws Exception {
short type = 2;
byte flags = 0;
int length = 0; // invalid length
ByteBuf buf = Unpooled.buffer(SPDY_HEADER_SIZE + length);
encodeControlFrameHeader(buf, type, flags, length);
decoder.decode(buf);
verify(delegate).readFrameError(anyString());
assertFalse(buf.isReadable());
buf.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testInvalidSpdySynReplyFrameLength() do?
testInvalidSpdySynReplyFrameLength() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java.
Where is testInvalidSpdySynReplyFrameLength() defined?
testInvalidSpdySynReplyFrameLength() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java at line 447.
What does testInvalidSpdySynReplyFrameLength() call?
testInvalidSpdySynReplyFrameLength() calls 1 function(s): encodeControlFrameHeader.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free