Home / Function/ testNotBoringAdd() — netty Function Reference

testNotBoringAdd() — netty Function Reference

Architecture documentation for the testNotBoringAdd() function in OpenSslCertificateCompressionTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  da534ace_90fe_535e_ccb5_cc77ef21f8fb["testNotBoringAdd()"]
  7111b952_7007_d5c2_8ec1_ca1531aba650["OpenSslCertificateCompressionTest"]
  da534ace_90fe_535e_ccb5_cc77ef21f8fb -->|defined in| 7111b952_7007_d5c2_8ec1_ca1531aba650
  style da534ace_90fe_535e_ccb5_cc77ef21f8fb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslCertificateCompressionTest.java lines 285–312

    @Test
    public void testNotBoringAdd() throws Throwable {
        // Fails with "TLS Cert Compression only supported by BoringSSL"
        assumeTrue(!OpenSsl.isBoringSSL() && !OpenSsl.isAWSLC());
        Assertions.assertThrows(Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                buildClientContext(
                        OpenSslCertificateCompressionConfig.newBuilder()
                                .addAlgorithm(testBrotliAlgoClient,
                                        OpenSslCertificateCompressionConfig.AlgorithmMode.Decompress)
                                .build()
                );
            }
        });

        Assertions.assertThrows(Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                buildServerContext(
                        OpenSslCertificateCompressionConfig.newBuilder()
                                .addAlgorithm(testBrotliAlgoServer,
                                        OpenSslCertificateCompressionConfig.AlgorithmMode.Compress)
                                .build()
                );
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free