testNotValidFrameWithEmptyHeaderName() — netty Function Reference
Architecture documentation for the testNotValidFrameWithEmptyHeaderName() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2f4c2197_56bb_6260_593d_b0b573ecaec1["testNotValidFrameWithEmptyHeaderName()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] 2f4c2197_56bb_6260_593d_b0b573ecaec1 -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style 2f4c2197_56bb_6260_593d_b0b573ecaec1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 197–209
@Test
public void testNotValidFrameWithEmptyHeaderName() {
channel = new EmbeddedChannel(new StompSubframeDecoder(true));
ByteBuf invalidIncoming = Unpooled.wrappedBuffer(FRAME_WITH_EMPTY_HEADER_NAME.getBytes(UTF_8));
assertTrue(channel.writeInbound(invalidIncoming));
StompHeadersSubframe frame = channel.readInbound();
assertNotNull(frame);
assertTrue(frame.decoderResult().isFailure());
assertEquals("received an invalid header line ':header-value'",
frame.decoderResult().cause().getMessage());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testNotValidFrameWithEmptyHeaderName() do?
testNotValidFrameWithEmptyHeaderName() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java.
Where is testNotValidFrameWithEmptyHeaderName() defined?
testNotValidFrameWithEmptyHeaderName() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 197.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free