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

Method getIntNegative

test/TestConfig.java:169–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 }
168
169 @Test
170 public void getIntNegative() throws Exception {
171 final Config config = new Config();
172 config.overrideConfig("asynchbase.int",
173 Integer.toString(Integer.MIN_VALUE));
174 assertEquals(Integer.MIN_VALUE,
175 config.getInt("asynchbase.int"));
176 }
177
178 @Test(expected = NumberFormatException.class)
179 public void getIntNull() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getIntMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected