testNonJsonContent1() — netty Function Reference
Architecture documentation for the testNonJsonContent1() function in JsonObjectDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ace9be71_8104_90bb_0907_a8600ebe8312["testNonJsonContent1()"] 6e0a0e48_218c_0ee1_ac6e_2abf169a9f38["JsonObjectDecoderTest"] ace9be71_8104_90bb_0907_a8600ebe8312 -->|defined in| 6e0a0e48_218c_0ee1_ac6e_2abf169a9f38 style ace9be71_8104_90bb_0907_a8600ebe8312 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/test/java/io/netty/handler/codec/json/JsonObjectDecoderTest.java lines 256–269
@Test
public void testNonJsonContent1() {
final EmbeddedChannel ch = new EmbeddedChannel(new JsonObjectDecoder());
try {
assertThrows(CorruptedFrameException.class, new Executable() {
@Override
public void execute() {
ch.writeInbound(Unpooled.copiedBuffer(" b [1,2,3]", CharsetUtil.UTF_8));
}
});
} finally {
assertFalse(ch.finish());
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testNonJsonContent1() do?
testNonJsonContent1() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/json/JsonObjectDecoderTest.java.
Where is testNonJsonContent1() defined?
testNonJsonContent1() is defined in codec-base/src/test/java/io/netty/handler/codec/json/JsonObjectDecoderTest.java at line 256.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free