it.com.atlassian.plugin.osgi
Class TestPluginInstall

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

public final class TestPluginInstall
extends PluginInContainerTestBase


Nested Class Summary
static class TestPluginInstall.Callable3Aware
           
 
Field Summary
 
Fields inherited from class com.atlassian.plugin.osgi.PluginInContainerTestBase
cacheDir, hostContainer, moduleDescriptorFactory, moduleFactory, osgiContainerManager, pluginEventManager, pluginManager, pluginsDir, tmpDir
 
Constructor Summary
TestPluginInstall()
           
 
Method Summary
 void notTestInstallWithComponentBeanNameConflictedWithHostComponent()
           
 void testInstallPluginTakesTooLong()
           
 void testInstallPluginVersion3()
           
 void testInstallSimplePluginNoSpring()
           
 void testInstallSimplePluginWithNoManifest()
           
 void testInstallWithClassConstructorReferencingHostClassWithHostComponent()
           
 void testInstallWithClassSetterReferencingHostClassWithHostComponent()
           
 void testInstallWithManifestNoDescriptorWithSpringHeader()
           
 void testInstallWithManifestNoDescriptorWithSpringXml()
           
 void testInstallWithManifestNoSpringContextAndComponents()
           
 void testInstallWithStrangePath()
           
 void testInstallWithUnsatisifedDependency()
           
 void testLotsOfHostComponents()
           
 void testModuleDescriptorWithNamespace()
           
 void testPluginDependentOnPackageImport()
           
 void testPluginWithHostComponentUsingOldPackageImport()
           
 void testPluginWithServletDependentOnPackageImport()
           
 void testPluginWithServletRefreshedAfterOtherPluginUpgraded()
           
 void testUpgradeOfBadPlugin()
           
 void testUpgradeOfBundledPlugin()
           
 void testUpgradeTestingForCachedXml()
           
 void testUpgradeWithNewComponentImports()
           
 void testUpgradeWithNoAutoDisable()
           
 
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

TestPluginInstall

public TestPluginInstall()
Method Detail

testUpgradeOfBundledPlugin

public void testUpgradeOfBundledPlugin()
                                throws Exception
Throws:
Exception

testUpgradeOfBadPlugin

public void testUpgradeOfBadPlugin()
                            throws Exception
Throws:
Exception

testUpgradeWithNewComponentImports

public void testUpgradeWithNewComponentImports()
                                        throws Exception
Throws:
Exception

testInstallWithClassConstructorReferencingHostClassWithHostComponent

public void testInstallWithClassConstructorReferencingHostClassWithHostComponent()
                                                                          throws Exception
Throws:
Exception

testInstallWithClassSetterReferencingHostClassWithHostComponent

public void testInstallWithClassSetterReferencingHostClassWithHostComponent()
                                                                     throws Exception
Throws:
Exception

testUpgradeWithNoAutoDisable

public void testUpgradeWithNoAutoDisable()
                                  throws Exception
Throws:
Exception

testUpgradeTestingForCachedXml

public void testUpgradeTestingForCachedXml()
                                    throws Exception
Throws:
Exception

testPluginDependentOnPackageImport

public void testPluginDependentOnPackageImport()
                                        throws Exception
Throws:
Exception

testPluginWithHostComponentUsingOldPackageImport

public void testPluginWithHostComponentUsingOldPackageImport()
                                                      throws Exception
Throws:
Exception

testPluginWithServletDependentOnPackageImport

public void testPluginWithServletDependentOnPackageImport()
                                                   throws Exception
Throws:
Exception

testPluginWithServletRefreshedAfterOtherPluginUpgraded

public void testPluginWithServletRefreshedAfterOtherPluginUpgraded()
                                                            throws Exception
Throws:
Exception

testModuleDescriptorWithNamespace

public void testModuleDescriptorWithNamespace()
                                       throws Exception
Throws:
Exception

testLotsOfHostComponents

public void testLotsOfHostComponents()
                              throws Exception
Throws:
Exception

testInstallWithManifestNoSpringContextAndComponents

public void testInstallWithManifestNoSpringContextAndComponents()
                                                         throws Exception
Throws:
Exception

testInstallWithManifestNoDescriptorWithSpringXml

public void testInstallWithManifestNoDescriptorWithSpringXml()
                                                      throws Exception
Throws:
Exception

testInstallWithManifestNoDescriptorWithSpringHeader

public void testInstallWithManifestNoDescriptorWithSpringHeader()
                                                         throws Exception
Throws:
Exception

notTestInstallWithComponentBeanNameConflictedWithHostComponent

public void notTestInstallWithComponentBeanNameConflictedWithHostComponent()
                                                                    throws Exception
Throws:
Exception

testInstallWithStrangePath

public void testInstallWithStrangePath()
                                throws Exception
Throws:
Exception

testInstallWithUnsatisifedDependency

public void testInstallWithUnsatisifedDependency()
                                          throws Exception
Throws:
Exception

testInstallSimplePluginNoSpring

public void testInstallSimplePluginNoSpring()
                                     throws Exception
Throws:
Exception

testInstallSimplePluginWithNoManifest

public void testInstallSimplePluginWithNoManifest()
                                           throws Exception
Throws:
Exception

testInstallPluginTakesTooLong

public void testInstallPluginTakesTooLong()
                                   throws Exception
Throws:
Exception

testInstallPluginVersion3

public void testInstallPluginVersion3()
                               throws Exception
Throws:
Exception


Copyright © 2014 Atlassian. All rights reserved.