Summary

Tests Errors Failures Skipped Success Rate Time
88 0 0 0 100% 100.047

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 13 0 0 0 100% 1.015
com.atlassian.plugin.osgi 24 0 0 0 100% 96.769
com.atlassian.plugin.osgi.factory.transform.model 1 0 0 0 100% 0.001
com.atlassian.plugin.osgi.hostcomponents.impl 4 0 0 0 100% 0.005
com.atlassian.plugin.osgi.factory.transform.stage 25 0 0 0 100% 1.333
com.atlassian.plugin.osgi.factory.transform 2 0 0 0 100% 0.497
com.atlassian.plugin.osgi.util 1 0 0 0 100% 0.004
com.atlassian.plugin.osgi.factory 18 0 0 0 100% 0.423

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% 0.562
TestExportsBuilder 7 0 0 0 100% 0.453

com.atlassian.plugin.osgi

Class Tests Errors Failures Skipped Success Rate Time
ContextClassLoaderTest 4 0 0 0 100% 10.437
PluginInstallTest 18 0 0 0 100% 74.281
EnableDisablePluginTest 1 0 0 0 100% 6.991
ShutdownTest 1 0 0 0 100% 5.06

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

Class Tests Errors Failures Skipped Success Rate Time
TestSystemExports 1 0 0 0 100% 0.001

com.atlassian.plugin.osgi.hostcomponents.impl

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

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

Class Tests Errors Failures Skipped Success Rate Time
TestHostComponentSpringStage 11 0 0 0 100% 0.223
TestAddBundleOverridesStage 1 0 0 0 100% 0.006
TestModuleTypeSpringStage 1 0 0 0 100% 0.011
TestComponentImportSpringStage 2 0 0 0 100% 0.878
TestGenerateManifestStage 6 0 0 0 100% 0.129
TestComponentSpringStage 4 0 0 0 100% 0.086

com.atlassian.plugin.osgi.factory.transform

Class Tests Errors Failures Skipped Success Rate Time
TestDefaultPluginTransformer 2 0 0 0 100% 0.497

com.atlassian.plugin.osgi.util

Class Tests Errors Failures Skipped Success Rate Time
TestOsgiHeaderUtil 1 0 0 0 100% 0.004

com.atlassian.plugin.osgi.factory

Class Tests Errors Failures Skipped Success Rate Time
TestOsgiPluginXmlDescriptorParser 1 0 0 0 100% 0.027
TestOsgiPlugin 7 0 0 0 100% 0.312
TestOsgiPlugin$ChildBean 0 0 0 0 0% 0
TestOsgiBundleDeployer 5 0 0 0 100% 0.025
TestOsgiPlugin$SetterInjectedBean 0 0 0 0 0% 0.001
TestOsgiPluginFactory 4 0 0 0 100% 0.055
TestBundleClassLoaderAccessor 1 0 0 0 100% 0.003

Test Cases

TestOsgiPluginXmlDescriptorParser

testCreateModuleDescriptor 0.026

TestOsgiPlugin

testEnabled 0.111
testDisabled 0.001
testClose 0.007
testSetKey 0.001
testSetKeyWithMismatchedName 0.001
testisEnabled 0.001
testAutowireObject 0.183

TestOsgiPlugin$ChildBean

TestHostComponentSpringStage

testTransform 0.014
testTransformWithExistingComponentImportInterface 0.018
testTransformWithExistingComponentImportInterfacePartialMatch 0.018
testTransformNoMatches 0.018
testTransformWithProperNestedInferredImports 0.021
testTransformWithProperNestedVersionedInferredImports 0.036
testTransformWithInferredImportsOfSuperInterfaces 0.021
testTransformWithNoBeanName 0.015
testTransformWithPoundSign 0.014
testTransformMatchInInnerJar 0.023
testTransformWithExistingComponentImportName 0.018

TestAddBundleOverridesStage

testTransform 0.005

TestModuleTypeSpringStage

testTransform 0.01

ContextClassLoaderTest

testCorrectContextClassLoaderForHostComponents 3.357
testCorrectContextClassLoaderForHostComponentsUsePluginStrategy 2.981
testCorrectContextClassLoaderForHostComponentsUsePluginStrategyLoadingLocalClass 2.016
testCorrectContextClassLoaderForHostComponentsUseHostStrategy 2.078

TestFelixOsgiContainerManager

testDeleteDirectory 0.002
testStartStop 0.08
testInstallBundle 0.08
testBootDelegation 0.199
testInstallBundleTwice 0.093
testInstallFailure 0.106

TestOsgiBundleDeployer

testCanDeploy 0.005
testCanDeployNoBundle 0.003
testCanDeployNonJar 0.001
testDeploy 0.007
testDeployFail 0.007

TestOsgiPlugin$SetterInjectedBean

TestOsgiHeaderUtil

testFindReferredPackages 0.002

TestComponentImportSpringStage

testTransform 0.812
testTransformImportEvenUnusedPackages 0.008

TestGenerateManifestStage

testGenerateManifest 0.02
testGenerateManifestWithProperInferredImports 0.022
testGenerateManifestMergeHostComponentImportsWithExisting 0.015
testGenerateManifest_innerjars 0.022
testGenerateManifest_innerjarsInImports 0.025
testGenerateManifestWithBundleInstructions 0.021

PluginInstallTest

testUpgradeWithNewComponentImports 3.129
testUpgradeWithNoAutoDisable 2.94
testUpgradeWithNewComponentImplementation 4.334
testUpgradeWithNewComponentImplementationWithInterfaceInPlugin 3.95
testUpgradeWithRefreshingAffectingOtherPlugins 4.995
testUpgradeTestingForCachedXml 2.825
testDynamicPluginModule 2.859
testDynamicPluginModuleUsingModuleTypeDescriptor 7.907
testDynamicPluginModuleUsingModuleTypeDescriptorAfterTheFact 13.946
testDynamicPluginModuleUsingModuleTypeDescriptorInSamePlugin 6.766
testDynamicModuleDescriptor 1.763
testDynamicModuleDescriptorIsolatedToPlugin 2.796
testPluginDependentOnPackageImporttestPluginWithHostComponentUsingOldPackageImport 1.881
testPluginWithHostComponentUsingOldPackageImport 1.874
testPluginWithServletDependentOnPackageImport 1.825
testPluginWithServletRefreshedAfterOtherPluginUpgraded 6.916
testLotsOfHostComponents 1.809
testInstallWithStrangePath 1.752

TestDefaultComponentRegistrar

testRegister 0
testRegisterMultiple 0
testRegisterOnlyInterfaces 0
testWriteRegistry 0.002

TestExportsBuilder

testDetermineExports 0.064
testDetermineExportsUseCache 0.149
testConstructAutoExports 0.001
testDetermineExportsIncludeServiceInterfaces 0.073
testConstructJdkExports 0.001
testConstructJdkExportsWithJdk5And6 0.126
testGenerateExports 0.035

EnableDisablePluginTest

testEnableDisableEnable 6.989

TestSystemExports

testExportPackageWithVersion 0

ShutdownTest

testShutdown 5.059

TestOsgiPluginFactory

testCreateOsgiPlugin 0.019
testCreateOsgiPluginFail 0.019
testCanLoadWithXml 0.008
testCanLoadNoXml 0.005

TestComponentSpringStage

testTransform 0.042
testExportsAdded 0.03
testExportsNotInJar 0.005
testExportsExist 0.006

TestBundleClassLoaderAccessor

testGetResourceAsStream 0.002

TestDefaultPluginTransformer

testTransform 0.482
testAddFilesToZip 0.014