Home / Function/ assertAllRead() — netty Function Reference

assertAllRead() — netty Function Reference

Architecture documentation for the assertAllRead() function in SocketReadPendingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1a9bb64e_0325_4590_6ff4_400a58483593["assertAllRead()"]
  00d52333_e28a_6b86_2f8d_d39fad2221de["ReadPendingReadHandler"]
  1a9bb64e_0325_4590_6ff4_400a58483593 -->|defined in| 00d52333_e28a_6b86_2f8d_d39fad2221de
  c738cb5a_99d0_c24e_6a84_8f7050af74e5["testReadPendingIsResetAfterEachRead()"]
  c738cb5a_99d0_c24e_6a84_8f7050af74e5 -->|calls| 1a9bb64e_0325_4590_6ff4_400a58483593
  style 1a9bb64e_0325_4590_6ff4_400a58483593 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketReadPendingTest.java lines 133–138

        void assertAllRead() throws InterruptedException {
            assertTrue(latch.await(5, TimeUnit.SECONDS));
            // We should only do 1 read loop, because we only called read() on the first channelRead.
            assertFalse(latch2.await(1, TimeUnit.SECONDS));
            assertEquals(2, count.get());
        }

Domain

Subdomains

Frequently Asked Questions

What does assertAllRead() do?
assertAllRead() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketReadPendingTest.java.
Where is assertAllRead() defined?
assertAllRead() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketReadPendingTest.java at line 133.
What calls assertAllRead()?
assertAllRead() is called by 1 function(s): testReadPendingIsResetAfterEachRead.

Analyze Your Own Codebase

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

Try Supermodel Free