<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
Bad example #1
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        
    #else
        stuff
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Bad example #2
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)#else
        stuff
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Bad example #3
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        aaaa
    #elseif ($c2)
        
    #else
    	bbbb
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Bad example #4
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        aaaa
    #elseif ($c2)#else
    	bbbb
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Bad example #5
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        aaaa
    #else#end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Bad example #6
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        aaaa
    #else
     
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Good example #1
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        stuff
    #else
        stuff
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Good example #2
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        stuff
    #elseif ($c2)
        stuff
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
    
    <test-code>
        <description><![CDATA[
Good example #2
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
#macro( mymacro $v1 )
    #if($c1)
        stuff
    #else
        stuff
    #end
#end
     ]]></code>
    <source-type>vm</source-type>
    </test-code>
</test-data>
