org.jvnet.hudson.test
Class TestPluginManager
java.lang.Object
hudson.model.AbstractModelObject
hudson.PluginManager
org.jvnet.hudson.test.TestPluginManager
- All Implemented Interfaces:
- ModelObject, SearchableModelObject, SearchItem
public class TestPluginManager
- extends 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
- Author:
- Kohsuke Kawaguchi
- See Also:
HudsonTestCase.useLocalPluginManager
| Methods inherited from class hudson.PluginManager |
copyBundledPlugin, discover, doInstall, doProxyConfigure, doSiteConfigure, doUpdateSources, doUploadPlugin, getDisplayName, getFailedPlugins, getPlugin, getPlugin, getPlugins, getPlugins, getPluginStrategy, getSearchUrl, initTasks, isPluginUploaded |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final PluginManager INSTANCE
loadBundledPlugins
protected Collection<String> loadBundledPlugins()
throws Exception
- Specified by:
loadBundledPlugins in class PluginManager
- Throws:
Exception
stop
public void stop()
- Overrides:
stop in class PluginManager
Copyright © 2010. All Rights Reserved.