Home / Function/ verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() — netty Function Reference

verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() — netty Function Reference

Architecture documentation for the verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() function in WeightedFairQueueByteDistributorDependencyTreeTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1c5f645f_d21e_09ad_9b15_1c56244ea330["verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated()"]
  f59fdba5_c411_919e_8d09_ef11c6679e0d["WeightedFairQueueByteDistributorDependencyTreeTest"]
  1c5f645f_d21e_09ad_9b15_1c56244ea330 -->|defined in| f59fdba5_c411_919e_8d09_ef11c6679e0d
  381f804b_d2b2_b069_9b73_cde86465fca2["stateOnlyPriorityShouldBePreservedWhenStreamsAreCreatedAndClosed()"]
  381f804b_d2b2_b069_9b73_cde86465fca2 -->|calls| 1c5f645f_d21e_09ad_9b15_1c56244ea330
  style 1c5f645f_d21e_09ad_9b15_1c56244ea330 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorDependencyTreeTest.java lines 158–174

    private void verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated(short weight3, short weight5,
                                                                               short weight7) {
        // Level 0
        assertEquals(1, distributor.numChildren(connection.connectionStream().id()));

        // Level 1
        assertTrue(distributor.isChild(7, connection.connectionStream().id(), weight7));
        assertEquals(1, distributor.numChildren(7));

        // Level 2
        assertTrue(distributor.isChild(5, 7, weight5));
        assertEquals(1, distributor.numChildren(5));

        // Level 3
        assertTrue(distributor.isChild(3, 5, weight3));
        assertEquals(0, distributor.numChildren(3));
    }

Domain

Subdomains

Frequently Asked Questions

What does verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() do?
verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorDependencyTreeTest.java.
Where is verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() defined?
verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorDependencyTreeTest.java at line 158.
What calls verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated()?
verifyStateOnlyPriorityShouldBePreservedWhenStreamsAreCreated() is called by 1 function(s): stateOnlyPriorityShouldBePreservedWhenStreamsAreCreatedAndClosed.

Analyze Your Own Codebase

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

Try Supermodel Free