for creole's zephir2 branch
This commit is contained in:
1
tests/dicos/mandatory/00_base.xml
Symbolic link
1
tests/dicos/mandatory/00_base.xml
Symbolic link
@ -0,0 +1 @@
|
||||
../00_base.xml
|
35
tests/dicos/mandatory/01_mandatory.xml
Normal file
35
tests/dicos/mandatory/01_mandatory.xml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<creole>
|
||||
|
||||
<files/>
|
||||
<containers/>
|
||||
|
||||
<variables>
|
||||
<family name='test'>
|
||||
<variable name='mandatory_if'/>
|
||||
<variable name='mandatory_ifnot'/>
|
||||
<variable name='active_mandatory' type='oui/non'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name='mandatory_if_in' source='active_mandatory'>
|
||||
<param>oui</param>
|
||||
<target type='variable'>mandatory_if</target>
|
||||
</condition>
|
||||
<condition name='mandatory_if_not_in' source='active_mandatory'>
|
||||
<param>non</param>
|
||||
<target type='variable'>mandatory_ifnot</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
|
||||
<help/>
|
||||
|
||||
</creole>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
Reference in New Issue
Block a user