Home / Function/ testCancelPropagationWhenFusedFromFuture() — netty Function Reference

testCancelPropagationWhenFusedFromFuture() — netty Function Reference

Architecture documentation for the testCancelPropagationWhenFusedFromFuture() function in PromiseNotifierTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a395765e_4086_976d_1067_513eabe4b1c7["testCancelPropagationWhenFusedFromFuture()"]
  6d5f1092_59f3_c2aa_4bca_e779a4aabfcd["PromiseNotifierTest"]
  a395765e_4086_976d_1067_513eabe4b1c7 -->|defined in| 6d5f1092_59f3_c2aa_4bca_e779a4aabfcd
  style a395765e_4086_976d_1067_513eabe4b1c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/PromiseNotifierTest.java lines 98–109

    @Test
    public void testCancelPropagationWhenFusedFromFuture() {
        Promise<Void> p1 = ImmediateEventExecutor.INSTANCE.newPromise();
        Promise<Void> p2 = ImmediateEventExecutor.INSTANCE.newPromise();

        Promise<Void> returned = PromiseNotifier.cascade(p1, p2);
        assertSame(p1, returned);

        assertTrue(returned.cancel(false));
        assertTrue(returned.isCancelled());
        assertTrue(p2.isCancelled());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free