Home / Function/ testAuthReasonCodesCorrectlyMapToConstant() — netty Function Reference

testAuthReasonCodesCorrectlyMapToConstant() — netty Function Reference

Architecture documentation for the testAuthReasonCodesCorrectlyMapToConstant() function in MqttReasonCodesTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f542c801_b510_163a_5ee1_8d70a703c5a3["testAuthReasonCodesCorrectlyMapToConstant()"]
  2ce58ad3_6204_9914_a009_0c56e41f6736["MqttReasonCodesTest"]
  f542c801_b510_163a_5ee1_8d70a703c5a3 -->|defined in| 2ce58ad3_6204_9914_a009_0c56e41f6736
  style f542c801_b510_163a_5ee1_8d70a703c5a3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java lines 51–57

    @Test
    public void testAuthReasonCodesCorrectlyMapToConstant() {
        for (Auth reasonCode : Auth.values()) {
            assertEquals(reasonCode, Auth.valueOf((byte) (reasonCode.byteValue() & 0xFF)),
                    "Auth hex doesn't match the proper constant");
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testAuthReasonCodesCorrectlyMapToConstant() do?
testAuthReasonCodesCorrectlyMapToConstant() is a function in the netty codebase, defined in codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java.
Where is testAuthReasonCodesCorrectlyMapToConstant() defined?
testAuthReasonCodesCorrectlyMapToConstant() is defined in codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java at line 51.

Analyze Your Own Codebase

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

Try Supermodel Free