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