From bebcf81687e98cb4f781e7de8b4531d2b64c653d Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Sat, 28 Jun 2014 22:27:15 +0200 Subject: [PATCH] Fix compile error --- .../io/netty/handler/codec/http/HttpObjectAggregatorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java b/codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java index 0d2435073d..9da21be89a 100644 --- a/codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java +++ b/codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java @@ -308,7 +308,7 @@ public class HttpObjectAggregatorTest { ch.writeInbound(Unpooled.copiedBuffer("GET / HTTP/1.0 with extra\r\n", CharsetUtil.UTF_8)); Object inbound = ch.readInbound(); assertThat(inbound, is(instanceOf(FullHttpRequest.class))); - assertTrue(((FullHttpRequest) inbound).getDecoderResult().isFailure()); + assertTrue(((FullHttpRequest) inbound).decoderResult().isFailure()); assertNull(ch.readInbound()); ch.finish(); } @@ -319,7 +319,7 @@ public class HttpObjectAggregatorTest { ch.writeInbound(Unpooled.copiedBuffer("HTTP/1.0 BAD_CODE Bad Server\r\n", CharsetUtil.UTF_8)); Object inbound = ch.readInbound(); assertThat(inbound, is(instanceOf(FullHttpResponse.class))); - assertTrue(((FullHttpResponse) inbound).getDecoderResult().isFailure()); + assertTrue(((FullHttpResponse) inbound).decoderResult().isFailure()); assertNull(ch.readInbound()); ch.finish(); }