The following table provides a sumary of the test information.
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.
| Test | Failures | Error | Info |
| testReferenceableLookup | 0 | 0 | |
| testReferenceableLookupWithAttributes | 0 | 0 | |
| testReferenceLookup | 0 | 0 | |
| testReferenceLookupWithAttributes | 0 | 0 | |
| testReferenceLookupWithNoFactory | 0 | 0 | |
| testReferenceLookupWithNoFactoryAndAttributes | 0 | 0 | |
| testReferenceLookupWithBuilder | 0 | 0 | |
| testReferenceLookupWithBuilderAndAttributes | 0 | 0 | |
| testReferenceLookupWithBuilderAndNoFactory | 0 | 0 | |
| testReferenceLookupWithBuilderAndNoFactoryAndAttributes | 0 | 0 | |
| testObjectFactoryRemoval | 0 | 0 | |
| testObjectFactoryBuilderRemoval | 0 | 0 | |
| testLookupOfJREProvidedContexts | 0 | 0 | |
| testLookupWithSpecificInitialContextFactory | 0 | 0 | |
| testLookupWithSpecificInitialDirContextFactory | 0 | 0 | |
| testDefaultLookupWithInitialContextFactory | 0 | 0 | |
| testDefaultLookupWithInitialDirContextFactory | 0 | 0 | |
| testLookupWithInitialContextFactoryBuilder | 0 | 0 | |
| testLookupWithInitialDirContextFactoryBuilder | 0 | 0 | |
| testDefaultLookupWithInitialContextFactoryBuilder | 0 | 0 | |
| testDefaultLookupWithInitialDirContextFactoryBuilder | 0 | 0 | |
| testLookupWithJndiPropertiesFile | 0 | 0 | |
| testLookupWithNoMatchingContext | 0 | 0 | |
| testDefaultLookupWithNoMatchingContext | 0 | 0 | |
| testInitialContextFactoryBuilderExceptionHandling | 0 | 0 | |
| testProviderUnregistration | 0 | 0 | |
| testProviderUnregistrationWithBuilder | 0 | 0 | |
| testContextRebinding | 0 | 0 | |
| testUngetContextManager | 0 | 0 | |
| testServiceRanking
java.lang.IllegalArgumentException: org.osgi.test.cases.jndi.provider.CTInitialContextFactory is not an interface
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at org.apache.aries.jndi.services.JdkProxyFactory.createProxy(JdkProxyFactory.java:35)
at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:339)
at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:62)
at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:264)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:261)
at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:235)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:99)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:141)
at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:148)
at org.osgi.test.cases.jndi.tests.TestJNDIContextManager.testServiceRanking(TestJNDIContextManager.java:576)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at aQute.junit.runtime.Target.doTesting(Target.java:234)
at aQute.junit.runtime.Target.run(Target.java:57)
at aQute.junit.runtime.Target.main(Target.java:37)
| 0 | 1 | |
| testServiceRankingOnContextCreation | 0 | 0 | |
| testServiceRanking
java.lang.IllegalArgumentException: org.osgi.test.cases.jndi.provider.CTInitialContextFactory is not an interface
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at org.apache.aries.jndi.services.JdkProxyFactory.createProxy(JdkProxyFactory.java:35)
at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:339)
at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:62)
at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:264)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:261)
at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:235)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:99)
at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:141)
at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:148)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.osgi.test.cases.jndi.tests.TestInitialContextFactory.testServiceRanking(TestInitialContextFactory.java:389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at aQute.junit.runtime.Target.doTesting(Target.java:234)
at aQute.junit.runtime.Target.run(Target.java:57)
at aQute.junit.runtime.Target.main(Target.java:37)
| 0 | 1 | |
| testServiceRankingOnContextCreation | 0 | 0 | |
| testSpecificInitialContextFactory | 0 | 0 | |
| testSpecificInitialDirContextFactory | 0 | 0 | |
| testUnspecifiedInitialContextFactory | 0 | 0 | |
| testUnspecifiedInitialDirContextFactory | 0 | 0 | |
| testInitialContextFactoryBuilderWithFactory | 0 | 0 | |
| testInitialDirContextFactoryBuilderWithFactory | 0 | 0 | |
| testInitialContextFactoryBuilderWithNoFactory | 0 | 0 | |
| testInitialDirContextFactoryBuilderWithNoFactory | 0 | 0 | |
| testInitialContextFactoryFromPropertiesFile | 0 | 0 | |
| testInitialContextFactoryRemoval | 0 | 0 | |
| testInitialContextFactoryBuilderRemoval | 0 | 0 | |
| testNoInitialContextFound | 0 | 0 | |
| testURLContextFactoryRegistration | 0 | 0 | |
| testURLContextFactoryRemoval | 0 | 0 | |
| testGetObjectInstanceWithReferenceable | 0 | 0 | |
| testGetObjectInstanceWithReferencableAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithNoReference | 0 | 0 | |
| testGetObjectInstanceWithNoReferenceAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithFactoryName | 0 | 0 | |
| testGetObjectInstanceWithFactoryNameAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithNoFactoryName | 0 | 0 | |
| testGetObjectInstanceWithNoFactoryNameAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithNoFactoryNameAndURL | 0 | 0 | |
| testGetObjectInstanceWithBuilder | 0 | 0 | |
| testGetObjectInstanceWithBuilderAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithMissingFactory | 0 | 0 | |
| testGetObjectInstanceWithMissingFactoryAndAttributes | 0 | 0 | |
| testGetObjectInstanceWithAttributesAndNoDirObjectFactory | 0 | 0 | |
| testSignature | 0 | 0 | |
| testServiceLookup | 0 | 0 | |
| testServiceLookupWithRebinding | 0 | 0 | |
| testServiceLookupWithoutRebinding | 0 | 0 | |
| testMultipleServiceLookupWithListBindings | 0 | 0 | |
| testMultipleServiceLookupWithList | 0 | 0 | |
| testMultipleServiceLookupWithRebinding | 0 | 0 | |
| testBundleContextLookup | 0 | 0 | |
| testServiceNameProperty | 0 | 0 | |
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() void TestJNDIContextManager.testDefaultLookupWithInitialContextFactory() void TestJNDIContextManager.testDefaultLookupWithInitialContextFactoryBuilder() void TestJNDIContextManager.testLookupWithJndiPropertiesFile() void TestJNDIContextManager.testDefaultLookupWithNoMatchingContext() void TestJNDIContextManager.testInitialContextFactoryBuilderExceptionHandling() void TestJNDIContextManager.testServiceRanking() void TestJNDIContextManager.testServiceRankingOnContextCreation()
| 7 | |
| Context JNDIContextManager.newInitialContext(Map) void TestJNDIProviderAdmin.testGetObjectInstanceWithNoFactoryNameAndURL() void TestJNDIContextManager.testLookupOfJREProvidedContexts() void TestJNDIContextManager.testLookupWithSpecificInitialContextFactory() void TestJNDIContextManager.testLookupWithInitialContextFactoryBuilder() void TestJNDIContextManager.testLookupWithNoMatchingContext() void TestJNDIContextManager.testProviderUnregistration() void TestJNDIContextManager.testProviderUnregistrationWithBuilder() void TestJNDIContextManager.testContextRebinding() void TestJNDIContextManager.testUngetContextManager()
| 9 | |
| DirContext JNDIContextManager.newInitialDirContext() void TestJNDIContextManager.testDefaultLookupWithInitialDirContextFactory() void TestJNDIContextManager.testDefaultLookupWithInitialDirContextFactoryBuilder()
| 2 | |
| DirContext JNDIContextManager.newInitialDirContext(Map) void TestJNDIContextManager.testLookupWithSpecificInitialDirContextFactory() void TestJNDIContextManager.testLookupWithInitialDirContextFactoryBuilder()
| 2 | |
| org.osgi.service.jndi.JNDIProviderAdmin | | |
| Object JNDIProviderAdmin.getObjectInstance(Object,Name,Context,Map) void TestJNDIProviderAdmin.testGetObjectInstanceWithReferenceable() void TestJNDIProviderAdmin.testGetObjectInstanceWithNoReference() void TestJNDIProviderAdmin.testGetObjectInstanceWithFactoryName() void TestJNDIProviderAdmin.testGetObjectInstanceWithNoFactoryName() void TestJNDIProviderAdmin.testGetObjectInstanceWithNoFactoryNameAndURL() void TestJNDIProviderAdmin.testGetObjectInstanceWithBuilder() void TestJNDIProviderAdmin.testGetObjectInstanceWithMissingFactory()
| 7 | |
| Object JNDIProviderAdmin.getObjectInstance(Object,Name,Context,Map,Attributes) void TestJNDIProviderAdmin.testGetObjectInstanceWithReferencableAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithNoReferenceAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithFactoryNameAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithNoFactoryNameAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithBuilderAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithMissingFactoryAndAttributes() void TestJNDIProviderAdmin.testGetObjectInstanceWithAttributesAndNoDirObjectFactory()
| 7 | |