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

Method loadSpecificPlugin

test/utils/TestPluginLoader.java:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 @Test
78 public void loadSpecificPlugin() throws Exception {
79 PluginLoader.loadJAR("plugin_test.jar");
80 DummyPlugin plugin = PluginLoader.loadSpecificPlugin(
81 "net.opentsdb.plugin.DummyPluginA",
82 DummyPlugin.class);
83 assertNotNull(plugin);
84 assertEquals("Dummy Plugin A", plugin.myname);
85 }
86
87 @Test
88 public void loadSpecificPluginImplementationNotFound() throws Exception {

Callers

nothing calls this directly

Calls 2

loadJARMethod · 0.95
loadSpecificPluginMethod · 0.95

Tested by

no test coverage detected