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

Method getAPIMethodPut

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

Source from the content-addressed store, hash-verified

530 }
531
532 @Test
533 public void getAPIMethodPut() {
534 final Channel channelMock = NettyMocks.fakeChannel();
535 final HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1,
536 HttpMethod.PUT, "/");
537 HttpQuery query = new HttpQuery(tsdb, req, channelMock);
538 assertEquals(HttpMethod.PUT, query.getAPIMethod());
539 }
540
541 @Test
542 public void getAPIMethodDelete() {

Callers

nothing calls this directly

Calls 2

fakeChannelMethod · 0.95
getAPIMethodMethod · 0.95

Tested by

no test coverage detected