testDecodeWithInvalidInput() — netty Function Reference
Architecture documentation for the testDecodeWithInvalidInput() function in XmlFrameDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 52d4f34d_bcf8_dcb3_e54f_7b9f55edd884["testDecodeWithInvalidInput()"] 13b85bd7_07cb_814c_1ac0_dcb1adb68947["XmlFrameDecoderTest"] 52d4f34d_bcf8_dcb3_e54f_7b9f55edd884 -->|defined in| 13b85bd7_07cb_814c_1ac0_dcb1adb68947 style 52d4f34d_bcf8_dcb3_e54f_7b9f55edd884 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java lines 86–96
@Test
public void testDecodeWithInvalidInput() {
XmlFrameDecoder decoder = new XmlFrameDecoder(1048576);
final EmbeddedChannel ch = new EmbeddedChannel(decoder);
assertThrows(CorruptedFrameException.class, new Executable() {
@Override
public void execute() {
ch.writeInbound(Unpooled.copiedBuffer("invalid XML", CharsetUtil.UTF_8));
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDecodeWithInvalidInput() do?
testDecodeWithInvalidInput() is a function in the netty codebase, defined in codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java.
Where is testDecodeWithInvalidInput() defined?
testDecodeWithInvalidInput() is defined in codec-xml/src/test/java/io/netty/handler/codec/xml/XmlFrameDecoderTest.java at line 86.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free