Home / Function/ testExecuteNonNullRunnable() — netty Function Reference

testExecuteNonNullRunnable() — netty Function Reference

Architecture documentation for the testExecuteNonNullRunnable() function in ImmediateExecutorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  55b9bcc3_68ca_0f56_8957_e30d0ff2396b["testExecuteNonNullRunnable()"]
  f1438696_6e13_12d0_7c2e_51a9df4154ea["ImmediateExecutorTest"]
  55b9bcc3_68ca_0f56_8957_e30d0ff2396b -->|defined in| f1438696_6e13_12d0_7c2e_51a9df4154ea
  style 55b9bcc3_68ca_0f56_8957_e30d0ff2396b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/ImmediateExecutorTest.java lines 41–53

    @Test
    public void testExecuteNonNullRunnable() throws Exception {
        FutureTask<Void> task = new FutureTask<Void>(new Runnable() {
            @Override
            public void run() {
                // NOOP
            }
        }, null);
        ImmediateExecutor.INSTANCE.execute(task);
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertNull(task.get());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free