com.atlassian.plugin.osgi
Class TestPluginModuleCreation

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.TestPluginModuleCreation
All Implemented Interfaces:
junit.framework.Test

public class TestPluginModuleCreation
extends PluginInContainerTestBase

Tests around the creation of the module class of ModuleDescriptor


Field Summary
 
Fields inherited from class com.atlassian.plugin.osgi.PluginInContainerTestBase
cacheDir, hostContainer, moduleDescriptorFactory, moduleFactory, osgiContainerManager, pluginEventManager, pluginManager, pluginsDir, tmpDir
 
Constructor Summary
TestPluginModuleCreation()
           
 
Method Summary
 void testFailToGetModuleClassFromSpring()
           
 void testGetModuleClassFromComponentImportModuleDescriptor()
           
 void testGetModuleClassFromComponentModuleDescriptor()
           
 void testInstallPlugin2AndGetModuleClass()
           
 void testInstallPlugins1AndFailToGetModuleClassFromSpring()
           
 void testInstallPlugins1AndGetModuleClass()
           
 void testInstallPlugins2AndGetModuleClassFromSpring()
           
 
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPluginModuleCreation

public TestPluginModuleCreation()
Method Detail

testInstallPlugin2AndGetModuleClass

public void testInstallPlugin2AndGetModuleClass()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testInstallPlugins1AndGetModuleClass

public void testInstallPlugins1AndGetModuleClass()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testInstallPlugins1AndFailToGetModuleClassFromSpring

public void testInstallPlugins1AndFailToGetModuleClassFromSpring()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testInstallPlugins2AndGetModuleClassFromSpring

public void testInstallPlugins2AndGetModuleClassFromSpring()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testGetModuleClassFromComponentModuleDescriptor

public void testGetModuleClassFromComponentModuleDescriptor()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetModuleClassFromComponentImportModuleDescriptor

public void testGetModuleClassFromComponentImportModuleDescriptor()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testFailToGetModuleClassFromSpring

public void testFailToGetModuleClassFromSpring()
                                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 Atlassian. All Rights Reserved.