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

Method getShort

test/TestConfig.java:199–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197 }
198
199 @Test
200 public void getShort() throws Exception {
201 final Config config = new Config();
202 config.overrideConfig("asynchbase.short",
203 Short.toString(Short.MAX_VALUE));
204 assertEquals(Short.MAX_VALUE,
205 config.getShort("asynchbase.short"));
206 }
207
208 @Test
209 public void getShortNegative() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getShortMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected