Test

Summary

The following table provides a sumary of the test information.

Property KeyProperty Value
Target/Users/zoe/Workspaces/aries/ComplianceTests/ApacheAriesTests/jar/org.osgi.test.cases.jmx-4.2.0.jar
Frameworkorg.eclipse.osgi.launch.Equinox@fb6354
TestrunWed Sep 01 20:28:48 BST 2010
Bundles
org.eclipse.osgi3.5.0.v20090520
org.apache.felix.configadmin1.2.4
org.apache.aries.jmx0.2.0.incubating
org.knopflerfish.bundle.useradmin3.0.1
org.knopflerfish.log-API3.0.1
org.apache.felix.log1.0.0
osgi.cmpn4.2.0.200908310645
org.eclipse.equinox.ip1.1.100.v20100503
org.eclipse.equinox.util1.0.200.v20100503
org.apache.felix.http.bundle2.0.4
org.osgi.test.cases.jmx4.2.0.201004301238

Testcases

The following table shows the results of each test. A red icon indicates that the test failed or had an error. A green icon indicates success. Any errors or failure messages will be displayed as a list beneath the test name. To see the exception, click on the info icon on the right.

TestFailuresErrorInfo
testConfigurationGetBundleLocation
01
testConfigurationSetBundleLocation
01
testConfigurationUpdate
01
testConfigurationUpdateForLocation
01
testConfigurationGetProperties
01
testConfigurationGetPropertiesForLocation
01
testConfigurationDelete
01
testConfigurationDeleteForLocation
01
testDeleteConfigurationsFilter
01
testGetFactoryPid00
testGetFactoryPidForLocation00
testGetConfigurationsFilter
01
testCreateFactoryConfigurationForLocation
01
testCreateFactoryConfiguration
01
testExceptions00
testExceptions00
testGetDependencies00
testGetRequiringBundles00
testGetBundles00
testGetExportedPackages00
testGetImportedPackages00
testGetFragments00
testGetHeaders00
testGetRegisteredServices00
testGetServicesInUse00
testGetLocation00
testGetState00
testGetSymbolicName00
testGetVersion00
testIsFragment00
testIsRemovalPending00
testIsRequired00
testIsPersistentlyStarted00
testGetHosts00
testExceptions00
testGetServiceInterfaces00
testGetBundle00
testGetProperties00
testGetServices00
testGetUsingBundles00
testExceptions00
testGetInformation00
testAddInformation
01
testSetInformation
01
testAddInformationFromZip00
testShutdown
01
testRestart
01
testUpdate
01
testAll
01
testExceptions00
testListLocations00
testListDefaultPermissions00
testGetPermissions00
testSetPermissions00
testSetDefaultPermissions00
testSignature00
testExceptions00
testGetProperties00
testCreateUser00
testCreateGroup00
testAddRequiredMember00
testAddAndRemoveGroupMember00
testGetGroup00
testGetAuthorization00
testListGroups00
testGetImpliedRoles00
testGetMembers00
testGetRequiredMembers00
testGetUser00
testListUsers00
testRemoveRole00
testAddPropertyString00
testAddProperty00
testAddAndRemoveCredentialString00
testAddAndRemoveCredential00
testGetCredentials00
testGetRole00
testGetRoleFilter00
testGetUserFilter00
testGetGroupFilter00
testGetUserWithProperty00
testListRoles00
testRemoveGroup00
testRemoveUser00
testRemoveProperty00
testExceptions00
testFrameworkMBeanExists00
testFrameworkStartLevel00
testBundleStartLevel00
testBundleInstallFromURL00
testBundleUpdateFromURL00
testBundleResolve00
testBundleStartStop00
testBundleRefresh00
testItem00
testItemArrayType00
testItemCompositeType00
testItemExtend00
testItemTabularType00
testItemComplex00
testBundleInstallAndUpdate00
testBundlesInstallAndUpdate00
testExceptions00
testIsRemovalPending00
testGetExportingBundle00
testGetImportingBundles00
testGetPackages00
testMBeanServerExistence00

