throwingMatchingExecutables() — netty Function Reference
Architecture documentation for the throwingMatchingExecutables() function in EnhancedX509ExtendedTrustManagerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c849573_5d92_abb6_fddd_58dd85c7feb9["throwingMatchingExecutables()"] 8a093596_7413_c971_067f_43858e578a2d["EnhancedX509ExtendedTrustManagerTest"] 4c849573_5d92_abb6_fddd_58dd85c7feb9 -->|defined in| 8a093596_7413_c971_067f_43858e578a2d style 4c849573_5d92_abb6_fddd_58dd85c7feb9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/EnhancedX509ExtendedTrustManagerTest.java lines 256–279
static List<Arguments> throwingMatchingExecutables() {
return Arrays.asList(arguments(named("checkServerTrusted", new Executable() {
@Override
public void execute() throws Throwable {
MATCHING_MANAGER.checkServerTrusted(new X509Certificate[] { TEST_CERT }, null);
}
})), arguments(named("checkServerTrusted with SSLEngine", new Executable() {
@Override
public void execute() throws Throwable {
SSLSession session = mockSSLSession();
SSLEngine engine = Mockito.mock(SSLEngine.class);
Mockito.when(engine.getHandshakeSession()).thenReturn(session);
MATCHING_MANAGER.checkServerTrusted(new X509Certificate[] { TEST_CERT }, null, engine);
}
})), arguments(named("checkServerTrusted with SSLSocket", new Executable() {
@Override
public void execute() throws Throwable {
SSLSession session = mockSSLSession();
SSLSocket socket = Mockito.mock(SSLSocket.class);
Mockito.when(socket.getHandshakeSession()).thenReturn(session);
MATCHING_MANAGER.checkServerTrusted(new X509Certificate[] { TEST_CERT }, null, socket);
}
})));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does throwingMatchingExecutables() do?
throwingMatchingExecutables() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/EnhancedX509ExtendedTrustManagerTest.java.
Where is throwingMatchingExecutables() defined?
throwingMatchingExecutables() is defined in handler/src/test/java/io/netty/handler/ssl/EnhancedX509ExtendedTrustManagerTest.java at line 256.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free