testSetAfterGet() — netty Function Reference
Architecture documentation for the testSetAfterGet() function in NettyRuntimeTests.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e7e663b1_d4d8_96ff_d69c_116d81285c0f["testSetAfterGet()"] f8a8d4a2_21ee_fb99_d44b_e7434e8cbd80["NettyRuntimeTests"] e7e663b1_d4d8_96ff_d69c_116d81285c0f -->|defined in| f8a8d4a2_21ee_fb99_d44b_e7434e8cbd80 style e7e663b1_d4d8_96ff_d69c_116d81285c0f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/NettyRuntimeTests.java lines 59–69
@Test
public void testSetAfterGet() {
final NettyRuntime.AvailableProcessorsHolder holder = new NettyRuntime.AvailableProcessorsHolder();
holder.availableProcessors();
try {
holder.setAvailableProcessors(1);
fail();
} catch (final IllegalStateException e) {
assertThat(e.getMessage()).contains("availableProcessors is already set");
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSetAfterGet() do?
testSetAfterGet() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/NettyRuntimeTests.java.
Where is testSetAfterGet() defined?
testSetAfterGet() is defined in common/src/test/java/io/netty/util/NettyRuntimeTests.java at line 59.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free