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

Method getInt

test/TestConfig.java:160–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 @Test
161 public void getInt() throws Exception {
162 final Config config = new Config();
163 config.overrideConfig("asynchbase.int",
164 Integer.toString(Integer.MAX_VALUE));
165 assertEquals(Integer.MAX_VALUE,
166 config.getInt("asynchbase.int"));
167 }
168
169 @Test
170 public void getIntNegative() throws Exception {

Calls 3

overrideConfigMethod · 0.95
getIntMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected