Home / Function/ shouldNotDecodeInlineCommandByDefault() — netty Function Reference

shouldNotDecodeInlineCommandByDefault() — netty Function Reference

Architecture documentation for the shouldNotDecodeInlineCommandByDefault() function in RedisDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  87f8ccf1_7a90_1b85_2dc5_3127400e6d44["shouldNotDecodeInlineCommandByDefault()"]
  5bef0d49_45a1_6e64_a046_06825037f689["RedisDecoderTest"]
  87f8ccf1_7a90_1b85_2dc5_3127400e6d44 -->|defined in| 5bef0d49_45a1_6e64_a046_06825037f689
  style 87f8ccf1_7a90_1b85_2dc5_3127400e6d44 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/test/java/io/netty/handler/codec/redis/RedisDecoderTest.java lines 76–90

    @Test
    public void shouldNotDecodeInlineCommandByDefault() {
        assertThrows(DecoderException.class, new Executable() {
            @Override
            public void execute() {
                assertFalse(channel.writeInbound(byteBufOf("P")));
                assertFalse(channel.writeInbound(byteBufOf("I")));
                assertFalse(channel.writeInbound(byteBufOf("N")));
                assertFalse(channel.writeInbound(byteBufOf("G")));
                assertTrue(channel.writeInbound(byteBufOf("\r\n")));

                channel.readInbound();
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldNotDecodeInlineCommandByDefault() do?
shouldNotDecodeInlineCommandByDefault() is a function in the netty codebase, defined in codec-redis/src/test/java/io/netty/handler/codec/redis/RedisDecoderTest.java.
Where is shouldNotDecodeInlineCommandByDefault() defined?
shouldNotDecodeInlineCommandByDefault() is defined in codec-redis/src/test/java/io/netty/handler/codec/redis/RedisDecoderTest.java at line 76.

Analyze Your Own Codebase

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

Try Supermodel Free