rougail/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/00-base.xml

36 lines
1.1 KiB
XML
Raw Normal View History

2020-12-24 17:37:14 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail>
<services>
<service name="test">
<file name="/tmp/file" filelist="afilllist"/>
</service>
</services>
<variables>
<family name="general">
<variable name="condition" type="string" description="No change">
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
2020-12-24 17:37:14 +01:00
<param>non</param>
<param>statique</param>
<target>condition</target>
2020-12-24 17:37:14 +01:00
</check>
<condition name="disabled_if_not_in" source="condition">
<param>statique</param>
<target type="filelist">afilllist</target>
</condition>
</constraints>
</rougail>