[FELIX-4022] Implement spec compliant behavior for pre and post 1.3 with a flag to get reasonable behavior pre-1.3. Question is whether deleting a config calls modify(1.3) or deactivates(pre 1.3)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1591423 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 07de31a..86a784b 100644
--- a/scr/src/test/resources/integration_test_simple_components.xml
+++ b/scr/src/test/resources/integration_test_simple_components.xml
@@ -50,6 +50,19 @@
<property name="service.pid" value="DynamicConfigurationComponent" />
</scr:component>
+ <scr13:component xmlns:scr13="http://www.osgi.org/xmlns/scr/v1.3.0" name="DynamicConfigurationComponent13"
+ enabled="false" modified="configure">
+ <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
+ <property name="service.pid" value="DynamicConfigurationComponent13" />
+ </scr13:component>
+
+ <scr:component xmlns:felix="http://felix.apache.org/xmlns/scr/extensions/v1.0.0" name="DynamicConfigurationComponentFlag"
+ enabled="false" modified="configure"
+ felix:deleteCallsModify="true">
+ <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" />
+ <property name="service.pid" value="DynamicConfigurationComponentFlag" />
+ </scr:component>
+
<!-- component dynamically updates configuration with a required reference plus target-->
<scr:component name="DynamicConfigurationComponentWithRequiredReference"
enabled="false" modified="configure">