Fix checkstyle

This commit is contained in:
Norman Maurer 2013-04-30 21:11:41 +02:00
parent ee433ea911
commit 9128d4f16a

View File

@ -158,7 +158,8 @@ public class HttpObjectAggregatorTest {
FullHttpRequest aggratedMessage = (FullHttpRequest) embedder.readInbound(); FullHttpRequest aggratedMessage = (FullHttpRequest) embedder.readInbound();
assertNotNull(aggratedMessage); assertNotNull(aggratedMessage);
assertEquals(chunk1.data().readableBytes() + chunk2.data().readableBytes(), HttpHeaders.getContentLength(aggratedMessage)); assertEquals(chunk1.data().readableBytes() + chunk2.data().readableBytes(),
HttpHeaders.getContentLength(aggratedMessage));
assertEquals(aggratedMessage.headers().get("X-Test"), Boolean.TRUE.toString()); assertEquals(aggratedMessage.headers().get("X-Test"), Boolean.TRUE.toString());
checkContentBuffer(aggratedMessage); checkContentBuffer(aggratedMessage);
assertNull(embedder.readInbound()); assertNull(embedder.readInbound());