()
| 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 { |
nothing calls this directly
no test coverage detected