test/spec/spectest4.xml
author ali <ali@juiblex.co.uk>
Wed Oct 10 22:58:48 2012 +0100 (2012-10-10)
changeset 1 fe592b4168f3
permissions -rw-r--r--
Added tag 1.0 for changeset bc8c9a11cbfc
     1 <expr>
     2   <define name="foo"/>
     3   <define name="constant"/>
     4 
     5   <and>
     6     <if>
     7       <eq>
     8 	<foo>This is the 0xdeadbeef constant.</foo>
     9 	<foo>
    10 	  <string>This is the</string>
    11 	  <integer>0xdeadbeef</integer>
    12 	  <string>constant.</string>
    13 	</foo>
    14       </eq>
    15       <print newline="true">PASS</print>
    16       <expr>
    17 	<print newline="true">FAIL</print>
    18 	<false/>
    19       </expr>
    20     </if>
    21     
    22     <if>
    23       <eq>
    24 	<foo>This is a <constant>constant</constant>.</foo>
    25 	<foo>
    26 	  <string>This is a</string>
    27 	  <constant>
    28 	    <string>constant</string>
    29 	  </constant>
    30 	  <string>.</string>
    31 	</foo>
    32       </eq>
    33       <print newline="true">PASS</print>
    34       <expr>
    35 	<print newline="true">FAIL</print>
    36 	<false/>
    37       </expr>
    38     </if>
    39 
    40   </and>
    41 </expr>