testInitEngineOnNewEngine() — netty Function Reference
Architecture documentation for the testInitEngineOnNewEngine() function in DelegatingSslContextTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2c088f6c_08f8_ea98_b407_53e8da74cd0f["testInitEngineOnNewEngine()"] 1ba83f0f_2d70_1280_f32f_d5a21ef377aa["DelegatingSslContextTest"] 2c088f6c_08f8_ea98_b407_53e8da74cd0f -->|defined in| 1ba83f0f_2d70_1280_f32f_d5a21ef377aa style 2c088f6c_08f8_ea98_b407_53e8da74cd0f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java lines 30–39
@Test
public void testInitEngineOnNewEngine() throws Exception {
SslContext delegating = newDelegatingSslContext();
SSLEngine engine = delegating.newEngine(UnpooledByteBufAllocator.DEFAULT);
assertArrayEquals(EXPECTED_PROTOCOLS, engine.getEnabledProtocols());
engine = delegating.newEngine(UnpooledByteBufAllocator.DEFAULT, "localhost", 9090);
assertArrayEquals(EXPECTED_PROTOCOLS, engine.getEnabledProtocols());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testInitEngineOnNewEngine() do?
testInitEngineOnNewEngine() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java.
Where is testInitEngineOnNewEngine() defined?
testInitEngineOnNewEngine() is defined in handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free