Suppressed a warning log caused by AbstractSocketServerBootstrapTest

This commit is contained in:
Trustin Lee 2008-09-04 11:25:16 +00:00
parent f2267eb39c
commit 486eff6378

View File

@ -99,6 +99,8 @@ public abstract class AbstractSocketServerBootstrapTest {
bootstrap.setOption("child.receiveBufferSize", 9753);
bootstrap.setOption("child.sendBufferSize", 8642);
bootstrap.getPipeline().addLast("dummy", new DummyHandler());
Channel channel = bootstrap.bind();
ParentChannelHandler pch =
channel.getPipeline().get(ParentChannelHandler.class);
@ -197,4 +199,11 @@ public abstract class AbstractSocketServerBootstrapTest {
result.append('1');
}
}
@ChannelPipelineCoverage("all")
private static class DummyHandler extends SimpleChannelHandler {
DummyHandler() {
super();
}
}
}