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 com.atlassian.plugin.osgi.TestPluginInstall
All Implemented Interfaces:
junit.framework.Test

public 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 testDeleteTimeoutFileWhenNoSystemPropertySpecified()
           
 void testInstallPluginTakesTooLong()
           
 void testInstallSimplePluginNoSpring()
           
 void testInstallSimplePluginWithNoManifest()
           
 void testInstallWithClassConstructorReferencingHostClassWithHostComponent()
           
 void testInstallWithClassSetterReferencingHostClassWithHostComponent()
           
 void testInstallWithComponentBeanNameConflictedWithHostComponent()
           
 void testInstallWithManifestNoSpringContextAndComponents()
           
 void testInstallWithStrangePath()
           
 void testInstallWithUnsatisifedDependency()
           
 void testLotsOfHostComponents()
           
 void testPersistTimeoutSystemProperty()
           
 void testPersistTimeoutSystemPropertyUpdateExistingTimeout()
           
 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
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

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

testLotsOfHostComponents

public void testLotsOfHostComponents()
                              throws Exception
Throws:
Exception

testInstallWithManifestNoSpringContextAndComponents

public void testInstallWithManifestNoSpringContextAndComponents()
                                                         throws Exception
Throws:
Exception

testInstallWithComponentBeanNameConflictedWithHostComponent

public void testInstallWithComponentBeanNameConflictedWithHostComponent()
                                                                 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

testPersistTimeoutSystemProperty

public void testPersistTimeoutSystemProperty()
                                      throws Exception
Throws:
Exception

testDeleteTimeoutFileWhenNoSystemPropertySpecified

public void testDeleteTimeoutFileWhenNoSystemPropertySpecified()
                                                        throws Exception
Throws:
Exception

testPersistTimeoutSystemPropertyUpdateExistingTimeout

public void testPersistTimeoutSystemPropertyUpdateExistingTimeout()
                                                           throws Exception
Throws:
Exception


Copyright © 2010 Atlassian. All Rights Reserved.