Home / Function/ testValidErrorCode() — netty Function Reference

testValidErrorCode() — netty Function Reference

Architecture documentation for the testValidErrorCode() function in OpenSslCertificateExceptionTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fc5a7668_cf6d_2883_5f49_aa4c4db854d4["testValidErrorCode()"]
  e241bb57_c48e_6c84_305f_577fb02887db["OpenSslCertificateExceptionTest"]
  fc5a7668_cf6d_2883_5f49_aa4c4db854d4 -->|defined in| e241bb57_c48e_6c84_305f_577fb02887db
  style fc5a7668_cf6d_2883_5f49_aa4c4db854d4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslCertificateExceptionTest.java lines 35–45

    @Test
    public void testValidErrorCode() throws Exception {
        Field[] fields = CertificateVerifier.class.getFields();
        for (Field field : fields) {
            if (field.isAccessible()) {
                int errorCode = field.getInt(null);
                OpenSslCertificateException exception = new OpenSslCertificateException(errorCode);
                assertEquals(errorCode, exception.errorCode());
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free