Home / Function/ copyTest() — netty Function Reference

copyTest() — netty Function Reference

Architecture documentation for the copyTest() function in AsciiStringMemoryTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4a770ab6_d909_c080_ca22_5ca34dcfeb51["copyTest()"]
  cfaf93a3_50a8_27c3_9fa0_2c606fea9e15["AsciiStringMemoryTest"]
  4a770ab6_d909_c080_ca22_5ca34dcfeb51 -->|defined in| cfaf93a3_50a8_27c3_9fa0_2c606fea9e15
  style 4a770ab6_d909_c080_ca22_5ca34dcfeb51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AsciiStringMemoryTest.java lines 166–172

    @Test
    public void copyTest() {
        byte[] aCopy = new byte[aAsciiString.length()];
        aAsciiString.copy(0, aCopy, 0, aCopy.length);
        AsciiString aAsciiStringCopy = new AsciiString(aCopy, false);
        assertEquals(aAsciiString, aAsciiStringCopy);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free