com.atlassian.plugin.osgi
Class TestDynamicPluginModule

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.osgi.PluginInContainerTestBase
              extended by com.atlassian.plugin.osgi.TestDynamicPluginModule
All Implemented Interfaces:
junit.framework.Test

public class TestDynamicPluginModule
extends PluginInContainerTestBase


Nested Class Summary
static class TestDynamicPluginModule.PluginModuleDisabledListener
           
static class TestDynamicPluginModule.PluginModuleEnabledListener
           
 
Field Summary
 
Fields inherited from class com.atlassian.plugin.osgi.PluginInContainerTestBase
cacheDir, hostContainer, moduleDescriptorFactory, moduleFactory, osgiContainerManager, pluginEventManager, pluginManager, pluginsDir, tmpDir
 
Constructor Summary
TestDynamicPluginModule()
           
 
Method Summary
 void testDynamicModuleDescriptor()
           
 void testDynamicModuleDescriptorIsolatedToPlugin()
           
 void testDynamicPluginModule()
           
 void testDynamicPluginModuleNotLinkToAllPlugins()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptor()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFact()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFactWithException()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorAndComponentInjection()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorInSamePlugin()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorInSamePluginWithRestart()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstall()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstallOfBoth()
           
 void testDynamicPluginModuleUsingModuleTypeDescriptorWithReinstall()
           
 void testDynamicPluginModuleWithClientAndHostEnabledSimultaneouslyCheckEvents()
           
 void testInstallUninstallInstallWithModuleTypePlugin()
           
 void testUpgradeOfBundledPluginWithDynamicModule()
           
 
Methods inherited from class com.atlassian.plugin.osgi.PluginInContainerTestBase
createHostContainer, initBundlingPluginManager, initPluginManager, initPluginManager, initPluginManager, initPluginManager, initPluginManager, setUp, tearDown
 
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
 

Constructor Detail

TestDynamicPluginModule

public TestDynamicPluginModule()
Method Detail

testDynamicPluginModule

public void testDynamicPluginModule()
                             throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorWithReinstall

public void testDynamicPluginModuleUsingModuleTypeDescriptorWithReinstall()
                                                                   throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstall

public void testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstall()
                                                                            throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstallOfBoth

public void testDynamicPluginModuleUsingModuleTypeDescriptorWithImmediateReinstallOfBoth()
                                                                                  throws Exception
Throws:
Exception

testUpgradeOfBundledPluginWithDynamicModule

public void testUpgradeOfBundledPluginWithDynamicModule()
                                                 throws Exception
Throws:
Exception

testDynamicPluginModuleNotLinkToAllPlugins

public void testDynamicPluginModuleNotLinkToAllPlugins()
                                                throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptor

public void testDynamicPluginModuleUsingModuleTypeDescriptor()
                                                      throws Exception
Throws:
Exception

testDynamicPluginModuleWithClientAndHostEnabledSimultaneouslyCheckEvents

public void testDynamicPluginModuleWithClientAndHostEnabledSimultaneouslyCheckEvents()
                                                                              throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorAndComponentInjection

public void testDynamicPluginModuleUsingModuleTypeDescriptorAndComponentInjection()
                                                                           throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFact

public void testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFact()
                                                                  throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFactWithException

public void testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFactWithException()
                                                                               throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorInSamePlugin

public void testDynamicPluginModuleUsingModuleTypeDescriptorInSamePlugin()
                                                                  throws Exception
Throws:
Exception

testDynamicPluginModuleUsingModuleTypeDescriptorInSamePluginWithRestart

public void testDynamicPluginModuleUsingModuleTypeDescriptorInSamePluginWithRestart()
                                                                             throws Exception
Throws:
Exception

testDynamicModuleDescriptor

public void testDynamicModuleDescriptor()
                                 throws Exception
Throws:
Exception

testDynamicModuleDescriptorIsolatedToPlugin

public void testDynamicModuleDescriptorIsolatedToPlugin()
                                                 throws Exception
Throws:
Exception

testInstallUninstallInstallWithModuleTypePlugin

public void testInstallUninstallInstallWithModuleTypePlugin()
                                                     throws Exception
Throws:
Exception


Copyright © 2011 Atlassian. All Rights Reserved.