MCPcopy
hub / github.com/OpenTSDB/opentsdb / setSerializer

Method setSerializer

test/tsd/TestHttpQuery.java:707–714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

705 }
706
707 @Test
708 public void setSerializer() throws Exception {
709 HttpQuery.initializeSerializerMaps(null);
710 HttpQuery query = NettyMocks.getQuery(tsdb, "/aggregators");
711 query.setSerializer();
712 assertEquals(HttpJsonSerializer.class.getCanonicalName(),
713 query.serializer().getClass().getCanonicalName());
714 }
715
716 @Test
717 public void setFormatterQS() throws Exception {

Callers

nothing calls this directly

Calls 4

getQueryMethod · 0.95
setSerializerMethod · 0.95
serializerMethod · 0.95

Tested by

no test coverage detected