testChunkedNioFileFailOnClosedFileChannel() — netty Function Reference
Architecture documentation for the testChunkedNioFileFailOnClosedFileChannel() function in ChunkedWriteHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 675a1c07_bbd6_e90f_c871_50c7efe895bb["testChunkedNioFileFailOnClosedFileChannel()"] 56a5cec9_e7c0_8a2d_a9b0_56df2226f2bb["ChunkedWriteHandlerTest"] 675a1c07_bbd6_e90f_c871_50c7efe895bb -->|defined in| 56a5cec9_e7c0_8a2d_a9b0_56df2226f2bb a53c7dad_bfea_065f_5af5_93f06896bc56["check()"] 675a1c07_bbd6_e90f_c871_50c7efe895bb -->|calls| a53c7dad_bfea_065f_5af5_93f06896bc56 5b3c7cbd_194c_150b_fe10_1fdfe7748566["close()"] 675a1c07_bbd6_e90f_c871_50c7efe895bb -->|calls| 5b3c7cbd_194c_150b_fe10_1fdfe7748566 style 675a1c07_bbd6_e90f_c871_50c7efe895bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java lines 128–144
@Test
public void testChunkedNioFileFailOnClosedFileChannel() throws IOException {
final FileChannel in = new RandomAccessFile(TMP, "r").getChannel();
in.close();
assertThrows(ClosedChannelException.class, new Executable() {
@Override
public void execute() throws Throwable {
check(new ChunkedNioFile(in) {
@Override
public void close() throws Exception {
//no op
}
});
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testChunkedNioFileFailOnClosedFileChannel() do?
testChunkedNioFileFailOnClosedFileChannel() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java.
Where is testChunkedNioFileFailOnClosedFileChannel() defined?
testChunkedNioFileFailOnClosedFileChannel() is defined in handler/src/test/java/io/netty/handler/stream/ChunkedWriteHandlerTest.java at line 128.
What does testChunkedNioFileFailOnClosedFileChannel() call?
testChunkedNioFileFailOnClosedFileChannel() calls 2 function(s): check, close.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free