Summary

Tests Errors Failures Skipped Success Rate Time
116 0 0 0 100% 86.503

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
com.atlassian.plugin.osgi.container.felix 12 0 0 0 100% 1.333
com.atlassian.plugin.osgi 30 0 0 0 100% 82.008
com.atlassian.plugin.osgi.factory.transform.model 2 0 0 0 100% 0.007
com.atlassian.plugin.osgi.hostcomponents.impl 5 0 0 0 100% 0.005
com.atlassian.plugin.osgi.factory.transform.stage 36 0 0 0 100% 1.479
com.atlassian.plugin.osgi.factory.transform 3 0 0 0 100% 0.725
com.atlassian.plugin.osgi.util 3 0 0 0 100% 0.013
com.atlassian.plugin.osgi.factory 22 0 0 0 100% 0.925
com.atlassian.plugin.osgi.container 3 0 0 0 100% 0.008

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.atlassian.plugin.osgi.container.felix

Class Tests Errors Failures Skipped Success Rate Time
TestFelixOsgiContainerManager 6 0 0 0 100% 1.047
TestExportsBuilder 6 0 0 0 100% 0.286

com.atlassian.plugin.osgi

Class Tests Errors Failures Skipped Success Rate Time
TestShutdown 1 0 0 0 100% 1.829
TestContextClassLoader 4 0 0 0 100% 10.275
TestDynamicPluginModule 8 0 0 0 100% 21.418
TestEnableDisablePlugin 4 0 0 0 100% 13.16
TestPluginInstall$ObjectModuleDescriptor 0 0 0 0 0% 0.001
TestPluginInstall 13 0 0 0 100% 35.325

com.atlassian.plugin.osgi.factory.transform.model

Class Tests Errors Failures Skipped Success Rate Time
TestSystemExports 1 0 0 0 100% 0.002
TestComponentImport 1 0 0 0 100% 0.005

com.atlassian.plugin.osgi.hostcomponents.impl

Class Tests Errors Failures Skipped Success Rate Time
TestDefaultComponentRegistrar 5 0 0 0 100% 0.005

com.atlassian.plugin.osgi.factory.transform.stage

Class Tests Errors Failures Skipped Success Rate Time
TestHostComponentSpringStage 10 0 0 0 100% 0.185
TestAddBundleOverridesStage 1 0 0 0 100% 0.006
TestModuleTypeSpringStage 4 0 0 0 100% 0.148
TestComponentImportSpringStage 3 0 0 0 100% 0.037
TestGenerateManifestStage 10 0 0 0 100% 0.179
TestScanDescriptorForHostClassesStage 3 0 0 0 100% 0.018
TestComponentSpringStage 5 0 0 0 100% 0.906

com.atlassian.plugin.osgi.factory.transform

Class Tests Errors Failures Skipped Success Rate Time
TestDefaultPluginTransformer 3 0 0 0 100% 0.725

com.atlassian.plugin.osgi.util

Class Tests Errors Failures Skipped Success Rate Time
TestOsgiHeaderUtil 3 0 0 0 100% 0.013

com.atlassian.plugin.osgi.factory

Class Tests Errors Failures Skipped Success Rate Time
TestOsgiPluginXmlDescriptorParser 2 0 0 0 100% 0.131
TestOsgiPlugin 5 0 0 0 100% 0.032
TestOsgiBundleFactory 5 0 0 0 100% 0.014
TestOsgiPluginUninstalledHelper 3 0 0 0 100% 0.028
TestOsgiPluginInstalledHelper 3 0 0 0 100% 0.527
TestOsgiPluginInstalledHelper$ChildBean 0 0 0 0 0% 0
TestOsgiPluginInstalledHelper$SetterInjectedBean 0 0 0 0 0% 0.001
TestOsgiPluginFactory 3 0 0 0 100% 0.188
TestBundleClassLoaderAccessor 1 0 0 0 100% 0.002
TestOsgiPlugin$StaticModuleDescriptor 0 0 0 0 0% 0.002

com.atlassian.plugin.osgi.container

Class Tests Errors Failures Skipped Success Rate Time
TestDefaultOsgiPersistentCache 3 0 0 0 100% 0.008

Test Cases

TestOsgiPluginXmlDescriptorParser

testCreateModuleDescriptor 0.13
testFoo 0

TestShutdown

testShutdown 1.827

TestOsgiPlugin

testEnabled 0.017
testDisabled 0.004
testDisabledOnNonDynamicPlugin 0.004
testUninstall 0.002
testShouldHaveSpringContext 0.004

TestOsgiBundleFactory

testCanDeployNonJar 0
testCanDeploy 0.001
testCanDeployNoBundle 0.002
testDeploy 0.002
testDeployFail 0.005

TestContextClassLoader

testCorrectContextClassLoaderForHostComponentsUsePluginStrategy 3.586
testCorrectContextClassLoaderForHostComponentsUsePluginStrategyLoadingLocalClass 2.361
testCorrectContextClassLoaderForHostComponents 2.259
testCorrectContextClassLoaderForHostComponentsUseHostStrategy 2.063

TestHostComponentSpringStage

