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

Method invalidTime

test/query/pojo/TestQuery.java:111–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 }
110
111 @Test(expected = IllegalArgumentException.class)
112 public void invalidTime() throws Exception {
113 Timespan invalidTime = Timespan.Builder().build();
114 Query query = getDefaultQueryBuilder().setTime(invalidTime).build();
115 query.validate();
116 }
117
118 @Test(expected = IllegalArgumentException.class)
119 public void metricsIsNull() throws Exception {

Callers

nothing calls this directly

Calls 5

BuilderMethod · 0.95
validateMethod · 0.95
buildMethod · 0.45
setTimeMethod · 0.45

Tested by

no test coverage detected