MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / getEndTimeNotSet

Method getEndTimeNotSet

test/core/TestTsdbQuery.java:132–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 @Test
133 public void getEndTimeNotSet() throws Exception {
134 PowerMockito.mockStatic(DateTime.class);
135 PowerMockito.when(DateTime.currentTimeMillis()).thenReturn(1357300800000L);
136 assertEquals(1357300800000L, query.getEndTime());
137 }
138
139 @Test
140 public void setTimeSeries() throws Exception {

Callers

nothing calls this directly

Calls 2

currentTimeMillisMethod · 0.95
getEndTimeMethod · 0.65

Tested by

no test coverage detected