configurationengine/source/plugins/symbian/ConeImagePlugin/imageplugin/tests/imageproject/variant/implml/optional_test.imageml
changeset 0 2e8eeb919028
equal deleted inserted replaced
-1:000000000000 0:2e8eeb919028
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <imageml xmlns="http://www.s60.com/xml/imageml/1">
       
     3     
       
     4     <!-- === -->
       
     5     <!-- MBM -->
       
     6     <!-- === -->
       
     7     
       
     8     <!-- All input files empty: No error, should just generate no output -->
       
     9     <output file="optional1_mbm.mbm" palette='../bin/ThirdPartyBitmap.pal' tool='../bin/bmconv'>
       
    10         <input file="${OptionalTest.EmptyString}" depth="c24"/>
       
    11 		<input file="${OptionalTest.EmptyString}" depth="1" optional="true"/>
       
    12     </output>
       
    13     <!-- Empty optional input file: No error, should generate normally, just without the optional file -->
       
    14     <output file="optional2_mbm.mbm" palette='../bin/ThirdPartyBitmap.pal' tool='../bin/bmconv'>
       
    15         <input file="UI/Start-up Animation/frame01.bmp" depth="c24"/>
       
    16 		<input file="${OptionalTest.EmptyString}" depth="1" optional="true"/>
       
    17     </output>
       
    18     <!-- Invalid optional input file: Should give an error and generate no output -->
       
    19     <output file="optional3_mbm.mbm" palette='../bin/ThirdPartyBitmap.pal' tool='../bin/bmconv'>
       
    20         <input file="UI/Start-up Animation/frame01.bmp" depth="c24"/>
       
    21 		<input file="foo" depth="1" optional="true"/>
       
    22     </output>
       
    23     <!-- Empty non-optional input file: Should give an error and generate no output -->
       
    24     <output file="optional4_mbm.mbm" palette='../bin/ThirdPartyBitmap.pal' tool='../bin/bmconv'>
       
    25         <input file="UI/Start-up Animation/frame01.bmp" depth="c24"/>
       
    26 		<input file="${OptionalTest.EmptyString}" depth="1"/>
       
    27     </output>
       
    28     
       
    29     
       
    30     <!-- === -->
       
    31     <!-- MIF -->
       
    32     <!-- === -->
       
    33     
       
    34     <output file="optional1_mif.mif" tool='../bin/mifconv'>
       
    35         <input file="${OptionalTest.EmptyString}" depth="c24"/>
       
    36 		<input file="${OptionalTest.EmptyString}" depth="1" optional="true"/>
       
    37     </output>
       
    38     <output file="optional2_mif.mif" tool='../bin/mifconv'>
       
    39         <input file="svg_files/icon.svg" depth="c24"/>
       
    40         <!-- Using EmptyString2 for get_refs() test case -->
       
    41 		<input file="${OptionalTest.EmptyString2}" depth="1" optional="true"/>
       
    42     </output>
       
    43     <output file="optional3_mif.mif" tool='../bin/mifconv'>
       
    44         <input file="svg_files/icon.svg" depth="c24"/>
       
    45 		<input file="foo" depth="1" optional="true"/>
       
    46     </output>
       
    47     <output file="optional4_mif.mif" tool='../bin/mifconv'>
       
    48         <input file="svg_files/icon.svg" depth="c24"/>
       
    49 		<input file="${OptionalTest.EmptyString2}" depth="1"/>
       
    50     </output>
       
    51 
       
    52 </imageml>