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

Method validateNullAgg

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

Source from the content-addressed store, hash-verified

79 }
80
81 @Test (expected = IllegalArgumentException.class)
82 public void validateNullAgg() {
83 TSSubQuery sub = getMetricForValidate();
84 sub.setAggregator(null);
85 sub.validateAndSetQuery();
86 }
87
88 @Test (expected = IllegalArgumentException.class)
89 public void validateEmptyAgg() {

Callers

nothing calls this directly

Calls 3

getMetricForValidateMethod · 0.95
setAggregatorMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected