Home / Function/ testCalculateOutNetBufSize0() — netty Function Reference

testCalculateOutNetBufSize0() — netty Function Reference

Architecture documentation for the testCalculateOutNetBufSize0() function in OpenSslEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6e3f2807_2ef1_03d8_2a5c_ec061af26355["testCalculateOutNetBufSize0()"]
  08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"]
  6e3f2807_2ef1_03d8_2a5c_ec061af26355 -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d
  style 6e3f2807_2ef1_03d8_2a5c_ec061af26355 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 459–475

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testCalculateOutNetBufSize0(SSLEngineTestParam param) throws SSLException {
        clientSslCtx = wrapContext(param, SslContextBuilder.forClient()
                                        .trustManager(InsecureTrustManagerFactory.INSTANCE)
                                        .sslProvider(sslClientProvider())
                                        .protocols(param.protocols())
                                        .ciphers(param.ciphers())
                                        .build());
        SSLEngine clientEngine = null;
        try {
            clientEngine = clientSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT);
            assertTrue(((ReferenceCountedOpenSslEngine) clientEngine).calculateOutNetBufSize(0, 1) > 0);
        } finally {
            cleanupClientSslEngine(clientEngine);
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free