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

Method validateBadAgg

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

Source from the content-addressed store, hash-verified

93 }
94
95 @Test (expected = IllegalArgumentException.class)
96 public void validateBadAgg() {
97 TSSubQuery sub = getMetricForValidate();
98 sub.setAggregator("Notanagg");
99 sub.validateAndSetQuery();
100 }
101
102 @Test (expected = IllegalArgumentException.class)
103 public void validateNoMetricOrTsuids() {

Callers

nothing calls this directly

Calls 3

getMetricForValidateMethod · 0.95
setAggregatorMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected