MCPcopy
hub / github.com/OpenTSDB/opentsdb / initializeInvalidPort

Method initializeInvalidPort

test/search/TestSearchPlugin.java:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 @Test (expected = IllegalArgumentException.class)
84 public void initializeInvalidPort() throws Exception {
85 when(config.getInt("tsd.search.DummySearchPlugin.port"))
86 .thenThrow(new NumberFormatException());
87 search.initialize(tsdb);
88 }
89
90 @Test
91 public void shutdown() throws Exception {

Callers

nothing calls this directly

Calls 2

initializeMethod · 0.65
getIntMethod · 0.45

Tested by

no test coverage detected