Home / Function/ testCreateByteArrayFromIpAddressString() — netty Function Reference

testCreateByteArrayFromIpAddressString() — netty Function Reference

Architecture documentation for the testCreateByteArrayFromIpAddressString() function in NetUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  06142012_fd41_9640_ba6a_aed42b3fe4c3["testCreateByteArrayFromIpAddressString()"]
  545234a8_c93e_9bed_bd0e_6c5542a33149["NetUtilTest"]
  06142012_fd41_9640_ba6a_aed42b3fe4c3 -->|defined in| 545234a8_c93e_9bed_bd0e_6c5542a33149
  94f04081_4d5b_78a8_8d74_83f4bcdceaf0["assertHexDumpEquals()"]
  06142012_fd41_9640_ba6a_aed42b3fe4c3 -->|calls| 94f04081_4d5b_78a8_8d74_83f4bcdceaf0
  style 06142012_fd41_9640_ba6a_aed42b3fe4c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/NetUtilTest.java lines 683–701

    @Test
    public void testCreateByteArrayFromIpAddressString() {
        for (Entry<String, String> e : validIpV4Hosts.entrySet()) {
            String ip = e.getKey();
            assertHexDumpEquals(e.getValue(), createByteArrayFromIpAddressString(ip), ip);
        }
        for (Entry<String, String> e : invalidIpV4Hosts.entrySet()) {
            String ip = e.getKey();
            assertHexDumpEquals(e.getValue(), createByteArrayFromIpAddressString(ip), ip);
        }
        for (Entry<String, String> e : validIpV6Hosts.entrySet()) {
            String ip = e.getKey();
            assertHexDumpEquals(e.getValue(), createByteArrayFromIpAddressString(ip), ip);
        }
        for (Entry<String, String> e : invalidIpV6Hosts.entrySet()) {
            String ip = e.getKey();
            assertHexDumpEquals(e.getValue(), createByteArrayFromIpAddressString(ip), ip);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testCreateByteArrayFromIpAddressString() do?
testCreateByteArrayFromIpAddressString() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/NetUtilTest.java.
Where is testCreateByteArrayFromIpAddressString() defined?
testCreateByteArrayFromIpAddressString() is defined in common/src/test/java/io/netty/util/NetUtilTest.java at line 683.
What does testCreateByteArrayFromIpAddressString() call?
testCreateByteArrayFromIpAddressString() calls 1 function(s): assertHexDumpEquals.

Analyze Your Own Codebase

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

Try Supermodel Free