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

Method getShortNFE

test/TestConfig.java:230–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 }
229
230 @Test(expected = NumberFormatException.class)
231 public void getShortNFE() throws Exception {
232 final Config config = new Config();
233 config.overrideConfig("asynchbase.short",
234 "this can't be parsed to short");
235 config.getShort("asynchbase.short");
236 }
237
238 @Test
239 public void getLong() throws Exception {

Callers

nothing calls this directly

Calls 2

overrideConfigMethod · 0.95
getShortMethod · 0.95

Tested by

no test coverage detected