Home / Function/ testReadLineLengthRespected1() — netty Function Reference

testReadLineLengthRespected1() — netty Function Reference

Architecture documentation for the testReadLineLengthRespected1() function in ByteBufStreamTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3d593085_df24_fa76_d336_eabeede3bcac["testReadLineLengthRespected1()"]
  a5486ee2_8de3_00d9_5697_f3849d26246a["ByteBufStreamTest"]
  3d593085_df24_fa76_d336_eabeede3bcac -->|defined in| a5486ee2_8de3_00d9_5697_f3849d26246a
  style 3d593085_df24_fa76_d336_eabeede3bcac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ByteBufStreamTest.java lines 260–270

    @Test
    public void testReadLineLengthRespected1() throws Exception {
        // case1
        ByteBuf buf = Unpooled.buffer(16);
        buf.writeBytes(new byte[] { 1, 2, 3, 4, 5, 6 });

        try (ByteBufInputStream in = new ByteBufInputStream(buf, 0)) {
            assertNull(in.readLine());
            buf.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testReadLineLengthRespected1() do?
testReadLineLengthRespected1() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ByteBufStreamTest.java.
Where is testReadLineLengthRespected1() defined?
testReadLineLengthRespected1() is defined in buffer/src/test/java/io/netty/buffer/ByteBufStreamTest.java at line 260.

Analyze Your Own Codebase

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

Try Supermodel Free