Home / Function/ testReleaseOverflow() — netty Function Reference

testReleaseOverflow() — netty Function Reference

Architecture documentation for the testReleaseOverflow() function in AbstractReferenceCountedTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5606aaaa_1323_bc99_7119_48d86e7667f6["testReleaseOverflow()"]
  7917189b_1868_6962_74c7_fde430107486["AbstractReferenceCountedTest"]
  5606aaaa_1323_bc99_7119_48d86e7667f6 -->|defined in| 7917189b_1868_6962_74c7_fde430107486
  style 5606aaaa_1323_bc99_7119_48d86e7667f6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AbstractReferenceCountedTest.java lines 53–59

    @Test
    public void testReleaseOverflow() {
        final AbstractReferenceCounted referenceCounted = newReferenceCounted();
        referenceCounted.setRefCnt(0);
        assertEquals(0, referenceCounted.refCnt());
        assertThrows(IllegalReferenceCountException.class, () -> referenceCounted.release(Integer.MAX_VALUE));
    }

Domain

Subdomains

Frequently Asked Questions

What does testReleaseOverflow() do?
testReleaseOverflow() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/AbstractReferenceCountedTest.java.
Where is testReleaseOverflow() defined?
testReleaseOverflow() is defined in common/src/test/java/io/netty/util/AbstractReferenceCountedTest.java at line 53.

Analyze Your Own Codebase

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

Try Supermodel Free