MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / getLongNegative

Method getLongNegative

test/TestConfig.java:245–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 }
244
245 @Test
246 public void getLongNegative() throws Exception {
247 final Config config = new Config();
248 config.overrideConfig("asynchbase.long", Long.toString(Long.MIN_VALUE));
249 assertEquals(Long.MIN_VALUE,
250 config.getLong("asynchbase.long"));
251 }
252
253 @Test(expected = NumberFormatException.class)
254 public void getLongNull() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getLongMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected