FailedChannelFutureTest Class — netty Architecture
Architecture documentation for the FailedChannelFutureTest class in FailedChannelFutureTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 43eb1b42_5907_db21_020b_4ae1740577e7["FailedChannelFutureTest"] 9dd8b72e_20e1_ca3b_587b_b4fd2620874e["FailedChannelFutureTest.java"] 43eb1b42_5907_db21_020b_4ae1740577e7 -->|defined in| 9dd8b72e_20e1_ca3b_587b_b4fd2620874e 144f4002_f6e7_73a0_213b_d2594030a106["testConstantProperties()"] 43eb1b42_5907_db21_020b_4ae1740577e7 -->|method| 144f4002_f6e7_73a0_213b_d2594030a106 fcfb98c7_7e13_f38f_65a0_ec9fe4e21626["shouldDisallowNullException()"] 43eb1b42_5907_db21_020b_4ae1740577e7 -->|method| fcfb98c7_7e13_f38f_65a0_ec9fe4e21626
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/FailedChannelFutureTest.java lines 26–46
public class FailedChannelFutureTest {
@Test
public void testConstantProperties() {
Channel channel = Mockito.mock(Channel.class);
Exception e = new Exception();
FailedChannelFuture future = new FailedChannelFuture(channel, null, e);
assertFalse(future.isSuccess());
assertSame(e, future.cause());
}
@Test
public void shouldDisallowNullException() {
assertThrows(NullPointerException.class, new Executable() {
@Override
public void execute() {
new FailedChannelFuture(Mockito.mock(Channel.class), null, null);
}
});
}
}
Source
Frequently Asked Questions
What is the FailedChannelFutureTest class?
FailedChannelFutureTest is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/FailedChannelFutureTest.java.
Where is FailedChannelFutureTest defined?
FailedChannelFutureTest is defined in transport/src/test/java/io/netty/channel/FailedChannelFutureTest.java at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free