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

Method getGlobalAnnotationsEmpty

test/meta/TestAnnotation.java:220–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 }
219
220 @Test
221 public void getGlobalAnnotationsEmpty() throws Exception {
222 setupStorage(false);
223 List<Annotation> notes = Annotation.getGlobalAnnotations(tsdb, 1328150000,
224 1328160000).joinUninterruptibly();
225 assertNotNull(notes);
226 assertEquals(0, notes.size());
227 }
228
229 @Test (expected = IllegalArgumentException.class)
230 public void getGlobalAnnotationsZeroEndtime() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
getGlobalAnnotationsMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected