Summary

Tests Errors Failures Skipped Success Rate Time
47 0 0 0 100% 13.515

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 7 0 0 0 100% 0.529
com.atlassian.plugin.osgi 5 0 0 0 100% 11.874
com.atlassian.plugin.osgi.hostcomponents.impl 4 0 0 0 100% 0.009
com.atlassian.plugin.osgi.util 4 0 0 0 100% 0.189
com.atlassian.plugin.osgi.factory.transform 12 0 0 0 100% 0.717
com.atlassian.plugin.osgi.factory 15 0 0 0 100% 0.197

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 7 0 0 0 100% 0.529

com.atlassian.plugin.osgi

Class Tests Errors Failures Skipped Success Rate Time
ContextClassLoaderTest 4 0 0 0 100% 7.221
EnableDisablePluginTest 1 0 0 0 100% 4.653

com.atlassian.plugin.osgi.hostcomponents.impl

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

com.atlassian.plugin.osgi.util

Class Tests Errors Failures Skipped Success Rate Time
TestOsgiHeaderUtil 4 0 0 0 100% 0.189

com.atlassian.plugin.osgi.factory.transform

Class Tests Errors Failures Skipped Success Rate Time
TestDefaultPluginTransformer 12 0 0 0 100% 0.717

com.atlassian.plugin.osgi.factory

Class Tests Errors Failures Skipped Success Rate Time
TestBundleClassLoaderAccessor 1 0 0 0 100% 0.001
TestFilteringXmlDescriptorParser 1 0 0 0 100% 0.009
TestOsgiBundleDeployer 5 0 0 0 100% 0.017
TestOsgiPlugin 4 0 0 0 100% 0.118
TestOsgiPluginDeployer 4 0 0 0 100% 0.052

Test Cases

TestFelixOsgiContainerManager

testDeleteDirectory 0.002
testInitialiseCacheDirectory 0.016
testStartStop 0.068
testInstallBundle 0.079
testBootDelegation 0.19
testInstallBundleTwice 0.092
testInstallFailure 0.079

ContextClassLoaderTest

testCorrectContextClassLoaderForHostComponents 2.157
testCorrectContextClassLoaderForHostComponentsUsePluginStrategy 1.739
testCorrectContextClassLoaderForHostComponentsUsePluginStrategyLoadingLocalClass 1.666
testCorrectContextClassLoaderForHostComponentsUseHostStrategy 1.654

EnableDisablePluginTest

testEnableDisableEnable 4.652

TestBundleClassLoaderAccessor

testGetResourceAsStream 0.001

TestFilteringXmlDescriptorParser

testCreateModuleDescriptor 0.008

TestOsgiBundleDeployer

testCanDeploy 0.004
testCanDeployNoBundle 0.001
testCanDeployNonJar 0
testDeploy 0.003
testDeployFail 0.005

TestOsgiPlugin

testEnabled 0.098
testDisabled 0.001
testClose 0
testisEnabled 0

TestOsgiPluginDeployer

testCreateOsgiPlugin 0.02
testCreateOsgiPluginFail 0.02
testCanLoadWithXml 0.006
testCanLoadNoXml 0.005

TestDefaultPluginTransformer

testGenerateManifest 0.251
testGenerateManifestWithProperInferredImports 0.054
testGenerateManifestWithProperNestedInferredImports 0.027
testGenerateManifestWithInferredImportsOfSuperInterfaces 0.027
testGenerateManifestMergeHostComponentImportsWithExisting 0.013
testGenerateManifest_innerjars 0.025
testGenerateManifest_innerjarsInImports 0.244
testAddFilesToZip 0.008
testGenerateSpringXml 0.017
testGenerateSpringXml_imports 0.003
testGenerateSpringXml_hostComponents 0.01
testTransform 0.027

TestDefaultComponentRegistrar

testRegister 0.001
testRegisterMultiple 0
testRegisterOnlyInterfaces 0
testWriteRegistry 0.006

TestOsgiHeaderUtil

testDetermineExports 0.128
testConstructAutoExports 0
testDetermineExportsIncludeServiceInterfaces 0.057
testConstructJdkExports 0