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

Method parseDurationNegative

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

Source from the content-addressed store, hash-verified

352 }
353
354 @Test (expected = IllegalArgumentException.class)
355 public void parseDurationNegative() {
356 DateTime.parseDuration("-60s");
357 }
358
359 @Test (expected = IllegalArgumentException.class)
360 public void parseDurationBad() {

Callers

nothing calls this directly

Calls 1

parseDurationMethod · 0.95

Tested by

no test coverage detected