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