FELIX-3090 Ensure target properties are properly considered when satisfying the ComponentFactory service
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1245441 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/test/resources/integration_test_simple_components.xml b/scr/src/test/resources/integration_test_simple_components.xml
index 5bbfee8..d1410cb 100644
--- a/scr/src/test/resources/integration_test_simple_components.xml
+++ b/scr/src/test/resources/integration_test_simple_components.xml
@@ -104,5 +104,22 @@
factory="factory.component.factory.configuration" >
<implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
</scr:component>
+
+ <!-- Component Factory Instances, requiring configuration -->
+ <scr:component name="factory.component.reference"
+ enabled="false"
+ configuration-policy="ignore"
+ factory="factory.component.factory.reference" >
+ <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
+ <reference
+ name="ref"
+ interface="org.apache.felix.scr.integration.components.SimpleService"
+ cardinality="1..n"
+ policy="static"
+ bind="bindSimpleService"
+ unbind="unbindSimpleService"
+ target="(filterprop=required)"
+ />
+ </scr:component>
</components>