assertIsText() — netty Function Reference
Architecture documentation for the assertIsText() function in ByteBufUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 341f55f8_87ae_50af_6d34_d1c23e9ddf4c["assertIsText()"] 1b32157c_4c5c_4c3c_706b_1a74a9afdca7["ByteBufUtilTest"] 341f55f8_87ae_50af_6d34_d1c23e9ddf4c -->|defined in| 1b32157c_4c5c_4c3c_706b_1a74a9afdca7 4ab6f6ce_2bfb_3bdb_7e14_c12571b0f895["testIsTextWithUtf8()"] 4ab6f6ce_2bfb_3bdb_7e14_c12571b0f895 -->|calls| 341f55f8_87ae_50af_6d34_d1c23e9ddf4c 1f7ab739_8726_38fa_c326_150cb1d45b92["testIsTextWithoutOptimization()"] 1f7ab739_8726_38fa_c326_150cb1d45b92 -->|calls| 341f55f8_87ae_50af_6d34_d1c23e9ddf4c 459a902a_abf4_c0b9_b894_c4f3189db020["testIsTextWithAscii()"] 459a902a_abf4_c0b9_b894_c4f3189db020 -->|calls| 341f55f8_87ae_50af_6d34_d1c23e9ddf4c style 341f55f8_87ae_50af_6d34_d1c23e9ddf4c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java lines 987–995
private void assertIsText(BufferType bufferType, byte[] bytes, boolean expected, Charset charset) {
ByteBuf buffer = buffer(bufferType, bytes.length);
try {
buffer.writeBytes(bytes);
assertEquals(expected, ByteBufUtil.isText(buffer, charset));
} finally {
buffer.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does assertIsText() do?
assertIsText() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java.
Where is assertIsText() defined?
assertIsText() is defined in buffer/src/test/java/io/netty/buffer/ByteBufUtilTest.java at line 987.
What calls assertIsText()?
assertIsText() is called by 3 function(s): testIsTextWithAscii, testIsTextWithUtf8, testIsTextWithoutOptimization.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free