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

Method explodeAPIPathRoot

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

Source from the content-addressed store, hash-verified

284 }
285
286 @Test
287 public void explodeAPIPathRoot() {
288 final HttpQuery query = NettyMocks.getQuery(tsdb,
289 "/api");
290 final String[] path = query.explodeAPIPath();
291 assertNotNull(path);
292 assertTrue(path[0].isEmpty());
293 }
294
295 @Test
296 public void explodeAPIPathRootVersion() {

Callers

nothing calls this directly

Calls 3

getQueryMethod · 0.95
explodeAPIPathMethod · 0.95
isEmptyMethod · 0.80

Tested by

no test coverage detected