Home / Function/ testGetReturnsCorrectValueOnSuccess() — netty Function Reference

testGetReturnsCorrectValueOnSuccess() — netty Function Reference

Architecture documentation for the testGetReturnsCorrectValueOnSuccess() function in UnorderedThreadPoolEventExecutorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  865569a0_9bfc_bcbc_f5be_8ff7eebd9b3e["testGetReturnsCorrectValueOnSuccess()"]
  f0665e95_bf5c_2315_7fab_6f3711bb232f["UnorderedThreadPoolEventExecutorTest"]
  865569a0_9bfc_bcbc_f5be_8ff7eebd9b3e -->|defined in| f0665e95_bf5c_2315_7fab_6f3711bb232f
  style 865569a0_9bfc_bcbc_f5be_8ff7eebd9b3e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/UnorderedThreadPoolEventExecutorTest.java lines 95–111

    @Test
    public void testGetReturnsCorrectValueOnSuccess() throws Exception {
        UnorderedThreadPoolEventExecutor executor = new UnorderedThreadPoolEventExecutor(1);
        try {
            final String expected = "expected";
            Future<String> f = executor.submit(new Callable<String>() {
                @Override
                public String call() {
                    return expected;
                }
            });

            assertEquals(expected, f.get());
        } finally {
            executor.shutdownGracefully();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free