Home / Function/ testPubRecReasonCodesCorrectlyMapToConstant() — netty Function Reference

testPubRecReasonCodesCorrectlyMapToConstant() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java lines 67–73

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free