testTransform 0.014
testTransformWithExistingComponentImportInterfacePartialMatch 0.019
testTransformMatchInInnerJar 0.024
testTransformWithProperNestedInferredImports 0.018
testTransformWithProperNestedVersionedInferredImports 0.017
testTransformWithInferredImportsOfSuperInterfaces 0.02
testTransformNoMatches 0.014
testTransformWithPoundSign 0.013
testTransformWithExistingComponentImportName 0.022
testTransformWithExistingComponentImportInterface 0.018

TestDynamicPluginModule

testDynamicPluginModuleUsingModuleTypeDescriptorAndComponentInjection 2.853
testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFact 3.846
testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFactWithException 2.791
testDynamicPluginModuleUsingModuleTypeDescriptorInSamePlugin 1.76
testDynamicPluginModuleUsingModuleTypeDescriptor 2.834
testDynamicPluginModule 2.794
testDynamicModuleDescriptor 1.744
testDynamicModuleDescriptorIsolatedToPlugin 2.792

TestAddBundleOverridesStage

testTransform 0.005

TestModuleTypeSpringStage

testTransform 0.022
testTransformForOneApp 0.066
testTransformOfBadElement 0.007
testTransformOfBadElementKey 0.006

TestFelixOsgiContainerManager

testDeleteDirectory 0.003
testStartStop 0.08
testInstallBundle 0.249
testBootDelegation 0.52
testInstallBundleTwice 0.109
testInstallFailure 0.083

TestOsgiPluginUninstalledHelper

testInstall 0.02
testInstallDifferentSymbolicName 0.003
testInstallDifferentSymbolicNameButAltassianKeyFound 0.003

TestOsgiHeaderUtil

testFindReferredPackages 0.007
testGetPluginKeyBundle 0.004
testGetPluginKeyManifest 0

TestComponentImportSpringStage

testTransform 0.016
testTransformForOneApp 0.014
testTransformImportEvenUnusedPackages 0.005

TestDefaultOsgiPersistentCache

testRecordLastVersion 0.001
testCleanOnUpgrade 0.003
testNullVersion 0.001

TestGenerateManifestStage

testGenerateManifest 0.038
testGenerateManifestWithProperInferredImports 0.014
testGenerateManifestMergeHostComponentImportsWithExisting 0.011
testGenerateManifestNoSpring 0.006
testGenerateManifestWarnNoSpringWithExisting 0.028
testGenerateManifestWarnNoTimeout 0.013
testGenerateManifest_innerjars 0.017
testGenerateManifest_innerjarsInImports 0.019
testGenerateManifestWithBundleInstructions 0.016
testGenerateManifestWithHostAndExternalImports 0.012

TestOsgiPluginInstalledHelper

testAutowireObject 0.517
testAutowireNoSpring 0.003
testAutowireNoSpringButThereShouldBe 0.002

TestDefaultComponentRegistrar

testRegister 0
testRegisterMultiple 0
testRegisterOnlyInterfaces 0
testWriteRegistry 0.002
testWriteRegistryGenBeanName 0

TestEnableDisablePlugin

testEnableDisableEnable 2.804
testEnableEnablesDependentPlugins 3.807
testEnableEnablesDependentPluginsWithBundles 2.783
testDisableDoesNotKillLongRunningOperation 3.763

TestExportsBuilder

testDetermineExports 0.051
testConstructAutoExports 0.001
testDetermineExportsIncludeServiceInterfaces 0.097
testConstructJdkExports 0.001
testConstructJdkExportsWithJdk5And6 0.099
testGenerateExports 0.035

TestScanDescriptorForHostClassesStage

testTransform 0.005
testTransformButPackageInPlugin 0.006
testTransformIgnoreUnknown 0.005

TestOsgiPluginInstalledHelper$ChildBean

TestPluginInstall$ObjectModuleDescriptor

TestPluginInstall

testPluginWithServletRefreshedAfterOtherPluginUpgraded 2.042
testLotsOfHostComponents 1.839
testUpgradeWithNewComponentImplementationWithInterfaceInPlugin 4.069
testUpgradeWithNewComponentImplementation 3.975
testInstallWithStrangePath 1.758
testUpgradeWithNoAutoDisable 2.862
testUpgradeOfBundledPlugin 2.84
testUpgradeWithNewComponentImports 2.815
testUpgradeWithRefreshingAffectingOtherPlugins 4.938
testUpgradeTestingForCachedXml 2.812
testPluginDependentOnPackageImport 1.763
testPluginWithHostComponentUsingOldPackageImport 1.825
testPluginWithServletDependentOnPackageImport 1.776

TestOsgiPluginInstalledHelper$SetterInjectedBean

TestSystemExports

testExportPackageWithVersion 0.001

TestOsgiPluginFactory

testCreateOsgiPlugin 0.173
testCanLoadWithXml 0.009
testCanLoadNoXml 0.005

TestComponentSpringStage

testTransform 0.79
testTransformForOneApp 0.036
testExportsAdded 0.033
testExportsNotInJar 0.008
testExportsExist 0.012

TestBundleClassLoaderAccessor

testGetResourceAsStream 0.001

TestOsgiPlugin$StaticModuleDescriptor

TestDefaultPluginTransformer

testTransform 0.705
testAddFilesToZip 0.014
testGenerateCacheName 0.002

TestComponentImport

testValidate 0.004