testWriteUsAsciiWrapped() — netty Function Reference
Architecture documentation for the testWriteUsAsciiWrapped() function in ByteBufUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ef0a5460_1cb7_c545_73f0_89a599e0f1b2["testWriteUsAsciiWrapped()"] 1b32157c_4c5c_4c3c_706b_1a74a9afdca7["ByteBufUtilTest"] ef0a5460_1cb7_c545_73f0_89a599e0f1b2 -->|defined in| 1b32157c_4c5c_4c3c_706b_1a74a9afdca7 afc23043_de7e_d2bb_0163_d79677897fa6["assertWrapped()"] ef0a5460_1cb7_c545_73f0_89a599e0f1b2 -->|calls| afc23043_de7e_d2bb_0163_d79677897fa6 style ef0a5460_1cb7_c545_73f0_89a599e0f1b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java lines 410–425
@ParameterizedTest(name = PARAMETERIZED_NAME)
@MethodSource("noUnsafe")
public void testWriteUsAsciiWrapped(BufferType bufferType) {
String usAscii = "NettyRocks";
ByteBuf buf = unreleasableBuffer(buffer(bufferType, 16));
assertWrapped(buf);
buf.writeBytes(usAscii.getBytes(CharsetUtil.US_ASCII));
ByteBuf buf2 = unreleasableBuffer(buffer(bufferType, 16));
assertWrapped(buf2);
ByteBufUtil.writeAscii(buf2, usAscii);
assertEquals(buf, buf2);
buf.unwrap().release();
buf2.unwrap().release();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testWriteUsAsciiWrapped() do?
testWriteUsAsciiWrapped() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java.
Where is testWriteUsAsciiWrapped() defined?
testWriteUsAsciiWrapped() is defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java at line 410.
What does testWriteUsAsciiWrapped() call?
testWriteUsAsciiWrapped() calls 1 function(s): assertWrapped.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free