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

Method getInt

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

Source from the content-addressed store, hash-verified

134 }
135
136 @Test
137 public void getInt() throws Exception {
138 final Config config = new Config(false);
139 config.overrideConfig("tsd.int",
140 Integer.toString(Integer.MAX_VALUE));
141 assertEquals(Integer.MAX_VALUE,
142 config.getInt("tsd.int"));
143 }
144
145 @Test
146 public void getIntWithSpaces() throws Exception {

Calls 3

overrideConfigMethod · 0.95
getIntMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected