Home / Function/ testRegionMatchesReturnsTrueForEqualRegions() — netty Function Reference

testRegionMatchesReturnsTrueForEqualRegions() — netty Function Reference

Architecture documentation for the testRegionMatchesReturnsTrueForEqualRegions() function in AsciiStringCharacterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e4c03560_13f4_98c6_54dd_3342a5cbafc9["testRegionMatchesReturnsTrueForEqualRegions()"]
  fd37c1f8_6129_8e57_ad6d_da01ffebceb6["AsciiStringCharacterTest"]
  e4c03560_13f4_98c6_54dd_3342a5cbafc9 -->|defined in| fd37c1f8_6129_8e57_ad6d_da01ffebceb6
  style e4c03560_13f4_98c6_54dd_3342a5cbafc9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AsciiStringCharacterTest.java lines 465–472

    @Test
    public void testRegionMatchesReturnsTrueForEqualRegions() {
        AsciiString str = new AsciiString("Hello, World!");
        AsciiString hello = new AsciiString("Hello");
        AsciiString world = new AsciiString("World");
        assertTrue(AsciiString.regionMatches(str, false, 0, hello, 0, 5));
        assertTrue(AsciiString.regionMatches(str, false, 7, world, 0, 5));
    }

Domain

Subdomains

Frequently Asked Questions

What does testRegionMatchesReturnsTrueForEqualRegions() do?
testRegionMatchesReturnsTrueForEqualRegions() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java.
Where is testRegionMatchesReturnsTrueForEqualRegions() defined?
testRegionMatchesReturnsTrueForEqualRegions() is defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java at line 465.

Analyze Your Own Codebase

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

Try Supermodel Free