Home / Function/ testIsTextWithoutOptimization() — netty Function Reference

testIsTextWithoutOptimization() — netty Function Reference

Architecture documentation for the testIsTextWithoutOptimization() function in ByteBufUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1f7ab739_8726_38fa_c326_150cb1d45b92["testIsTextWithoutOptimization()"]
  1b32157c_4c5c_4c3c_706b_1a74a9afdca7["ByteBufUtilTest"]
  1f7ab739_8726_38fa_c326_150cb1d45b92 -->|defined in| 1b32157c_4c5c_4c3c_706b_1a74a9afdca7
  341f55f8_87ae_50af_6d34_d1c23e9ddf4c["assertIsText()"]
  1f7ab739_8726_38fa_c326_150cb1d45b92 -->|calls| 341f55f8_87ae_50af_6d34_d1c23e9ddf4c
  style 1f7ab739_8726_38fa_c326_150cb1d45b92 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java lines 892–900

    @ParameterizedTest(name = PARAMETERIZED_NAME)
    @MethodSource("noUnsafe")
    public void testIsTextWithoutOptimization(BufferType bufferType) {
        byte[] validBytes = {(byte) 0x01, (byte) 0xD8, (byte) 0x37, (byte) 0xDC};
        byte[] invalidBytes = {(byte) 0x01, (byte) 0xD8};

        assertIsText(bufferType, validBytes, true, CharsetUtil.UTF_16LE);
        assertIsText(bufferType, invalidBytes, false, CharsetUtil.UTF_16LE);
    }

Domain

Subdomains

Frequently Asked Questions

What does testIsTextWithoutOptimization() do?
testIsTextWithoutOptimization() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java.
Where is testIsTextWithoutOptimization() defined?
testIsTextWithoutOptimization() is defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java at line 892.
What does testIsTextWithoutOptimization() call?
testIsTextWithoutOptimization() calls 1 function(s): assertIsText.

Analyze Your Own Codebase

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

Try Supermodel Free