Test

Summary

The following table provides a sumary of the test information.

Property KeyProperty Value
Target/Users/nottinga/Downloads/osgict/jar/org.osgi.test.cases.jndi-4.2.0.jar
Frameworkorg.eclipse.osgi.launch.Equinox@43a6684f
TestrunTue May 17 20:16:04 BST 2011
Bundles
org.eclipse.osgi3.5.0.v20090520
osgi.enterprise4.2.0.201003190513
org.apache.aries.util0.3.0
org.apache.aries.proxy0.3.0
org.apache.aries.jndi0.3.0
slf4j.api1.5.11
slf4j.simple1.5.11
org.objectweb.asm.all3.2
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
testReferenceableLookup
01
testReferenceableLookupWithAttributes00
testReferenceLookup00
testReferenceLookupWithAttributes00
testReferenceLookupWithNoFactory
01
testReferenceLookupWithNoFactoryAndAttributes00
testReferenceLookupWithBuilder00
testReferenceLookupWithBuilderAndAttributes00
testReferenceLookupWithBuilderAndNoFactory00
testReferenceLookupWithBuilderAndNoFactoryAndAttributes00
testObjectFactoryRemoval00
testObjectFactoryBuilderRemoval00
testLookupOfJREProvidedContexts00
testLookupWithSpecificInitialContextFactory00
testLookupWithSpecificInitialDirContextFactory00
testDefaultLookupWithInitialContextFactory00
testDefaultLookupWithInitialDirContextFactory00
testLookupWithInitialContextFactoryBuilder00
testLookupWithInitialDirContextFactoryBuilder00
testDefaultLookupWithInitialContextFactoryBuilder00
testDefaultLookupWithInitialDirContextFactoryBuilder00
testLookupWithJndiPropertiesFile00
testLookupWithNoMatchingContext00
testDefaultLookupWithNoMatchingContext00
testInitialContextFactoryBuilderExceptionHandling00
testProviderUnregistration00
testProviderUnregistrationWithBuilder00
testContextRebinding00
testUngetContextManager00
testServiceRanking00
testServiceRankingOnContextCreation00
testServiceRanking00
testServiceRankingOnContextCreation00
testSpecificInitialContextFactory00
testSpecificInitialDirContextFactory00
testUnspecifiedInitialContextFactory00
testUnspecifiedInitialDirContextFactory00
testInitialContextFactoryBuilderWithFactory00
testInitialDirContextFactoryBuilderWithFactory00
testInitialContextFactoryBuilderWithNoFactory00
testInitialDirContextFactoryBuilderWithNoFactory00
testInitialContextFactoryFromPropertiesFile00
testInitialContextFactoryRemoval00
testInitialContextFactoryBuilderRemoval00
testNoInitialContextFound00
testURLContextFactoryRegistration00
testURLContextFactoryRemoval00
testGetObjectInstanceWithReferenceable00
testGetObjectInstanceWithReferencableAndAttributes00
testGetObjectInstanceWithNoReference00
testGetObjectInstanceWithNoReferenceAndAttributes00
testGetObjectInstanceWithFactoryName00
testGetObjectInstanceWithFactoryNameAndAttributes00
testGetObjectInstanceWithNoFactoryName00
testGetObjectInstanceWithNoFactoryNameAndAttributes00
testGetObjectInstanceWithNoFactoryNameAndURL
01
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