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
javax.naming.NamingException: Unable to retrieve reference
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:176)
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:159)
at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.osgi.test.cases.jndi.tests.TestObjectFactory.testReferenceableLookup(TestObjectFactory.java:62)
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 | |
| testReferenceableLookupWithAttributes | 0 | 0 | |
| testReferenceLookup | 0 | 0 | |
| testReferenceLookupWithAttributes | 0 | 0 | |
| testReferenceLookupWithNoFactory
javax.naming.NamingException: Unable to retrieve reference
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:176)
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:159)
at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.osgi.test.cases.jndi.tests.TestObjectFactory.testReferenceLookupWithNoFactory(TestObjectFactory.java:166)
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 | |
| 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 | 0 | 0 | |
| testServiceRankingOnContextCreation | 0 | 0 | |
| testServiceRanking | 0 | 0 | |
| 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
javax.naming.NamingException: Unable to retrieve reference
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:176)
at org.osgi.test.cases.jndi.provider.CTContext.lookup(CTContext.java:159)
at org.osgi.test.cases.jndi.provider.ct.ctURLContext.lookup(ctURLContext.java:147)
at org.osgi.test.cases.jndi.provider.ct.ctURLContextFactory.getObjectInstance(ctURLContextFactory.java:41)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsingRefAddress(ObjectFactoryHelper.java:166)
at org.apache.aries.jndi.ObjectFactoryHelper.doGetObjectInstance(ObjectFactoryHelper.java:83)
at org.apache.aries.jndi.ObjectFactoryHelper.access$000(ObjectFactoryHelper.java:40)
at org.apache.aries.jndi.ObjectFactoryHelper$1.run(ObjectFactoryHelper.java:56)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.aries.jndi.Utils.doPrivileged(Utils.java:146)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(ObjectFactoryHelper.java:54)
at org.apache.aries.jndi.ProviderAdminService.getObjectInstance(ProviderAdminService.java:45)
at org.osgi.test.cases.jndi.tests.TestJNDIProviderAdmin.testGetObjectInstanceWithNoFactoryNameAndURL(TestJNDIProviderAdmin.java:209)
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 | |
| 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 | |