MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / setFormatterQS

Method setFormatterQS

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

Source from the content-addressed store, hash-verified

714 }
715
716 @Test
717 public void setFormatterQS() throws Exception {
718 HttpQuery.initializeSerializerMaps(null);
719 HttpQuery query = NettyMocks.getQuery(tsdb, "/aggregators?formatter=json");
720 query.setSerializer();
721 assertEquals(HttpJsonSerializer.class.getCanonicalName(),
722 query.serializer().getClass().getCanonicalName());
723 }
724
725 @Test
726 public void setSerializerDummyQS() throws Exception {

Callers

nothing calls this directly

Calls 4

getQueryMethod · 0.95
setSerializerMethod · 0.95
serializerMethod · 0.95

Tested by

no test coverage detected