Home / Function/ shouldRejectSetShort() — netty Function Reference

shouldRejectSetShort() — netty Function Reference

Architecture documentation for the shouldRejectSetShort() function in ReadOnlyByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0e64bbb5_b4b1_26cf_270a_5a7450782f67["shouldRejectSetShort()"]
  9d029ceb_0baf_f35e_1671_646a96ecf982["ReadOnlyByteBufTest"]
  0e64bbb5_b4b1_26cf_270a_5a7450782f67 -->|defined in| 9d029ceb_0baf_f35e_1671_646a96ecf982
  style 0e64bbb5_b4b1_26cf_270a_5a7450782f67 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ReadOnlyByteBufTest.java lines 162–170

    @Test
    public void shouldRejectSetShort() {
        assertThrows(UnsupportedOperationException.class, new Executable() {
            @Override
            public void execute() {
                unmodifiableBuffer(EMPTY_BUFFER).setShort(0, (short) 0);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free