Home / Function/ exceptionOnUnclosed() — netty Function Reference

exceptionOnUnclosed() — netty Function Reference

Architecture documentation for the exceptionOnUnclosed() function in LeakPresenceDetectorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1f8d1453_32b3_b3e6_3a0b_b500e0813fa3["exceptionOnUnclosed()"]
  f88b124f_7485_efe9_077b_0111197ae030["LeakPresenceDetectorTest"]
  1f8d1453_32b3_b3e6_3a0b_b500e0813fa3 -->|defined in| f88b124f_7485_efe9_077b_0111197ae030
  c1e07c1d_d027_accb_fbdb_9e446d07149e["setUp()"]
  1f8d1453_32b3_b3e6_3a0b_b500e0813fa3 -->|calls| c1e07c1d_d027_accb_fbdb_9e446d07149e
  b887f07d_c953_5c25_75fe_992e00787a5a["Resource()"]
  1f8d1453_32b3_b3e6_3a0b_b500e0813fa3 -->|calls| b887f07d_c953_5c25_75fe_992e00787a5a
  style 1f8d1453_32b3_b3e6_3a0b_b500e0813fa3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/LeakPresenceDetectorTest.java lines 69–78

    @SuppressWarnings("resource")
    @ParameterizedTest
    @MethodSource("factories")
    public void exceptionOnUnclosed(Function<Class<?>, LeakPresenceDetector<?>> factory) {
        setUp(factory);

        new Resource();

        assertThrows(IllegalStateException.class, LeakPresenceDetector::check);
    }

Domain

Subdomains

Frequently Asked Questions

What does exceptionOnUnclosed() do?
exceptionOnUnclosed() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/LeakPresenceDetectorTest.java.
Where is exceptionOnUnclosed() defined?
exceptionOnUnclosed() is defined in common/src/test/java/io/netty/util/LeakPresenceDetectorTest.java at line 69.
What does exceptionOnUnclosed() call?
exceptionOnUnclosed() calls 2 function(s): Resource, setUp.

Analyze Your Own Codebase

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

Try Supermodel Free