test/spec/spectest4.xml
changeset 1 fe592b4168f3
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/spec/spectest4.xml	Wed Oct 10 22:58:48 2012 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +<expr>
     1.5 +  <define name="foo"/>
     1.6 +  <define name="constant"/>
     1.7 +
     1.8 +  <and>
     1.9 +    <if>
    1.10 +      <eq>
    1.11 +	<foo>This is the 0xdeadbeef constant.</foo>
    1.12 +	<foo>
    1.13 +	  <string>This is the</string>
    1.14 +	  <integer>0xdeadbeef</integer>
    1.15 +	  <string>constant.</string>
    1.16 +	</foo>
    1.17 +      </eq>
    1.18 +      <print newline="true">PASS</print>
    1.19 +      <expr>
    1.20 +	<print newline="true">FAIL</print>
    1.21 +	<false/>
    1.22 +      </expr>
    1.23 +    </if>
    1.24 +    
    1.25 +    <if>
    1.26 +      <eq>
    1.27 +	<foo>This is a <constant>constant</constant>.</foo>
    1.28 +	<foo>
    1.29 +	  <string>This is a</string>
    1.30 +	  <constant>
    1.31 +	    <string>constant</string>
    1.32 +	  </constant>
    1.33 +	  <string>.</string>
    1.34 +	</foo>
    1.35 +      </eq>
    1.36 +      <print newline="true">PASS</print>
    1.37 +      <expr>
    1.38 +	<print newline="true">FAIL</print>
    1.39 +	<false/>
    1.40 +      </expr>
    1.41 +    </if>
    1.42 +
    1.43 +  </and>
    1.44 +</expr>