()
| 733 | } |
| 734 | |
| 735 | @Test |
| 736 | public void setSerializerCT() throws Exception { |
| 737 | HttpQuery.initializeSerializerMaps(null); |
| 738 | final Channel channelMock = NettyMocks.fakeChannel(); |
| 739 | final HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1, |
| 740 | HttpMethod.GET, "/"); |
| 741 | req.headers().add("Content-Type", "application/json"); |
| 742 | final HttpQuery query = new HttpQuery(tsdb, req, channelMock); |
| 743 | query.setSerializer(); |
| 744 | assertEquals(HttpJsonSerializer.class.getCanonicalName(), |
| 745 | query.serializer().getClass().getCanonicalName()); |
| 746 | } |
| 747 | |
| 748 | @Test |
| 749 | public void setSerializerDummyCT() throws Exception { |
nothing calls this directly
no test coverage detected