Home / Function/ beforeClass() — netty Function Reference

beforeClass() — netty Function Reference

Architecture documentation for the beforeClass() function in DefaultPromiseTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  358fa54f_69ec_6494_a5ac_e70c555ad28f["beforeClass()"]
  18d135a2_101c_bae7_e68f_dd4660e1fb75["DefaultPromiseTest"]
  358fa54f_69ec_6494_a5ac_e70c555ad28f -->|defined in| 18d135a2_101c_bae7_e68f_dd4660e1fb75
  9ca0ebb9_e2e4_dd45_b3b5_cf84a53383f5["findStackOverflowDepth()"]
  358fa54f_69ec_6494_a5ac_e70c555ad28f -->|calls| 9ca0ebb9_e2e4_dd45_b3b5_cf84a53383f5
  style 358fa54f_69ec_6494_a5ac_e70c555ad28f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 53–61

    @BeforeAll
    public static void beforeClass() {
        try {
            findStackOverflowDepth();
            throw new IllegalStateException("Expected StackOverflowError but didn't get it?!");
        } catch (StackOverflowError e) {
            logger.debug("StackOverflowError depth: {}", stackOverflowDepth);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does beforeClass() do?
beforeClass() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java.
Where is beforeClass() defined?
beforeClass() is defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java at line 53.
What does beforeClass() call?
beforeClass() calls 1 function(s): findStackOverflowDepth.

Analyze Your Own Codebase

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

Try Supermodel Free