testUnkownStream() — netty Function Reference
Architecture documentation for the testUnkownStream() function in Http3UnidirectionalStreamInboundHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 23f62246_ed98_eee2_7f91_05faca509f04["testUnkownStream()"] 25ca3b24_17b0_d7c2_ddbd_1036d0071d78["Http3UnidirectionalStreamInboundHandlerTest"] 23f62246_ed98_eee2_7f91_05faca509f04 -->|defined in| 25ca3b24_17b0_d7c2_ddbd_1036d0071d78 56d89f3f_d102_9002_53c9_94064eade84d["setup()"] 23f62246_ed98_eee2_7f91_05faca509f04 -->|calls| 56d89f3f_d102_9002_53c9_94064eade84d style 23f62246_ed98_eee2_7f91_05faca509f04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandlerTest.java lines 68–85
@ParameterizedTest(name = "{index}: server = {0}")
@ValueSource(booleans = {false, true})
public void testUnkownStream(boolean server) throws Exception {
setup(server);
EmbeddedChannel channel = newChannel(server);
ByteBuf buffer = Unpooled.buffer(8);
Http3CodecUtils.writeVariableLengthInteger(buffer, 0x06);
assertFalse(channel.writeInbound(buffer));
assertEquals(0, buffer.refCnt());
assertNull(channel.pipeline().context(Http3UnidirectionalStreamInboundHandler.class));
assertTrue(channel.isActive());
// Write some buffer to the stream. This should be just released.
ByteBuf someBuffer = Unpooled.buffer();
assertFalse(channel.writeInbound(someBuffer));
assertEquals(0, someBuffer.refCnt());
assertFalse(channel.finish());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testUnkownStream() do?
testUnkownStream() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandlerTest.java.
Where is testUnkownStream() defined?
testUnkownStream() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandlerTest.java at line 68.
What does testUnkownStream() call?
testUnkownStream() calls 1 function(s): setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free