FELIX-1232 Add integration test ensuring private component
property is visible to the component but not to service
consumers
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@799625 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 bf0da5c..412c810 100644
--- a/scr/src/test/resources/integration_test_simple_components.xml
+++ b/scr/src/test/resources/integration_test_simple_components.xml
@@ -52,4 +52,17 @@
configuration-policy="require" >
<implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
</scr:component>
+
+ <!-- component is a stupid service to verify non-use of private props -->
+ <scr:component name="ServiceComponent"
+ enabled="false" immediate="true"
+ configuration-policy="ignore" >
+ <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
+ <property name="prop.public" value="required" />
+ <property name=".prop.private" value="private" />
+ <service>
+ <provide interface="java.lang.Object" />
+ </service>
+ </scr:component>
+
</components>