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

Method initializeEmptyHost

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

Source from the content-addressed store, hash-verified

67 }
68
69 @Test (expected = IllegalArgumentException.class)
70 public void initializeEmptyHost() throws Exception {
71 when(config.getString("tsd.search.DummySearchPlugin.hosts"))
72 .thenReturn("");
73 search.initialize(tsdb);
74 }
75
76 @Test (expected = NullPointerException.class)
77 public void initializeMissingPort() throws Exception {

Callers

nothing calls this directly

Calls 2

initializeMethod · 0.65
getStringMethod · 0.45

Tested by

no test coverage detected