com.atlassian.plugin.osgi
Class PluginInContainerTestBase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.plugin.osgi.PluginInContainerTestBase
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- FrameworkRestartTestBase, TestClassLoaderEdgeCases, TestContextClassLoader, TestDynamicPluginModule, TestEnableDisablePlugin, TestPluginDependencies, TestPluginFrameworkWarmRestart, TestPluginInstall, TestPluginModuleCreation, TestPluginSpringInteraction, TestPluginWithJaxp, TestShutdown
public abstract class PluginInContainerTestBase
- extends junit.framework.TestCase
Base for in-container unit tests
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
osgiContainerManager
protected OsgiContainerManager osgiContainerManager
tmpDir
protected java.io.File tmpDir
cacheDir
protected java.io.File cacheDir
pluginsDir
protected java.io.File pluginsDir
moduleDescriptorFactory
protected ModuleDescriptorFactory moduleDescriptorFactory
pluginManager
protected DefaultPluginManager pluginManager
pluginEventManager
protected PluginEventManager pluginEventManager
moduleFactory
protected ModuleFactory moduleFactory
hostContainer
protected SimpleConstructorHostContainer hostContainer
PluginInContainerTestBase
public PluginInContainerTestBase()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
java.lang.Exception
createHostContainer
protected SimpleConstructorHostContainer createHostContainer(java.util.Map<java.lang.Class<?>,java.lang.Object> originalContext)
tearDown
public void tearDown()
throws java.lang.Exception
- Overrides:
tearDown in class junit.framework.TestCase
- Throws:
java.lang.Exception
initPluginManager
protected void initPluginManager()
throws java.lang.Exception
- Throws:
java.lang.Exception
initPluginManager
protected void initPluginManager(HostComponentProvider hostComponentProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception
initPluginManager
protected void initPluginManager(HostComponentProvider hostComponentProvider,
ModuleDescriptorFactory moduleDescriptorFactory,
java.lang.String version)
throws java.lang.Exception
- Throws:
java.lang.Exception
initPluginManager
protected void initPluginManager(HostComponentProvider hostComponentProvider,
ModuleDescriptorFactory moduleDescriptorFactory)
throws java.lang.Exception
- Throws:
java.lang.Exception
initPluginManager
protected void initPluginManager(ModuleDescriptorFactory moduleDescriptorFactory,
PluginLoader loader)
throws java.lang.Exception
- Throws:
java.lang.Exception
initBundlingPluginManager
protected void initBundlingPluginManager(ModuleDescriptorFactory moduleDescriptorFactory,
java.io.File... bundledPluginJars)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Atlassian. All Rights Reserved.