setUp() — netty Function Reference
Architecture documentation for the setUp() function in ChannelInitializerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6c57cd5c_2632_2bfa_be7b_3d4ef3aa4bb6["setUp()"] 1d273673_4ec9_d923_c0aa_b8258d9bebe4["ChannelInitializerTest"] 6c57cd5c_2632_2bfa_be7b_3d4ef3aa4bb6 -->|defined in| 1d273673_4ec9_d923_c0aa_b8258d9bebe4 style 6c57cd5c_2632_2bfa_be7b_3d4ef3aa4bb6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/ChannelInitializerTest.java lines 57–69
@BeforeEach
public void setUp() {
group = new MultiThreadIoEventLoopGroup(1, LocalIoHandler.newFactory());
server = new ServerBootstrap()
.group(group)
.channel(LocalServerChannel.class)
.localAddress(SERVER_ADDRESS);
client = new Bootstrap()
.group(group)
.channel(LocalChannel.class)
.handler(new ChannelInboundHandlerAdapter());
testHandler = new InspectableHandler();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setUp() do?
setUp() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/ChannelInitializerTest.java.
Where is setUp() defined?
setUp() is defined in transport/src/test/java/io/netty/channel/ChannelInitializerTest.java at line 57.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free