public class TestPluginManager
extends hudson.PluginManager
PluginManager to speed up unit tests.
Instead of loading every plugin for every test case, this allows them to reuse a single plugin manager.
TODO: Plugin start/stop/postInitialize invocation semantics gets different. Perhaps
HudsonTestCase.useLocalPluginManager| Modifier and Type | Field and Description |
|---|---|
static hudson.PluginManager |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
loadBundledPlugins() |
void |
stop() |
copyBundledPlugin, createPluginStrategy, discover, doCheckUpdatesServer, doInstall, doInstallNecessaryPlugins, doPrevalidateConfig, doProxyConfigure, doSiteConfigure, doUpdateSources, doUploadPlugin, dynamicLoad, getApi, getBundledPluginManifest, getCompatibilityTransformer, getDisplayName, getFailedPlugins, getOverrides, getPlugin, getPlugin, getPlugins, getPlugins, getPluginStrategy, getProxyDescriptor, getSearchUrl, identifyPluginShortName, initTasks, isPluginUploaded, parseRequestedPlugins, prevalidateConfig, whichPluginprotected Collection<String> loadBundledPlugins() throws Exception
loadBundledPlugins in class hudson.PluginManagerExceptionpublic void stop()
stop in class hudson.PluginManagerCopyright © 2004–2015. All rights reserved.