testFreeCalled() — netty Function Reference
Architecture documentation for the testFreeCalled() function in DefaultChannelPipelineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 08e8fcf4_2ac6_067a_5b74_1b1417fab029["testFreeCalled()"] 666d912b_4166_a807_ed10_ba12f328a7b2["DefaultChannelPipelineTest"] 08e8fcf4_2ac6_067a_5b74_1b1417fab029 -->|defined in| 666d912b_4166_a807_ed10_ba12f328a7b2 1d577730_98cf_e645_a0bd_8e177a3273f3["setUp()"] 08e8fcf4_2ac6_067a_5b74_1b1417fab029 -->|calls| 1d577730_98cf_e645_a0bd_8e177a3273f3 style 08e8fcf4_2ac6_067a_5b74_1b1417fab029 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 145–168
@Test
public void testFreeCalled() throws Exception {
final CountDownLatch free = new CountDownLatch(1);
final ReferenceCounted holder = new AbstractReferenceCounted() {
@Override
protected void deallocate() {
free.countDown();
}
@Override
public ReferenceCounted touch(Object hint) {
return this;
}
};
StringInboundHandler handler = new StringInboundHandler();
setUp(handler);
peer.writeAndFlush(holder).sync();
assertTrue(free.await(10, TimeUnit.SECONDS));
assertTrue(handler.called);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testFreeCalled() do?
testFreeCalled() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is testFreeCalled() defined?
testFreeCalled() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 145.
What does testFreeCalled() call?
testFreeCalled() calls 1 function(s): setUp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free