Home / Function/ testReadStringThrowsIndexOutOfBoundsException() — netty Function Reference

testReadStringThrowsIndexOutOfBoundsException() — netty Function Reference

Architecture documentation for the testReadStringThrowsIndexOutOfBoundsException() function in EmptyByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fb19f1a5_3df0_034c_31bf_d9c12ddb87cf["testReadStringThrowsIndexOutOfBoundsException()"]
  39b14dbe_5dfc_efb6_b919_0b1a849f7832["EmptyByteBufTest"]
  fb19f1a5_3df0_034c_31bf_d9c12ddb87cf -->|defined in| 39b14dbe_5dfc_efb6_b919_0b1a849f7832
  style fb19f1a5_3df0_034c_31bf_d9c12ddb87cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/EmptyByteBufTest.java lines 121–125

    @Test
    public void testReadStringThrowsIndexOutOfBoundsException() {
        EmptyByteBuf empty = new EmptyByteBuf(UnpooledByteBufAllocator.DEFAULT);
        assertThrows(IndexOutOfBoundsException.class, () -> empty.readString(1, CharsetUtil.US_ASCII));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free