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

Method parseDurationLongMS

test/utils/TestDateTime.java:343–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341 }
342
343 @Test
344 public void parseDurationLongMS() {
345 long t = DateTime.parseDuration("4294967296ms");
346 assertEquals(1L << 32, t);
347 }
348
349 @Test (expected = IllegalArgumentException.class)
350 public void parseDurationTooLong() {

Callers

nothing calls this directly

Calls 1

parseDurationMethod · 0.95

Tested by

no test coverage detected