Home / Function/ testScheduleRunnableNegative() — netty Function Reference

testScheduleRunnableNegative() — netty Function Reference

Architecture documentation for the testScheduleRunnableNegative() function in AbstractScheduledEventExecutorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  45e20a6f_e4c3_3bd1_2c94_f382f6d409c9["testScheduleRunnableNegative()"]
  ccf7d567_b257_8f50_583e_b3528c4962fd["AbstractScheduledEventExecutorTest"]
  45e20a6f_e4c3_3bd1_2c94_f382f6d409c9 -->|defined in| ccf7d567_b257_8f50_583e_b3528c4962fd
  style 45e20a6f_e4c3_3bd1_2c94_f382f6d409c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/AbstractScheduledEventExecutorTest.java lines 50–57

    @Test
    public void testScheduleRunnableNegative() {
        TestScheduledEventExecutor executor = new TestScheduledEventExecutor();
        ScheduledFuture<?> future = executor.schedule(TEST_RUNNABLE, -1, TimeUnit.NANOSECONDS);
        assertEquals(0, future.getDelay(TimeUnit.NANOSECONDS));
        assertNotNull(executor.pollScheduledTask());
        assertNull(executor.pollScheduledTask());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free