Home / Function/ testListAll() — netty Function Reference

testListAll() — netty Function Reference

Architecture documentation for the testListAll() function in MqttPropertiesTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9f6a130e_7c9c_0dbc_0cde_6561fa438ccb["testListAll()"]
  f414ff6c_018e_0573_189d_472f0d888c3d["MqttPropertiesTest"]
  9f6a130e_7c9c_0dbc_0cde_6561fa438ccb -->|defined in| f414ff6c_018e_0573_189d_472f0d888c3d
  style 9f6a130e_7c9c_0dbc_0cde_6561fa438ccb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-mqtt/src/test/java/io/netty/handler/codec/mqtt/MqttPropertiesTest.java lines 90–109

    @Test
    public void testListAll() {
        MqttProperties props = createSampleProperties();

        List<MqttProperties.MqttProperty> expectedProperties = new ArrayList<>();
        expectedProperties.add(new MqttProperties.IntegerProperty(PAYLOAD_FORMAT_INDICATOR, 6));
        expectedProperties.add(new MqttProperties.StringProperty(CONTENT_TYPE, "text/plain"));

        expectedProperties.add(new MqttProperties.IntegerProperty(SUBSCRIPTION_IDENTIFIER, 10));
        expectedProperties.add(new MqttProperties.IntegerProperty(SUBSCRIPTION_IDENTIFIER, 20));

        MqttProperties.UserProperties expectedUserProperties = new MqttProperties.UserProperties();
        expectedUserProperties.add(new MqttProperties.StringPair("isSecret", "true"));
        expectedUserProperties.add(new MqttProperties.StringPair("tag", "firstTag"));
        expectedUserProperties.add(new MqttProperties.StringPair("tag", "secondTag"));

        expectedProperties.add(expectedUserProperties);

        assertEquals(expectedProperties, props.listAll());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free