Home / Function/ testDecodeInvalidCode() — netty Function Reference

testDecodeInvalidCode() — netty Function Reference

Architecture documentation for the testDecodeInvalidCode() function in SmtpResponseDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0e3b3fa9_d296_f22b_08f7_e617e21f4d1d["testDecodeInvalidCode()"]
  6523a881_9a13_c253_6379_f7921cefdfbf["SmtpResponseDecoderTest"]
  0e3b3fa9_d296_f22b_08f7_e617e21f4d1d -->|defined in| 6523a881_9a13_c253_6379_f7921cefdfbf
  style 0e3b3fa9_d296_f22b_08f7_e617e21f4d1d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-smtp/src/test/java/io/netty/handler/codec/smtp/SmtpResponseDecoderTest.java lines 125–134

    @Test
    public void testDecodeInvalidCode() {
        final EmbeddedChannel channel = newChannel();
        assertThrows(DecoderException.class, new Executable() {
            @Override
            public void execute() {
                channel.writeInbound(newBuffer("xyz Ok\r\n"));
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecodeInvalidCode() do?
testDecodeInvalidCode() is a function in the netty codebase, defined in codec-smtp/src/test/java/io/netty/handler/codec/smtp/SmtpResponseDecoderTest.java.
Where is testDecodeInvalidCode() defined?
testDecodeInvalidCode() is defined in codec-smtp/src/test/java/io/netty/handler/codec/smtp/SmtpResponseDecoderTest.java at line 125.

Analyze Your Own Codebase

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

Try Supermodel Free