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

Method validateNoMetricOrTsuids

test/core/TestTSSubQuery.java:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 @Test (expected = IllegalArgumentException.class)
103 public void validateNoMetricOrTsuids() {
104 TSSubQuery sub = getMetricForValidate();
105 sub.setMetric(null);
106 sub.setTsuids(null);
107 sub.validateAndSetQuery();
108 }
109
110 @Test (expected = IllegalArgumentException.class)
111 public void validateNoMetricOrEmptyTsuids() {

Callers

nothing calls this directly

Calls 4

getMetricForValidateMethod · 0.95
setMetricMethod · 0.95
setTsuidsMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected