testOutboundClosedAfterChannelInactive() — netty Function Reference
Architecture documentation for the testOutboundClosedAfterChannelInactive() function in SslHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7065f752_9d23_e556_0f24_d41e895ddd4e["testOutboundClosedAfterChannelInactive()"] adaf7dc7_94e2_152f_ffdb_453fdaa4f25e["SslHandlerTest"] 7065f752_9d23_e556_0f24_d41e895ddd4e -->|defined in| adaf7dc7_94e2_152f_ffdb_453fdaa4f25e style 7065f752_9d23_e556_0f24_d41e895ddd4e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java lines 819–833
@Test
public void testOutboundClosedAfterChannelInactive() throws Exception {
SslContext context = SslContextBuilder.forClient().build();
SSLEngine engine = context.newEngine(UnpooledByteBufAllocator.DEFAULT);
EmbeddedChannel channel = new EmbeddedChannel();
assertFalse(channel.finish());
channel.pipeline().addLast(new SslHandler(engine));
assertFalse(engine.isOutboundDone());
channel.close().syncUninterruptibly();
assertTrue(engine.isOutboundDone());
ReferenceCountUtil.release(engine);
ReferenceCountUtil.release(context);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testOutboundClosedAfterChannelInactive() do?
testOutboundClosedAfterChannelInactive() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java.
Where is testOutboundClosedAfterChannelInactive() defined?
testOutboundClosedAfterChannelInactive() is defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java at line 819.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free