Home / Function/ assertStats() — netty Function Reference

assertStats() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c2419d52_6c49_dd66_ef2b_3dfddef1f35f["assertStats()"]
  1e708fe0_ed9b_fc0a_0a94_fcd4ecfaa0c8["QuicConnectionPathStatsTest"]
  c2419d52_6c49_dd66_ef2b_3dfddef1f35f -->|defined in| 1e708fe0_ed9b_fc0a_0a94_fcd4ecfaa0c8
  a4a299ec_a061_af5d_59ca_5474aa848da9["testPathStatsAreCollected()"]
  a4a299ec_a061_af5d_59ca_5474aa848da9 -->|calls| c2419d52_6c49_dd66_ef2b_3dfddef1f35f
  style c2419d52_6c49_dd66_ef2b_3dfddef1f35f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicConnectionPathStatsTest.java lines 124–132

    private static void assertStats(QuicConnectionPathStats 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);
        assertThat(stats.rtt()).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/QuicConnectionPathStatsTest.java.
Where is assertStats() defined?
assertStats() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicConnectionPathStatsTest.java at line 124.
What calls assertStats()?
assertStats() is called by 1 function(s): testPathStatsAreCollected.

Analyze Your Own Codebase

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

Try Supermodel Free