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

Method getAnnotation

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

Source from the content-addressed store, hash-verified

72 }
73
74 @Test
75 public void getAnnotation() throws Exception {
76 setupStorage(false);
77
78 note = Annotation.getAnnotation(tsdb, TSUID, 1388450562L)
79 .joinUninterruptibly();
80 assertNotNull(note);
81 assertEquals(TSUID, note.getTSUID());
82 assertEquals("Hello!", note.getDescription());
83 assertEquals(1388450562L, note.getStartTime());
84 }
85
86 @Test
87 public void getAnnotationSalted() throws Exception {

Callers

nothing calls this directly

Calls 5

setupStorageMethod · 0.95
getAnnotationMethod · 0.95
getStartTimeMethod · 0.65
getTSUIDMethod · 0.45
getDescriptionMethod · 0.45

Tested by

no test coverage detected