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 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 testBundleUpgradeDoesNotRefreshTwice()
           
 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
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, failNotEquals, failNotSame, failSame, format
 
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 java.lang.Exception
Throws:
java.lang.Exception

testUpgradeOfBadPlugin

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

testUpgradeWithNewComponentImports

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

testInstallWithClassConstructorReferencingHostClassWithHostComponent

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

testInstallWithClassSetterReferencingHostClassWithHostComponent

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

testUpgradeWithNoAutoDisable

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

testUpgradeTestingForCachedXml

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

testPluginDependentOnPackageImport

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

testBundleUpgradeDoesNotRefreshTwice

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

testPluginWithHostComponentUsingOldPackageImport

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

testPluginWithServletDependentOnPackageImport

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

testPluginWithServletRefreshedAfterOtherPluginUpgraded

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

testModuleDescriptorWithNamespace

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

testLotsOfHostComponents

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

testInstallWithManifestNoSpringContextAndComponents

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

testInstallWithManifestNoDescriptorWithSpringXml

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

testInstallWithManifestNoDescriptorWithSpringHeader

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

notTestInstallWithComponentBeanNameConflictedWithHostComponent

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

testInstallWithStrangePath

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

testInstallWithUnsatisifedDependency

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

testInstallSimplePluginNoSpring

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

testInstallSimplePluginWithNoManifest

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

testInstallPluginTakesTooLong

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

testInstallPluginVersion3

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


Copyright © 2013 Atlassian. All Rights Reserved.