MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / initializeMissingHost

Method initializeMissingHost

test/tsd/TestRpcPlugin.java:59–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 @Test (expected = IllegalArgumentException.class)
60 public void initializeMissingHost() throws Exception {
61 when(config.hasProperty("tsd.rpcplugin.DummyRPCPlugin.hosts"))
62 .thenReturn(false);
63 rpc_plugin.initialize(tsdb);
64 }
65
66 public void initializeEmptyHost() throws Exception {
67 when(config.getString("tsd.rpcplugin.DummyRPCPlugin.hosts"))

Callers

nothing calls this directly

Calls 2

initializeMethod · 0.65
hasPropertyMethod · 0.45

Tested by

no test coverage detected