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

Method getIntNFE

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

Source from the content-addressed store, hash-verified

174 }
175
176 @Test(expected = NumberFormatException.class)
177 public void getIntNFE() throws Exception {
178 final Config config = new Config(false);
179 config.overrideConfig("tsd.int",
180 "this can't be parsed to int");
181 config.getInt("tsd.int");
182 }
183
184 @Test
185 public void getShort() throws Exception {

Callers

nothing calls this directly

Calls 2

overrideConfigMethod · 0.95
getIntMethod · 0.95

Tested by

no test coverage detected