Home / Function/ testDecoder() — netty Function Reference

testDecoder() — netty Function Reference

Architecture documentation for the testDecoder() function in CodecXmlTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  50760448_c20d_d701_d2e2_e5f7dfae25ff["testDecoder()"]
  7325ba5e_ac6f_48b2_d61f_99e38e6d269e["CodecXmlTest"]
  50760448_c20d_d701_d2e2_e5f7dfae25ff -->|defined in| 7325ba5e_ac6f_48b2_d61f_99e38e6d269e
  style 50760448_c20d_d701_d2e2_e5f7dfae25ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-jpms/src/test/java/io/netty/testsuite_jpms/test/CodecXmlTest.java lines 39–49

    @Test
    public void testDecoder() {
        EmbeddedChannel channel = new EmbeddedChannel(new XmlDecoder());
        try {
            assertTrue(channel.writeInbound(Unpooled.copiedBuffer(XML1, CharsetUtil.UTF_8)));
            Object msg = channel.readInbound();
            assertInstanceOf(XmlDocumentStart.class, msg);
        } finally {
            channel.close();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecoder() do?
testDecoder() is a function in the netty codebase, defined in testsuite-jpms/src/test/java/io/netty/testsuite_jpms/test/CodecXmlTest.java.
Where is testDecoder() defined?
testDecoder() is defined in testsuite-jpms/src/test/java/io/netty/testsuite_jpms/test/CodecXmlTest.java at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free