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.blueprint-4.2.0.jar
Frameworkorg.eclipse.osgi.launch.Equinox@bf5555
TestrunWed Sep 01 16:59:17 BST 2010
Bundles
org.eclipse.osgi3.5.0.v20090520
osgi.cmpn4.2.0.200908310645
org.ops4j.pax.logging.pax-logging-api1.4
org.ops4j.pax.logging.pax-logging-service1.4
org.eclipse.equinox.cm3.2.0.v20070116
org.eclipse.equinox.event1.1.100.v20090520-1800
org.apache.felix.configadmin1.2.4
org.apache.aries.blueprint0.2.0.incubating
org.osgi.test.cases.blueprint4.2.0.201004301237

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
testSignature00
testConstructorInjection00
testInstanceFactoryConstructorInjection00
testStaticFactoryConstructorInjection00
testPropertyInjection00
testInstanceFactoryPropertyInjection00
testStaticFactoryPropertyInjection00
testCompoundProperty00
testCompoundPropertyMissingName00
testCompoundPropertyMissingValue00
testServicePropertiesReevaluation00
testComponentDirectDependency00
testComponentDependsOnDependency00
testServiceDependsOnDependency00
testComponentWaitingDependency00
testMultipleGracePeriod00
testComponentNowaitDependency00
testComponentTimeoutDependency00
testInfiniteComponentTimeoutDependency00
testServiceRequestInitialization00
testServiceRequestActivation00
testEagerServiceRequestInitialization00
testServiceReferenceExport00
testInlineServiceReferenceExport00
testIndirectServiceReferenceExport00
testCustomTypeInjection00
testMultiRegisteredConverter00
testCustomBooleanConverter00
testServiceBooleanConverter00
testSubclassConverterInstead00
testConverterCalled00
testConversionServiceInjection00
testConversionServiceInjectionOverride00
testConstructorShortArgs00
testConstructorLongArgs00
testStaticFactoryShortArgs00
testStaticFactoryLongArgs00
testInstanceFactoryShortArgs00
testInstanceFactoryLongArgs00
testStringTypeConstructor00
testWrapperPrimitiveAmbiguity00
testInstanceWrapperPrimitiveAmbiguity00
testStaticWrapperPrimitiveAmbiguity00
testPrimitiveWrapperAmbiguity00
testInstancePrimitiveWrapperAmbiguity00
testStaticPrimitiveWrapperAmbiguity00
testAssignabilityAmbiguity00
testInstanceAssignabilityAmbiguity00
testStaticAssignabilityAmbiguity00
testStringConversionAmbiguity00
testInstanceStringConversionAmbiguity00
testStaticStringConversionAmbiguity00
testCollectionConversionAmbiguity00
testInstanceCollectionConversionAmbiguity00
testStaticCollectionConversionAmbiguity00
testMapConversionAmbiguity00
testInstanceMapConversionAmbiguity00
testStaticMapConversionAmbiguity00
testExtenderStart00
testExtenderStop
  • Unexpected event BlueprintContainerEvent org/osgi/test/cases/blueprint/BlueprintContainer/FAILURE for bundle org.osgi.test.cases.blueprint.circular_ref_one with properties: [bundle.id=76, bundle.version=4.2.0, cause=org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: two, getter: null, setter: [public void org.osgi.test.cases.blueprint.components.serviceimport.ServiceProxyChecker.setTwo(org.osgi.test.cases.blueprint.services.TestServiceTwo)], event=org.osgi.service.blueprint.container.BlueprintEvent@16a8823, event.topics=org/osgi/test/cases/blueprint/BlueprintContainer/FAILURE, bundle=org.osgi.test.cases.blueprint.circular_ref_one_4.2.0 [76], bundle.symbolicName=org.osgi.test.cases.blueprint.circular_ref_one, extender.bundle=org.apache.aries.blueprint_0.2.0.incubating [7] ] was received:
10
testExtenderRankedStop
  • Unexpected event BlueprintContainerEvent org/osgi/test/cases/blueprint/BlueprintContainer/FAILURE for bundle org.osgi.test.cases.blueprint.circular_ref_two with properties: [bundle.id=82, bundle.version=4.2.0, cause=org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: one, getter: null, setter: [public void org.osgi.test.cases.blueprint.components.serviceimport.ServiceProxyChecker.setOne(org.osgi.test.cases.blueprint.services.TestServiceOne)], event=org.osgi.service.blueprint.container.BlueprintEvent@914a0a, event.topics=org/osgi/test/cases/blueprint/BlueprintContainer/FAILURE, bundle=org.osgi.test.cases.blueprint.circular_ref_two_4.2.0 [82], bundle.symbolicName=org.osgi.test.cases.blueprint.circular_ref_two, extender.bundle=org.apache.aries.blueprint_0.2.0.incubating [7] ] was received:
10
testSingleInterfaceExport00
testNoGracePeriod00
testReferenceDependsOn00
testSingleInterfacePrototypeExport00
testComponentQualifier00
testRankingExport00
testRankingImport00
testServicePropertyQualifier00
testComplexServiceProperty00
testDependsOnQualifier00
testMultipleInterface00
testRegistrationListenerImport00
testInlineRegistrationListenerImport00
testConcreteInterface00
testAutoInterface00
testAutoHierarchy00
testConcreteClassImport00
testAutoAll00
testFactoryExport00
testPrototypeFactoryExport00
testRegistrationInjection00
testInlineRegistrationInjection00
testDependencyWait00
testListenerExport00
testRegistrationListenerSingletonSignature00
testListenerRegisteredExport00
testListenerUnregisteredExport00
testPrototypeListenerExport00
testInlineListenerExport00
testCircularListenerExport00
testMultipleListenerExport00
testMultipleListenerMethodExport00
testServiceImportedListenerImport00
testInlineServiceImportedListenerImport00
testReferenceListenerBindOnly00
testReferenceListenerUnbindOnly00
testCircularServiceListenerImport00
testServiceMultipleListenerImport00
testServiceMultipleListenerMethodImport00
testServiceListenerReferenceMethodImport00
testServiceListenerNoMapMethodImport00
testUnregisteredServiceDependency00
testReplacementServiceDependency00
testWaitingServiceDependency00
testUnavailableServiceDependency00
testUnavailableServiceDefaultDependency00
testServiceRebind00
testServiceRankingRebind00
testServiceRegistrationProxy00
testLazyServiceRegistration00
testLazyReference00
testLazyServiceGet00
testInterfacelessReference00
testRegistrationListenerInitialState00
testStartComponentDefault00
testWildcardHeader00
testStartComponentMultiple00
testStartComponentExplicit00
testStartComponentAttributes00
testSinglePathMultipleDir00
testMultiplePathMultipleDir00
testStartComponentAttributes200
testStartComponentDifferentDir00
testStartComponentDirOnly00
testNoNameDefault00
testInitDestroy00
testStaticFactory00
testPrimitiveStaticFactory00
testComponentFactory00
testServiceFactory00
testPrimitiveInstanceFactory00
testModuleContextAware00
testComponentIdCase00
testBlueprintId00
testNonBlueprintBundle00
testNonBlueprintBundleEmptyDir00
testBlueprintBundleWildcardNoMatch00
testEmptyBlueprintBundleHeader00
testIncompatibleVersion00
testBlueprintListenerReplay00
testFragmentDefault00
testConcreteClassImport00
testNoConfigFile00
testMissingConfigFile00
testDuplicateComponentName00
testMissingComponentClass00
testNoComponentClass00
testStaticFactoryMissingClass00
testStaticFactoryMissingMethod00
testStaticFactoryNonPublicClass00
testStaticFactoryNonPublicMethod00
testStaticFactoryNonStaticMethod00
testStaticFactoryNoClass00
testInstanceFactoryMissingMethod00
testInstanceFactoryNoMethod00
testStaticFactoryNoComponent00
testConstructorException00
testLazyConstructorException00
testInstanceFactoryException00
testStaticFactoryException00
testPropertyException00
testInitMethodException00
testDestroyMethodException00
testNoConstructorMatch00
testConstructorTypeMismatch00
testConstructorInvalidType00
testConstructorNonPrivate00
testConversionError00
testIncompatibleType00
testConversionServiceError00
testConversionServiceOverrideError00
testTypeConverterError00
testMissingReferenceError00
testMissingIdrefError00
testCircularReferenceError00
testPrimitiveNull00
testMissingProperty00
testProtectedProperty00
testPrivateProperty00
testBadProperty00
testSkippedIndex00
testDuplicateIndex00
testPartialIndex00
testInitNoMethod00
testDestroyNoMethod00
testInitBadMethod00
testDestroyBadMethod00
testServiceBadComponent00
testServiceBadInterface00
testServiceNoComponent00
testServiceNoInterface00
testServiceWrongInterface00
testServiceDupInterface00
testServiceListenerBadComponent00
testServiceListenerBadRegister00
testServiceListenerBadUnregister00
testServiceListenerNonPublicRegistered00
testServiceListenerNonPublicUnregistered00
testServiceListenerNoComponent00
testServiceListenerNoMethods00
testServiceListenerNoRegister00
testServiceListenerRefInline00
testServiceListenerNoUnregister00
testComponentBadDependson00
testServiceBadDependson00
testReferenceBadInterface00
testRefListBadInterface00
testReferenceListenerBadComponent00
testReferenceListenerBadBind00
testReferenceListenerBadUnbind00
testReferenceListenerNonPublicBind00
testReferenceListenerNonPublicUnbind00
testReferenceListenerNoComponent00
testReferenceListenerNoMethods00
testReferenceListenerNobind00
testReferenceListenerNoUnbind00
testMapBadKeyRef00
testMapBadValueRef00
testMapBadValueType00
testMapBadKeyType00
testMapPrimitiveKeyType00
testMapDupValueRef00
testMapDupKeyRef00
testMapDupKey00
testMapDupValue00
testListBadValueRef00
testConverterWrongType00
testAmbiguousConstructor00
testAmbiguousFactoryConstructor00
testAmbiguousStaticFactoryConstructor00
testInnerBeanId00
testInnerBeanInitialization00
testInnerBeanDestroy00
testInlineServiceId00
testInlineReferenceId00
testInlineRefListId00
testReferenceBadDependsOn00
testRefListBadDependsOn00
testServiceServiceTarget00
testServiceRefListTarget00
testListenerServiceTarget00
testListenerRefListTarget00
testRegistrationListenerServiceTarget00
testRegistrationListenerRefListTarget00
testBlueprintBundleOverride00
testBlueprintBundleContextOverride00
testBlueprintContainerOverride00
testBlueprintConverterOverride00
testExtraNamespace
  • Expected event BlueprintContainerEvent org/osgi/test/cases/blueprint/BlueprintContainer/FAILURE for bundle org.osgi.test.cases.blueprint.comp1_extra_namespace was not received
