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

Method validateEmptyQueries

test/core/TestTSQuery.java:151–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 @Test (expected = IllegalArgumentException.class)
152 public void validateEmptyQueries() {
153 TSQuery q = this.getMetricForValidate();
154 q.setQueries(new ArrayList<TSSubQuery>());
155 q.validateAndSetQuery();
156 }
157
158 // NOTE: Each of the hash and equals tests should make sure that we the code
159 // doesn't change after validation.

Callers

nothing calls this directly

Calls 3

getMetricForValidateMethod · 0.95
setQueriesMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected