testCloseFailedChunkedInput() — netty Function Reference
Architecture documentation for the testCloseFailedChunkedInput() function in ChunkedWriteHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 46a14557_7fce_4291_1991_d6a11a8c3df7["testCloseFailedChunkedInput()"] 56a5cec9_e7c0_8a2d_a9b0_56df2226f2bb["ChunkedWriteHandlerTest"] 46a14557_7fce_4291_1991_d6a11a8c3df7 -->|defined in| 56a5cec9_e7c0_8a2d_a9b0_56df2226f2bb 4a14cdb7_e258_429b_0e3f_db7b42d9be3e["ThrowingChunkedInput()"] 46a14557_7fce_4291_1991_d6a11a8c3df7 -->|calls| 4a14cdb7_e258_429b_0e3f_db7b42d9be3e 6abd9734_226e_eb7a_6ea3_c933dfb7e8bf["isClosed()"] 46a14557_7fce_4291_1991_d6a11a8c3df7 -->|calls| 6abd9734_226e_eb7a_6ea3_c933dfb7e8bf style 46a14557_7fce_4291_1991_d6a11a8c3df7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java lines 491–507
@Test
public void testCloseFailedChunkedInput() {
Exception error = new Exception("Unable to produce a chunk");
final ThrowingChunkedInput input = new ThrowingChunkedInput(error);
final EmbeddedChannel ch = new EmbeddedChannel(new ChunkedWriteHandler());
Exception e = assertThrows(Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
ch.writeOutbound(input);
}
});
assertEquals(error, e);
assertTrue(input.isClosed());
assertFalse(ch.finish());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCloseFailedChunkedInput() do?
testCloseFailedChunkedInput() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java.
Where is testCloseFailedChunkedInput() defined?
testCloseFailedChunkedInput() is defined in handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java at line 491.
What does testCloseFailedChunkedInput() call?
testCloseFailedChunkedInput() calls 2 function(s): ThrowingChunkedInput, isClosed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free