Home / Function/ assertStats() — netty Function Reference

assertStats() — netty Function Reference

Architecture documentation for the assertStats() function in QuicConnectionStatsTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0c3f61b1_f916_78b8_26f0_b8f4ecb31910["assertStats()"]
  0860b84f_d0cb_aba0_8368_9cc08dfb6cdc["QuicConnectionStatsTest"]
  0c3f61b1_f916_78b8_26f0_b8f4ecb31910 -->|defined in| 0860b84f_d0cb_aba0_8368_9cc08dfb6cdc
  b156fca5_0a46_0a8f_7ef9_f638a61f7e25["testStatsAreCollected()"]
  b156fca5_0a46_0a8f_7ef9_f638a61f7e25 -->|calls| 0c3f61b1_f916_78b8_26f0_b8f4ecb31910
  style 0c3f61b1_f916_78b8_26f0_b8f4ecb31910 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicConnectionStatsTest.java lines 133–140

    private static void assertStats(QuicConnectionStats stats) {
        assertNotNull(stats);
        assertThat(stats.lost()).isGreaterThanOrEqualTo(0L);
        assertThat(stats.recv()).isGreaterThan(0L);
        assertThat(stats.sent()).isGreaterThan(0L);
        assertThat(stats.sentBytes()).isGreaterThan(0L);
        assertThat(stats.recvBytes()).isGreaterThan(0L);
    }

Domain

Subdomains

Frequently Asked Questions

What does assertStats() do?
assertStats() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicConnectionStatsTest.java.
Where is assertStats() defined?
assertStats() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicConnectionStatsTest.java at line 133.
What calls assertStats()?
assertStats() is called by 1 function(s): testStatsAreCollected.

Analyze Your Own Codebase

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

Try Supermodel Free