Home / Function/ testPubCompReasonCodesCorrectlyMapToConstant() — netty Function Reference

testPubCompReasonCodesCorrectlyMapToConstant() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java lines 83–89

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free