testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() — netty Function Reference
Architecture documentation for the testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() function in JdkSslEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fee76d1f_9aaa_023f_04c0_15fab60f2426["testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure()"] 30adda7f_4d88_ce9b_59a8_bf86122e30b1["JdkSslEngineTest"] fee76d1f_9aaa_023f_04c0_15fab60f2426 -->|defined in| 30adda7f_4d88_ce9b_59a8_bf86122e30b1 style fee76d1f_9aaa_023f_04c0_15fab60f2426 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/JdkSslEngineTest.java lines 228–246
@MethodSource("newJdkParams")
@ParameterizedTest
public void testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure(JdkSSLEngineTestParam param)
throws Exception {
try {
param.providerType.activate(this);
ApplicationProtocolConfig clientApn = acceptingNegotiator(param.providerType.protocol(),
PREFERRED_APPLICATION_LEVEL_PROTOCOL);
ApplicationProtocolConfig serverApn = failingNegotiator(param.providerType.protocol(),
APPLICATION_LEVEL_PROTOCOL_NOT_COMPATIBLE);
setupHandlers(param, serverApn, clientApn);
assertTrue(serverLatch.await(2, TimeUnit.SECONDS));
assertTrue(serverException instanceof SSLHandshakeException);
} catch (SkipTestException e) {
// ALPN availability is dependent on the java version. If ALPN is not available because of
// java version incompatibility don't fail the test, but instead just skip the test
throw new TestAbortedException("Not expected", e);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() do?
testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/JdkSslEngineTest.java.
Where is testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() defined?
testTlsExtensionNoCompatibleProtocolsServerHandshakeFailure() is defined in handler/src/test/java/io/netty/handler/ssl/JdkSslEngineTest.java at line 228.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free