testUnsubAckReasonCodesCorrectlyMapToConstant() — netty Function Reference
Architecture documentation for the testUnsubAckReasonCodesCorrectlyMapToConstant() function in MqttReasonCodesTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9ec8f9ce_19cc_0ae0_a53b_eb37331401e5["testUnsubAckReasonCodesCorrectlyMapToConstant()"] 2ce58ad3_6204_9914_a009_0c56e41f6736["MqttReasonCodesTest"] 9ec8f9ce_19cc_0ae0_a53b_eb37331401e5 -->|defined in| 2ce58ad3_6204_9914_a009_0c56e41f6736 style 9ec8f9ce_19cc_0ae0_a53b_eb37331401e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java lines 99–105
@Test
public void testUnsubAckReasonCodesCorrectlyMapToConstant() {
for (UnsubAck reasonCode : UnsubAck.values()) {
assertEquals(reasonCode, UnsubAck.valueOf((byte) (reasonCode.byteValue() & 0xFF)),
"UnsubAck hex doesn't match the proper constant");
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testUnsubAckReasonCodesCorrectlyMapToConstant() do?
testUnsubAckReasonCodesCorrectlyMapToConstant() is a function in the netty codebase, defined in codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java.
Where is testUnsubAckReasonCodesCorrectlyMapToConstant() defined?
testUnsubAckReasonCodesCorrectlyMapToConstant() is defined in codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttReasonCodesTest.java at line 99.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free