Home / Function/ testRetainResurrect2() — netty Function Reference

testRetainResurrect2() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AbstractReferenceCountedTest.java lines 81–87

    @Test
    public void testRetainResurrect2() {
        final AbstractReferenceCounted referenceCounted = newReferenceCounted();
        assertTrue(referenceCounted.release());
        assertEquals(0, referenceCounted.refCnt());
        assertThrows(IllegalReferenceCountException.class, () -> referenceCounted.retain(2));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free