testChannelsIteratorNotSupported() — netty Function Reference
Architecture documentation for the testChannelsIteratorNotSupported() function in DefaultEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8d1caf8f_aa2e_2912_9257_52cfbb812bd6["testChannelsIteratorNotSupported()"] 957f28ff_e249_a591_11c3_46dffe6d43ba["DefaultEventLoopTest"] 8d1caf8f_aa2e_2912_9257_52cfbb812bd6 -->|defined in| 957f28ff_e249_a591_11c3_46dffe6d43ba style 8d1caf8f_aa2e_2912_9257_52cfbb812bd6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java lines 40–58
@Test
@Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
public void testChannelsIteratorNotSupported() throws Exception {
EventLoopGroup group = newEventLoopGroup();
final SingleThreadEventLoop loop = (SingleThreadEventLoop) group.next();
try {
final Channel ch = newChannel();
loop.register(ch).syncUninterruptibly();
assertThrows(UnsupportedOperationException.class, new Executable() {
@Override
public void execute() throws Throwable {
loop.registeredChannelsIterator();
}
});
} finally {
group.shutdownGracefully();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testChannelsIteratorNotSupported() do?
testChannelsIteratorNotSupported() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java.
Where is testChannelsIteratorNotSupported() defined?
testChannelsIteratorNotSupported() is defined in testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free