testDuplicateAdd() — netty Function Reference
Architecture documentation for the testDuplicateAdd() function in OpenSslCertificateCompressionTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD db72d557_c3a0_0fd0_73e5_e9ffc7bde00d["testDuplicateAdd()"] 7111b952_7007_d5c2_8ec1_ca1531aba650["OpenSslCertificateCompressionTest"] db72d557_c3a0_0fd0_73e5_e9ffc7bde00d -->|defined in| 7111b952_7007_d5c2_8ec1_ca1531aba650 style db72d557_c3a0_0fd0_73e5_e9ffc7bde00d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/OpenSslCertificateCompressionTest.java lines 253–283
@Test
public void testDuplicateAdd() throws Throwable {
// Fails with "Failed trying to add certificate compression algorithm"
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)
.addAlgorithm(testBrotliAlgoClient,
OpenSslCertificateCompressionConfig.AlgorithmMode.Compress)
.build()
);
}
});
Assertions.assertThrows(Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
buildServerContext(
OpenSslCertificateCompressionConfig.newBuilder()
.addAlgorithm(testBrotliAlgoServer,
OpenSslCertificateCompressionConfig.AlgorithmMode.Compress)
.addAlgorithm(testBrotliAlgoServer,
OpenSslCertificateCompressionConfig.AlgorithmMode.Both).build()
);
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDuplicateAdd() do?
testDuplicateAdd() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslCertificateCompressionTest.java.
Where is testDuplicateAdd() defined?
testDuplicateAdd() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslCertificateCompressionTest.java at line 253.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free