Home / Function/ setUp() — netty Function Reference

setUp() — netty Function Reference

Architecture documentation for the setUp() function in GlobalEventExecutorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8db08280_f5f0_f88a_32ce_ecf039dd0c8c["setUp()"]
  f5a88566_416e_7970_655d_74968e21adb8["GlobalEventExecutorTest"]
  8db08280_f5f0_f88a_32ce_ecf039dd0c8c -->|defined in| f5a88566_416e_7970_655d_74968e21adb8
  style 8db08280_f5f0_f88a_32ce_ecf039dd0c8c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java lines 36–46

    @BeforeEach
    public void setUp() throws Exception {
        // Wait until the global executor is stopped (just in case there is a task running due to previous test cases)
        for (;;) {
            if (e.thread == null || !e.thread.isAlive()) {
                break;
            }

            Thread.sleep(50);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setUp() do?
setUp() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java.
Where is setUp() defined?
setUp() is defined in common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free