Roxen.git/
server/
etc/
test/
tests/
rxml/
RoxenTest_BaseRXML.xml
Branch:
Tag:
Non-build tags
All tags
No tags
2001-09-27
2001-09-27 20:10:01 by Martin Nilsson <mani@lysator.liu.se>
dac155079e2da07558444c3ddcec3c4109701b8b (
31
lines) (+
31
/-
0
)
[
Show
|
Annotate
]
Branch:
5.2
Added some cond tests
Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.40
698:
<result>x</result> </test>
+
<test>
+
<rxml><cond><case match="1 == 2">a</case></cond></rxml>
+
<result></result>
+
</test>
-
+
<test>
+
<rxml><cond><case match="1 == 2">a</case><default>b</default></cond></rxml>
+
<result>b</result>
+
</test>
+
+
<test>
+
<rxml><cond><case match="1 == 1">a</case><default>b</default></cond></rxml>
+
<result>a</result>
+
</test>
+
+
<test>
+
<rxml><cond><case match="1 == 2"/><default>b</default></cond></rxml>
+
<result>b</result>
+
</test>
+
+
<test>
+
<rxml><cond><case match="1 == 1"/><default>b</default></cond></rxml>
+
<result></result>
+
</test>
+
+
<test>
+
<rxml><cond><case match="1 == 2"/><case match="1 == 1"/><case match="1 == 1">a</case></cond></rxml>
+
<result></result>
+
</test>
+
+
<!-- ............................................................ --> <comment>Loops (for)</comment> <test>