Test

Summary

The following table provides a sumary of the test information.

Property KeyProperty Value
Target/Users/holly/Documents/aries/ct/jar/org.osgi.test.cases.jndi-4.2.0.jar
Frameworkorg.eclipse.osgi.launch.Equinox@f9da4fc
TestrunWed Jun 20 20:24:06 BST 2012
Bundles
org.eclipse.osgi3.7.0.v20110613
osgi.enterprise4.2.0.201003190513
org.ops4j.pax.logging.pax-logging-api1.5.0
org.apache.aries.util1.0.0.SNAPSHOT
org.apache.aries.proxy1.0.0.SNAPSHOT
org.apache.aries.jndi1.0.0.SNAPSHOT
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
testObjectFactoryRemoval
01
testObjectFactoryBuilderRemoval
01
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
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