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

Method getIntWithSpaces

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

Source from the content-addressed store, hash-verified

143 }
144
145 @Test
146 public void getIntWithSpaces() throws Exception {
147 final Config config = new Config(false);
148 config.overrideConfig("tsd.int",
149 " " + Integer.toString(Integer.MAX_VALUE) + " ");
150 assertEquals(Integer.MAX_VALUE,
151 config.getInt("tsd.int"));
152 }
153
154 @Test
155 public void getIntNegative() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getIntMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected