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

Method explodeAPIPathRootVersion

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

Source from the content-addressed store, hash-verified

293 }
294
295 @Test
296 public void explodeAPIPathRootVersion() {
297 final HttpQuery query = NettyMocks.getQuery(tsdb,
298 "/api/v1");
299 final String[] path = query.explodeAPIPath();
300 assertNotNull(path);
301 assertTrue(path[0].isEmpty());
302 }
303
304 @Test (expected = IllegalArgumentException.class)
305 public void explodeAPIPathNotAPI() {

Callers

nothing calls this directly

Calls 3

getQueryMethod · 0.95
explodeAPIPathMethod · 0.95
isEmptyMethod · 0.80

Tested by

no test coverage detected