testCodecExceptionForNotFinEmptyFrame() — netty Function Reference
Architecture documentation for the testCodecExceptionForNotFinEmptyFrame() function in PerMessageDeflateEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9ed12bc8_d791_28ab_4734_b8b12df64adc["testCodecExceptionForNotFinEmptyFrame()"] 74922fa4_3ca7_d958_57dc_fafad72e442c["PerMessageDeflateEncoderTest"] 9ed12bc8_d791_28ab_4734_b8b12df64adc -->|defined in| 74922fa4_3ca7_d958_57dc_fafad72e442c style 9ed12bc8_d791_28ab_4734_b8b12df64adc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateEncoderTest.java lines 304–322
@Test
public void testCodecExceptionForNotFinEmptyFrame() {
final EmbeddedChannel encoderChannel = new EmbeddedChannel(new PerMessageDeflateEncoder(9, 15, false));
final TextWebSocketFrame emptyNotFinFrame = new TextWebSocketFrame(false, 0, "");
try {
assertThrows(EncoderException.class, new Executable() {
@Override
public void execute() {
encoderChannel.writeOutbound(emptyNotFinFrame);
}
});
} finally {
// EmptyByteBuf buffer
assertFalse(emptyNotFinFrame.release());
assertFalse(encoderChannel.finish());
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCodecExceptionForNotFinEmptyFrame() do?
testCodecExceptionForNotFinEmptyFrame() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateEncoderTest.java.
Where is testCodecExceptionForNotFinEmptyFrame() defined?
testCodecExceptionForNotFinEmptyFrame() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateEncoderTest.java at line 304.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free