Coverage

The following table provides a sumary of the coverage based on static analysis. A red icon indicates the method is never referred. An orange icon indicates there is only one method referring to the method and a green icon indicates there are 2 or more references. The references are shown by clicking on the info icon. This table is based on static analysis so it is not possible to see how often the method is called and with what parameters.

org.osgi.jmx.Item
Item(String,String,OpenType,String[]) 10
ArrayType Item.arrayType(int,OpenType) 2
CompositeType Item.compositeType(String,String,Item[]) 5
CompositeType Item.extend(CompositeType,String,String,Item[]) 2
TabularType Item.tabularType(String,String,CompositeType,String[]) 2
org.osgi.jmx.framework.BundleStateMBean
String[] BundleStateMBean.getExportedPackages(long) 3
long[] BundleStateMBean.getFragments(long) 4
TabularData BundleStateMBean.getHeaders(long) 3
long[] BundleStateMBean.getHosts(long) 4
String[] BundleStateMBean.getImportedPackages(long) 3
long BundleStateMBean.getLastModified(long) 14
String BundleStateMBean.getLocation(long) 3
long[] BundleStateMBean.getRegisteredServices(long) 4
long[] BundleStateMBean.getRequiredBundles(long) 4
long[] BundleStateMBean.getRequiringBundles(long) 3
long[] BundleStateMBean.getServicesInUse(long) 3
int BundleStateMBean.getStartLevel(long) 8
String BundleStateMBean.getState(long) 6
String BundleStateMBean.getSymbolicName(long) 3
String BundleStateMBean.getVersion(long) 3
boolean BundleStateMBean.isFragment(long) 3
boolean BundleStateMBean.isPersistentlyStarted(long) 3
boolean BundleStateMBean.isRemovalPending(long) 3
boolean BundleStateMBean.isRequired(long) 3
TabularData BundleStateMBean.listBundles() 3
org.osgi.jmx.framework.FrameworkMBean
int FrameworkMBean.getFrameworkStartLevel() 2
int FrameworkMBean.getInitialBundleStartLevel() 3
long FrameworkMBean.installBundle(String) 4
long FrameworkMBean.installBundleFromURL(String,String) 22
CompositeData FrameworkMBean.installBundles(String[]) 7
CompositeData FrameworkMBean.installBundlesFromURL(String[],String[]) 7
void FrameworkMBean.refreshBundle(long) 4
void FrameworkMBean.refreshBundles(long[]) 4
boolean FrameworkMBean.resolveBundle(long) 3
boolean FrameworkMBean.resolveBundles(long[]) 4
void FrameworkMBean.restartFramework() 2
void FrameworkMBean.setBundleStartLevel(long,int) 6
CompositeData FrameworkMBean.setBundleStartLevels(long[],int[]) 7
void FrameworkMBean.setFrameworkStartLevel(int) 4
void FrameworkMBean.setInitialBundleStartLevel(int) 2
void FrameworkMBean.shutdownFramework() 2
void FrameworkMBean.startBundle(long) 10
CompositeData FrameworkMBean.startBundles(long[]) 4
void FrameworkMBean.stopBundle(long) 4
CompositeData FrameworkMBean.stopBundles(long[]) 4
void FrameworkMBean.uninstallBundle(long) 52
CompositeData FrameworkMBean.uninstallBundles(long[]) 4
void FrameworkMBean.updateBundle(long) 3
void FrameworkMBean.updateBundleFromURL(long,String) 4
CompositeData FrameworkMBean.updateBundles(long[]) 4
CompositeData FrameworkMBean.updateBundlesFromURL(long[],String[]) 3
void FrameworkMBean.updateFramework() 2
org.osgi.jmx.framework.PackageStateMBean
long[] PackageStateMBean.getExportingBundles(String,String) 4
long[] PackageStateMBean.getImportingBundles(String,String,long) 3
boolean PackageStateMBean.isRemovalPending(String,String,long) 3
TabularData PackageStateMBean.listPackages() 2
org.osgi.jmx.framework.ServiceStateMBean
long ServiceStateMBean.getBundleIdentifier(long) 3
String[] ServiceStateMBean.getObjectClass(long) 3
TabularData ServiceStateMBean.getProperties(long) 3
long[] ServiceStateMBean.getUsingBundles(long) 3
TabularData ServiceStateMBean.listServices() 2
org.osgi.jmx.service.cm.ConfigurationAdminMBean
String ConfigurationAdminMBean.createFactoryConfiguration(String) 4
String ConfigurationAdminMBean.createFactoryConfigurationForLocation(String,String) 4
void ConfigurationAdminMBean.delete(String) 4
void ConfigurationAdminMBean.deleteConfigurations(String) 4
void ConfigurationAdminMBean.deleteForLocation(String,String) 4
String ConfigurationAdminMBean.getBundleLocation(String) 5
String[] ConfigurationAdminMBean.getConfigurations(String) 4
String ConfigurationAdminMBean.getFactoryPid(String) 5
String ConfigurationAdminMBean.getFactoryPidForLocation(String,String) 6
TabularData ConfigurationAdminMBean.getProperties(String) 11
TabularData ConfigurationAdminMBean.getPropertiesForLocation(String,String) 5
void ConfigurationAdminMBean.setBundleLocation(String,String) 4
void ConfigurationAdminMBean.update(String,TabularData) 6
void ConfigurationAdminMBean.updateForLocation(String,String,TabularData) 12
org.osgi.jmx.service.permissionadmin.PermissionAdminMBean
String[] PermissionAdminMBean.getPermissions(String) 5
String[] PermissionAdminMBean.listDefaultPermissions() 3
String[] PermissionAdminMBean.listLocations() 2
void PermissionAdminMBean.setDefaultPermissions(String[]) 6
void PermissionAdminMBean.setPermissions(String,String[]) 8
org.osgi.jmx.service.provisioning.ProvisioningServiceMBean
void ProvisioningServiceMBean.addInformation(TabularData) 3
void ProvisioningServiceMBean.addInformationFromZip(String) 4
TabularData ProvisioningServiceMBean.listInformation() 7
void ProvisioningServiceMBean.setInformation(TabularData) 2
org.osgi.jmx.service.useradmin.UserAdminMBean
void UserAdminMBean.addCredential(String,byte[],String) 4
void UserAdminMBean.addCredentialString(String,String,String) 5
boolean UserAdminMBean.addMember(String,String) 7
void UserAdminMBean.addProperty(String,byte[],String) 4
void UserAdminMBean.addPropertyString(String,String,String) 10
boolean UserAdminMBean.addRequiredMember(String,String) 6
void UserAdminMBean.createGroup(String) 14
void UserAdminMBean.createRole(String)0
void UserAdminMBean.createUser(String) 33
CompositeData UserAdminMBean.getAuthorization(String) 5
TabularData UserAdminMBean.getCredentials(String) 8
CompositeData UserAdminMBean.getGroup(String) 9
String[] UserAdminMBean.getGroups(String) 4
String[] UserAdminMBean.getImpliedRoles(String) 5
String[] UserAdminMBean.getMembers(String) 4
TabularData UserAdminMBean.getProperties(String) 11
String[] UserAdminMBean.getRequiredMembers(String) 5
CompositeData UserAdminMBean.getRole(String) 4
String[] UserAdminMBean.getRoles(String) 4
CompositeData UserAdminMBean.getUser(String) 8
String UserAdminMBean.getUserWithProperty(String,String) 4
String[] UserAdminMBean.getUsers(String) 4
String[] UserAdminMBean.listGroups() 2
String[] UserAdminMBean.listRoles() 2
String[] UserAdminMBean.listUsers() 8
void UserAdminMBean.removeCredential(String,String) 5
boolean UserAdminMBean.removeGroup(String) 4
boolean UserAdminMBean.removeMember(String,String) 5
void UserAdminMBean.removeProperty(String,String) 4
boolean UserAdminMBean.removeRole(String) 5
boolean UserAdminMBean.removeUser(String) 4