Home / Function/ testDecodeWithMultipleMessages() — netty Function Reference

testDecodeWithMultipleMessages() — netty Function Reference

Architecture documentation for the testDecodeWithMultipleMessages() function in XmlFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  80b6cefb_3ca4_7f2d_1566_afdc62ff30b1["testDecodeWithMultipleMessages()"]
  13b85bd7_07cb_814c_1ac0_dcb1adb68947["XmlFrameDecoderTest"]
  80b6cefb_3ca4_7f2d_1566_afdc62ff30b1 -->|defined in| 13b85bd7_07cb_814c_1ac0_dcb1adb68947
  276d80b1_895a_dd4c_eae7_309a9191f161["testDecodeWithXml()"]
  80b6cefb_3ca4_7f2d_1566_afdc62ff30b1 -->|calls| 276d80b1_895a_dd4c_eae7_309a9191f161
  style 80b6cefb_3ca4_7f2d_1566_afdc62ff30b1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java lines 153–169

    @Test
    public void testDecodeWithMultipleMessages() {
        final String input = "<root xmlns=\"http://www.acme.com/acme\" status=\"loginok\" " +
                "timestamp=\"1362410583776\"/>\n\n" +
                "<root xmlns=\"http://www.acme.com/acme\" status=\"start\" time=\"0\" " +
                "timestamp=\"1362410584794\">\n<child active=\"1\" status=\"started\" id=\"935449\" " +
                "msgnr=\"2\"/>\n</root>" +
                "<root xmlns=\"http://www.acme.com/acme\" status=\"logout\" timestamp=\"1362410584795\"/>";
        final String frame1 = "<root xmlns=\"http://www.acme.com/acme\" status=\"loginok\" " +
                "timestamp=\"1362410583776\"/>";
        final String frame2 = "<root xmlns=\"http://www.acme.com/acme\" status=\"start\" time=\"0\" " +
                "timestamp=\"1362410584794\">\n<child active=\"1\" status=\"started\" id=\"935449\" " +
                "msgnr=\"2\"/>\n</root>";
        final String frame3 = "<root xmlns=\"http://www.acme.com/acme\" status=\"logout\" " +
                "timestamp=\"1362410584795\"/>";
        testDecodeWithXml(input, frame1, frame2, frame3);
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecodeWithMultipleMessages() do?
testDecodeWithMultipleMessages() is a function in the netty codebase, defined in codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java.
Where is testDecodeWithMultipleMessages() defined?
testDecodeWithMultipleMessages() is defined in codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java at line 153.
What does testDecodeWithMultipleMessages() call?
testDecodeWithMultipleMessages() calls 1 function(s): testDecodeWithXml.

Analyze Your Own Codebase

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

Try Supermodel Free