10
testPropertyValueValue00
testPropertyRefValue00
testPropertyValueRef00
testArgumentValueValue00
testArgumentRefValue00
testArgumentValueRef00
testAutoExportInterface00
testAutoExportInterfaces00
testAutoRefInline00
testReferenceNegativeTimeout00
testReferenceNegativeDefaultTimeout00
testReferenceListenerRefInline00
testBlueprintConverter00
testBuiltinTypeConversions00
testArrayTargetBadSource00
testArrayTargetBadElement00
testCollectionTargetBadSource00
testCollectionTargetInterfaceOnly00
testCollectionTargetBadSubType00
testMapTargetBadSource00
testMapTargetInterfaceOnly00
testMapTargetBadSubType00
testDictionaryTargetBadSubType00
testNonStringSource00
testStringSourceNoConstructor00
testConstructorInjection00
testInstanceFactoryConstructorInjection00
testStaticFactoryConstructorInjection00
testPropertyInjection00
testInstanceFactoryPropertyInjection00
testStaticFactoryPropertyInjection00
testBasic00
testCollectionInjection00
testStaticListCollectionImport00
testListCollectionDependson00
testLazyReferenceList00
testStaticListCollectionReferenceImport00
testListCollectionImport00
testListCollectionReferenceImport00
testCircularListCollectionImport00
testEmptyListCollectionImport00
testEmptyListCollectionDefaultImport00
testEmptyListCollectionServiceListener00
testEmptyListCollectionReferenceImport00
testBindUnbindListImport00
testUnregisteredListServiceDependency00
testRefListIterator00
testArrayInjection00
testArrayArgConstructor00
testArrayArgStaticFactoryConstructor00
testArrayArgInstanceFactoryConstructor00
testArrayArgProperty00
testStaticFactoryArrayArgProperty00
testInstanceFactoryArrayArgProperty00
testStringTypeConstructor00
testStaticFactoryStringTypeConstructor00
testInstanceFactoryStringTypeConstructor00
testStringTypeProperty00
testStaticFactoryStringTypeProperty00
testInstanceFactoryStringTypeProperty00
testPropertyBoxing00
testReferenceInjection00
testPrototypeDestroy_Method00
testEagerPrototype00
testCycleBreaking00
testSingletonCycle00
testPrototypeCycle00
testRecursiveConstructor00
testRecursivePropertyInjection00
testRecursiveInitMethod00
testRecursivePrototypePropertyInjection00
testRecursivePrototypeInitMethod00
testMetadataSampler00
testIdrefInjection00
testListConstructor00
testListStaticFactoryConstructor00
testListInstanceFactoryConstructor00
testListProperty00
testConvertedList00
testConvertedSet00
testConvertedMap00
testStaticFactoryListProperty00
testInstanceFactoryListProperty00
testSetConstructor00
testSetStaticFactoryConstructor00
testSetInstanceFactoryConstructor00
testSetProperty00
testStaticFactorySetProperty00
testInstanceFactorySetProperty00
testMapConstructor00
testFactoryMapConstructor00
testStaticFactoryMapConstructor00
testMapProperty00
testStaticFactoryMapProperty00
testFactoryMapProperty00
testPropsConstructor00
testInstanceFactoryPropsConstructor00
testStaticFactoryPropsConstructor00
testPropsProperty00
testInstanceFactoryPropsProperty00
testStaticFactoryPropsProperty00
testBuiltinCollectionConversion00
testBuiltinMapConversion00

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.blueprint.container.BlueprintContainer
Set BlueprintContainer.getComponentIds() 3
Object BlueprintContainer.getComponentInstance(String) 12
ComponentMetadata BlueprintContainer.getComponentMetadata(String) 10
Collection BlueprintContainer.getMetadata(Class) 11
org.osgi.service.blueprint.container.BlueprintEvent
BlueprintEvent(int,Bundle,Bundle)0
BlueprintEvent(int,Bundle,Bundle,Throwable)0
BlueprintEvent(int,Bundle,Bundle,String[])0
BlueprintEvent(int,Bundle,Bundle,String[],Throwable)0
BlueprintEvent(BlueprintEvent,boolean)0
Bundle BlueprintEvent.getBundle() 1
Throwable BlueprintEvent.getCause() 2
String[] BlueprintEvent.getDependencies() 2
Bundle BlueprintEvent.getExtenderBundle() 1
long BlueprintEvent.getTimestamp()0
int BlueprintEvent.getType() 1
boolean BlueprintEvent.isReplay() 3
org.osgi.service.blueprint.container.BlueprintListener
void BlueprintListener.blueprintEvent(BlueprintEvent) 2
org.osgi.service.blueprint.container.ComponentDefinitionException
ComponentDefinitionException()0
ComponentDefinitionException(String)0
ComponentDefinitionException(String,Throwable)0
ComponentDefinitionException(Throwable)0
org.osgi.service.blueprint.container.Converter
boolean Converter.canConvert(Object,ReifiedType) 15
Object Converter.convert(Object,ReifiedType) 17
org.osgi.service.blueprint.container.NoSuchComponentException
NoSuchComponentException(String)0
NoSuchComponentException(String,String)0
String NoSuchComponentException.getComponentId() 2
org.osgi.service.blueprint.container.ReifiedType
ReifiedType(Class) 76
ReifiedType ReifiedType.getActualTypeArgument(int)0
Class ReifiedType.getRawClass() 27
int ReifiedType.size()0
org.osgi.service.blueprint.container.ServiceUnavailableException
ServiceUnavailableException(String,String)0
ServiceUnavailableException(String,String,Throwable)0
String ServiceUnavailableException.getFilter() 4
org.osgi.service.blueprint.reflect.BeanArgument
int BeanArgument.getIndex() 1
Metadata BeanArgument.getValue() 1
String BeanArgument.getValueType() 1
org.osgi.service.blueprint.reflect.BeanMetadata
List BeanMetadata.getArguments() 2
String BeanMetadata.getClassName() 6
String BeanMetadata.getDestroyMethod() 2
Target BeanMetadata.getFactoryComponent() 2
String BeanMetadata.getFactoryMethod() 2
String BeanMetadata.getInitMethod() 2
List BeanMetadata.getProperties() 1
String BeanMetadata.getScope() 1
org.osgi.service.blueprint.reflect.BeanProperty
String BeanProperty.getName() 2
Metadata BeanProperty.getValue() 1
org.osgi.service.blueprint.reflect.CollectionMetadata
Class CollectionMetadata.getCollectionClass() 2
String CollectionMetadata.getValueType() 1
List CollectionMetadata.getValues() 3
org.osgi.service.blueprint.reflect.ComponentMetadata
int ComponentMetadata.getActivation()0
List ComponentMetadata.getDependsOn()0
String ComponentMetadata.getId() 2
org.osgi.service.blueprint.reflect.IdRefMetadata
String IdRefMetadata.getComponentId() 2
org.osgi.service.blueprint.reflect.MapEntry
NonNullMetadata MapEntry.getKey() 2
Metadata MapEntry.getValue() 2
org.osgi.service.blueprint.reflect.MapMetadata
List MapMetadata.getEntries() 1
String MapMetadata.getKeyType() 1
String MapMetadata.getValueType() 1
org.osgi.service.blueprint.reflect.PropsMetadata
List PropsMetadata.getEntries() 2
org.osgi.service.blueprint.reflect.RefMetadata
String RefMetadata.getComponentId() 3
org.osgi.service.blueprint.reflect.ReferenceListMetadata
int ReferenceListMetadata.getMemberType() 2
org.osgi.service.blueprint.reflect.ReferenceListener
String ReferenceListener.getBindMethod() 1
Target ReferenceListener.getListenerComponent() 2
String ReferenceListener.getUnbindMethod() 1
org.osgi.service.blueprint.reflect.ReferenceMetadata
long ReferenceMetadata.getTimeout() 1
org.osgi.service.blueprint.reflect.RegistrationListener
Target RegistrationListener.getListenerComponent() 1
String RegistrationListener.getRegistrationMethod() 1
String RegistrationListener.getUnregistrationMethod() 1
org.osgi.service.blueprint.reflect.ServiceMetadata
int ServiceMetadata.getAutoExport() 1
List ServiceMetadata.getInterfaces() 1
int ServiceMetadata.getRanking() 1
Collection ServiceMetadata.getRegistrationListeners() 1
Target ServiceMetadata.getServiceComponent() 1
List ServiceMetadata.getServiceProperties() 1
org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
int ServiceReferenceMetadata.getAvailability() 1
String ServiceReferenceMetadata.getComponentName() 3
String ServiceReferenceMetadata.getFilter() 3
String ServiceReferenceMetadata.getInterface() 3
Collection ServiceReferenceMetadata.getReferenceListeners() 1
org.osgi.service.blueprint.reflect.ValueMetadata
String ValueMetadata.getStringValue() 2
String ValueMetadata.getType() 3