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

Method metricsIsNull

test/query/pojo/TestQuery.java:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 @Test(expected = IllegalArgumentException.class)
119 public void metricsIsNull() throws Exception {
120 Query query = getDefaultQueryBuilder().setMetrics(null).build();
121 query.validate();
122 }
123
124 @Test(expected = IllegalArgumentException.class)
125 public void metricsIsEmpty() throws Exception {

Callers

nothing calls this directly

Calls 4

validateMethod · 0.95
setMetricsMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected