Home / Function/ testNotLeakOnException() — netty Function Reference

testNotLeakOnException() — netty Function Reference

Architecture documentation for the testNotLeakOnException() function in ReferenceCountedOpenSslEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6818146c_f4de_1ff1_98c9_17f8b61e66d5["testNotLeakOnException()"]
  8aab2022_b32c_bd2f_443d_b2896d6f4929["ReferenceCountedOpenSslEngineTest"]
  6818146c_f4de_1ff1_98c9_17f8b61e66d5 -->|defined in| 8aab2022_b32c_bd2f_443d_b2896d6f4929
  style 6818146c_f4de_1ff1_98c9_17f8b61e66d5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngineTest.java lines 42–58

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testNotLeakOnException(SSLEngineTestParam param) throws Exception {
        clientSslCtx = wrapContext(param, SslContextBuilder.forClient()
                                        .trustManager(InsecureTrustManagerFactory.INSTANCE)
                                        .sslProvider(sslClientProvider())
                                        .protocols(param.protocols())
                                        .ciphers(param.ciphers())
                                        .build());

        assertThrows(NullPointerException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                clientSslCtx.newEngine(null);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testNotLeakOnException() do?
testNotLeakOnException() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngineTest.java.
Where is testNotLeakOnException() defined?
testNotLeakOnException() is defined in handler/src/test/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngineTest.java at line 42.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free