MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / getIntNegative

Method getIntNegative

test/utils/TestConfig.java:154–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 }
153
154 @Test
155 public void getIntNegative() throws Exception {
156 final Config config = new Config(false);
157 config.overrideConfig("tsd.int",
158 Integer.toString(Integer.MIN_VALUE));
159 assertEquals(Integer.MIN_VALUE,
160 config.getInt("tsd.int"));
161 }
162
163 @Test(expected = NumberFormatException.class)
164 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