testNegativeNameValuePairs() — netty Function Reference
Architecture documentation for the testNegativeNameValuePairs() function in SpdyHeaderBlockRawDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bf4606ac_dcad_8b6f_3eb8_54f93181e6a1["testNegativeNameValuePairs()"] 9d24b120_0e9f_df39_05af_436eac53cd12["SpdyHeaderBlockRawDecoderTest"] bf4606ac_dcad_8b6f_3eb8_54f93181e6a1 -->|defined in| 9d24b120_0e9f_df39_05af_436eac53cd12 style bf4606ac_dcad_8b6f_3eb8_54f93181e6a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java lines 77–87
@Test
public void testNegativeNameValuePairs() throws Exception {
ByteBuf headerBlock = Unpooled.buffer(4);
headerBlock.writeInt(-1);
decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);
assertFalse(headerBlock.isReadable());
assertTrue(frame.isInvalid());
assertEquals(0, frame.headers().names().size());
headerBlock.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testNegativeNameValuePairs() do?
testNegativeNameValuePairs() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java.
Where is testNegativeNameValuePairs() defined?
testNegativeNameValuePairs() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java at line 77.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free