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

Method getAnnotationNormalizeMs

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

Source from the content-addressed store, hash-verified

95 }
96
97 @Test
98 public void getAnnotationNormalizeMs() throws Exception {
99 setupStorage(false);
100 note = Annotation.getAnnotation(tsdb, TSUID, 1388450562000L)
101 .joinUninterruptibly();
102 assertNotNull(note);
103 assertEquals(TSUID, note.getTSUID());
104 assertEquals("Hello!", note.getDescription());
105 assertEquals(1388450562L, note.getStartTime());
106 }
107
108 @Test
109 public void getAnnotationGlobal() 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