Home / Function/ assertCopy() — netty Function Reference

assertCopy() — netty Function Reference

Architecture documentation for the assertCopy() function in DefaultFullBinaryMemcacheRequestTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  71a7fd57_99b9_f901_1346_5a2b05fd5f2c["assertCopy()"]
  b8f2eedd_d70a_5f5c_24a3_3b89d30e5812["DefaultFullBinaryMemcacheRequestTest"]
  71a7fd57_99b9_f901_1346_5a2b05fd5f2c -->|defined in| b8f2eedd_d70a_5f5c_24a3_3b89d30e5812
  a48a2f37_7d8f_fe74_1352_eaac1e06ff79["fullCopy()"]
  a48a2f37_7d8f_fe74_1352_eaac1e06ff79 -->|calls| 71a7fd57_99b9_f901_1346_5a2b05fd5f2c
  ec274f86_b7f5_2424_7c5f_2cf7665fd064["fullDuplicate()"]
  ec274f86_b7f5_2424_7c5f_2cf7665fd064 -->|calls| 71a7fd57_99b9_f901_1346_5a2b05fd5f2c
  7c9ee241_ba7b_b121_5eca_6f554f5d104f["fullReplace()"]
  7c9ee241_ba7b_b121_5eca_6f554f5d104f -->|calls| 71a7fd57_99b9_f901_1346_5a2b05fd5f2c
  style 71a7fd57_99b9_f901_1346_5a2b05fd5f2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/DefaultFullBinaryMemcacheRequestTest.java lines 81–98

    private void assertCopy(FullBinaryMemcacheRequest expected, ByteBuf expectedContent,
                            FullBinaryMemcacheRequest actual) {
        assertNotSame(expected, actual);

        assertEquals(expected.key(), actual.key());
        assertEquals(expected.extras(), actual.extras());
        assertEquals(expectedContent, actual.content());

        assertEquals(expected.reserved(), actual.reserved());
        assertEquals(expected.magic(), actual.magic());
        assertEquals(expected.opcode(), actual.opcode());
        assertEquals(expected.keyLength(), actual.keyLength());
        assertEquals(expected.extrasLength(), actual.extrasLength());
        assertEquals(expected.dataType(), actual.dataType());
        assertEquals(expected.totalBodyLength(), actual.totalBodyLength());
        assertEquals(expected.opaque(), actual.opaque());
        assertEquals(expected.cas(), actual.cas());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertCopy() do?
assertCopy() is a function in the netty codebase, defined in codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/DefaultFullBinaryMemcacheRequestTest.java.
Where is assertCopy() defined?
assertCopy() is defined in codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary/DefaultFullBinaryMemcacheRequestTest.java at line 81.
What calls assertCopy()?
assertCopy() is called by 3 function(s): fullCopy, fullDuplicate, fullReplace.

Analyze Your Own Codebase

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

Try Supermodel Free