()
| 111 | } |
| 112 | |
| 113 | @Test |
| 114 | public void loadHttpRpcPlugin() throws Exception { |
| 115 | PluginLoader.loadJAR("plugin_test.jar"); |
| 116 | HttpRpcPlugin plugin = PluginLoader.loadSpecificPlugin("net.opentsdb.tsd.DummyHttpRpcPlugin", HttpRpcPlugin.class); |
| 117 | assertNotNull(plugin); |
| 118 | assertEquals("/dummy/test", plugin.getPath()); |
| 119 | } |
| 120 | |
| 121 | @Test |
| 122 | public void loadPluginsNotFound() throws Exception { |
nothing calls this directly
no test coverage detected