buildframework/helium/tests/data/config_test.cfg.xml
author Iain Williamson <iain.williamson@nokia.com>
Thu, 25 Feb 2010 13:00:01 +0000
branchfix
changeset 274 c72bd1c6fd4e
parent 1 be27ed110b50
permissions -rw-r--r--
Merge - OST v2 in test code

<?xml version="1.0" encoding="UTF-8"?>
<build>
    <config name="test_spec" abstract="true">
        <set name="A" value="foo"/>
        <set name="B" value="parent: ${A}"/>
        <!-- 0 -->
        <config>
            <set name="B" value="child -> ${A}"/>
            <set name="C" value="missing value test ${does_not_exist}"/>
            <set name="node.content">
This is the value!
            </set>
        </config>
        
        <!-- 1 -->
        <config>
            <set name="C" value="one"/>
            <set name="C" value="two"/>
        </config>
        
        <!-- 2 -->
        <config/>
        
        <!-- 3 -->
        <config name="spec.with.type" type="test.type"/>
        
        <!-- 4 -->
        <config>
            <append name="A" value="bar"/>
        </config>
        
        <!-- 5 -->
        <config name="parent">
            <set name="template" value="value -> ${my.value}"/>
            <set name="my.value" value="from parent"/>
    
            <config name="child">
                <set name="my.value" value="from child"/>
            </config>
        </config>

        <!-- 6 -->
        <config name="spec.with.type2" type="test.type"/>
    
    </config>
    
    
    <config name="test_list" abstract="true">
        <append name="include" value="foo_${custom.property}"/>
        <config abstract="true">
            <append name="include" value="bar1_${custom.property}"/>
            <set name="include" value="bar2_${custom.property}"/>
            <config name="test_list_config1">
                    <set name="custom.property" value="config1"/>
            </config>

            <config name="test_list_config2">
                    <set name="custom.property" value="config2"/>
            </config>    
        </config>
    </config>

</build>