Home / Function/ testVersionSupported() — netty Function Reference

testVersionSupported() — netty Function Reference

Architecture documentation for the testVersionSupported() function in QuicTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0c278f05_022e_70eb_9ea4_b19e82f8917f["testVersionSupported()"]
  1e32be6d_b1cd_d35e_33a9_bd11685c6191["QuicTest"]
  0c278f05_022e_70eb_9ea4_b19e82f8917f -->|defined in| 1e32be6d_b1cd_d35e_33a9_bd11685c6191
  style 0c278f05_022e_70eb_9ea4_b19e82f8917f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicTest.java lines 39–46

    @Test
    public void testVersionSupported() {
        // Only v1 should be supported.
        assertFalse(Quic.isVersionSupported(0xff00_001c));
        assertFalse(Quic.isVersionSupported(0xff00_001d));
        assertFalse(Quic.isVersionSupported(0xff00_001c));
        assertTrue(Quic.isVersionSupported(0x0000_0001));
    }

Domain

Subdomains

Frequently Asked Questions

What does testVersionSupported() do?
testVersionSupported() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicTest.java.
Where is testVersionSupported() defined?
testVersionSupported() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicTest.java at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free