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

Method validateEmptyAgg

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

Source from the content-addressed store, hash-verified

86 }
87
88 @Test (expected = IllegalArgumentException.class)
89 public void validateEmptyAgg() {
90 TSSubQuery sub = getMetricForValidate();
91 sub.setAggregator("");
92 sub.validateAndSetQuery();
93 }
94
95 @Test (expected = IllegalArgumentException.class)
96 public void validateBadAgg() {

Callers

nothing calls this directly

Calls 3

getMetricForValidateMethod · 0.95
setAggregatorMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected