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

Method getAPIMethodDelete

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

Source from the content-addressed store, hash-verified

539 }
540
541 @Test
542 public void getAPIMethodDelete() {
543 final Channel channelMock = NettyMocks.fakeChannel();
544 final HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1,
545 HttpMethod.DELETE, "/");
546 HttpQuery query = new HttpQuery(tsdb, req, channelMock);
547 assertEquals(HttpMethod.DELETE, query.getAPIMethod());
548 }
549
550 @Test
551 public void getAPIMethodOverrideGet() {

Callers

nothing calls this directly

Calls 2

fakeChannelMethod · 0.95
getAPIMethodMethod · 0.95

Tested by

no test coverage detected