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.jndi-4.2.0.jar
Frameworkorg.eclipse.osgi.launch.Equinox@11ca803
TestrunWed Sep 01 20:30:52 BST 2010
Bundles
org.eclipse.osgi3.5.0.v20090520
org.apache.aries.util0.2.0.incubating
org.apache.aries.jndi0.2.0.incubating
org.osgi.test.cases.jndi4.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
testReferenceableLookup00
testReferenceableLookupWithAttributes00
testReferenceLookup00
testReferenceLookupWithAttributes00
testReferenceLookupWithNoFactory00
testReferenceLookupWithNoFactoryAndAttributes00
testReferenceLookupWithBuilder00
testReferenceLookupWithBuilderAndAttributes00
testReferenceLookupWithBuilderAndNoFactory00
testReferenceLookupWithBuilderAndNoFactoryAndAttributes00
testObjectFactoryRemoval00
testObjectFactoryBuilderRemoval00
testLookupOfJREProvidedContexts00
testLookupWithSpecificInitialContextFactory00
testLookupWithSpecificInitialDirContextFactory00
testDefaultLookupWithInitialContextFactory00
testDefaultLookupWithInitialDirContextFactory00
testLookupWithInitialContextFactoryBuilder00
testLookupWithInitialDirContextFactoryBuilder00
testDefaultLookupWithInitialContextFactoryBuilder00
testDefaultLookupWithInitialDirContextFactoryBuilder00
testLookupWithJndiPropertiesFile00
testLookupWithNoMatchingContext00
testDefaultLookupWithNoMatchingContext00
testInitialContextFactoryBuilderExceptionHandling00
testProviderUnregistration00
testProviderUnregistrationWithBuilder00
testContextRebinding00
testUngetContextManager00
testServiceRanking
01
testServiceRankingOnContextCreation00
testServiceRanking
01
testServiceRankingOnContextCreation00
testSpecificInitialContextFactory00
testSpecificInitialDirContextFactory00
testUnspecifiedInitialContextFactory00
testUnspecifiedInitialDirContextFactory00
testInitialContextFactoryBuilderWithFactory00
testInitialDirContextFactoryBuilderWithFactory00
testInitialContextFactoryBuilderWithNoFactory00
testInitialDirContextFactoryBuilderWithNoFactory00
testInitialContextFactoryFromPropertiesFile00
testInitialContextFactoryRemoval00
testInitialContextFactoryBuilderRemoval00
testNoInitialContextFound00
testURLContextFactoryRegistration00
testURLContextFactoryRemoval00
testGetObjectInstanceWithReferenceable00
testGetObjectInstanceWithReferencableAndAttributes00
testGetObjectInstanceWithNoReference00
testGetObjectInstanceWithNoReferenceAndAttributes00
testGetObjectInstanceWithFactoryName00
testGetObjectInstanceWithFactoryNameAndAttributes00
testGetObjectInstanceWithNoFactoryName00
testGetObjectInstanceWithNoFactoryNameAndAttributes00
testGetObjectInstanceWithNoFactoryNameAndURL00
testGetObjectInstanceWithBuilder00
testGetObjectInstanceWithBuilderAndAttributes00
testGetObjectInstanceWithMissingFactory00
testGetObjectInstanceWithMissingFactoryAndAttributes00
testGetObjectInstanceWithAttributesAndNoDirObjectFactory00
testSignature00
testServiceLookup00
testServiceLookupWithRebinding00
testServiceLookupWithoutRebinding00
testMultipleServiceLookupWithListBindings00
testMultipleServiceLookupWithList00
testMultipleServiceLookupWithRebinding00
testBundleContextLookup00
testServiceNameProperty00

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.service.jndi.JNDIContextManager
Context JNDIContextManager.newInitialContext() 7
Context JNDIContextManager.newInitialContext(Map) 9
DirContext JNDIContextManager.newInitialDirContext() 2
DirContext JNDIContextManager.newInitialDirContext(Map) 2
org.osgi.service.jndi.JNDIProviderAdmin
Object JNDIProviderAdmin.getObjectInstance(Object,Name,Context,Map) 7
Object JNDIProviderAdmin.getObjectInstance(Object,Name,Context,Map,Attributes) 7