testAdjustedLengthLessThanZero() — netty Function Reference
Architecture documentation for the testAdjustedLengthLessThanZero() function in LengthFieldPrependerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 26caf189_6d42_94a1_4481_5ad4f44c4be3["testAdjustedLengthLessThanZero()"] 08a86b56_30dc_8ade_d1cb_23b1a52cba79["LengthFieldPrependerTest"] 26caf189_6d42_94a1_4481_5ad4f44c4be3 -->|defined in| 08a86b56_30dc_8ade_d1cb_23b1a52cba79 style 26caf189_6d42_94a1_4481_5ad4f44c4be3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/test/java/io/netty/handler/codec/frame/LengthFieldPrependerTest.java lines 85–94
@Test
public void testAdjustedLengthLessThanZero() throws Exception {
final EmbeddedChannel ch = new EmbeddedChannel(new LengthFieldPrepender(4, -2));
try {
ch.writeOutbound(msg);
fail(EncoderException.class.getSimpleName() + " must be raised.");
} catch (EncoderException e) {
// Expected
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testAdjustedLengthLessThanZero() do?
testAdjustedLengthLessThanZero() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/frame/LengthFieldPrependerTest.java.
Where is testAdjustedLengthLessThanZero() defined?
testAdjustedLengthLessThanZero() is defined in codec-base/src/test/java/io/netty/handler/codec/frame/LengthFieldPrependerTest.java at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free