Home | History | Annotate | Download | only in XML_Test
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <ConfigurableDomains
      3   SystemClassName="Test">
      4 	<ConfigurableDomain Name="Domain_1">
      5 		<Configurations>
      6 			<Configuration Name="Conf_1_0">
      7 				<CompoundRule Type="All">
      8 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
      9 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
     10 				</CompoundRule>
     11 			</Configuration>
     12 			<Configuration Name="Conf_1_1">
     13 				<CompoundRule Type="Any">
     14 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x2"/>
     15 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="IsNot" Value="State_1"/>
     16 				</CompoundRule>
     17 			</Configuration>
     18 		</Configurations>
     19 		<ConfigurableElements>
     20 			<ConfigurableElement Path="/Test/Test/TEST_DIR" />
     21 		</ConfigurableElements>
     22 		<Settings>
     23 			<Configuration Name="Conf_1_1">
     24 				<ConfigurableElement Path="/Test/Test/TEST_DIR">
     25                                         <!-- The 'Component' tag has been renamed to 'ParameterBlock', but retro-compatibility is needed.
     26                                              So keeping 'Component' to test it. -->
     27 					<Component Name="TEST_DIR">
     28 						<!-- Tested Booleans -->
     29 						<BooleanParameter Name="BOOL">0</BooleanParameter>
     30 						<!-- Tested FixedPoints -->
     31 						<FixedPointParameter Name="FP8_Q0.7">0.1</FixedPointParameter>
     32 						<FixedPointParameter Name="FP8_Q7.0">2</FixedPointParameter>
     33 						<FixedPointParameter Name="FP8_Q3.4">2.1</FixedPointParameter>
     34 						<FixedPointParameter Name="FP16_Q0.15">0.1</FixedPointParameter>
     35 						<FixedPointParameter Name="FP16_Q15.0">2</FixedPointParameter>
     36 						<FixedPointParameter Name="FP16_Q7.8">2</FixedPointParameter>
     37 						<FixedPointParameter Name="FP32_Q0.31">0.1</FixedPointParameter>
     38 						<FixedPointParameter Name="FP32_Q31.0">2</FixedPointParameter>
     39 						<FixedPointParameter Name="FP32_Q15.16">2.1</FixedPointParameter>
     40 						<FixedPointParameter Name="FP32_Q8.20">2.1</FixedPointParameter>
     41 						<!-- Tested Integers -->
     42 						<IntegerParameter Name="UINT32">0</IntegerParameter>
     43 						<IntegerParameter Name="INT32">0</IntegerParameter>
     44 						<IntegerParameter Name="UINT32_Max">0</IntegerParameter>
     45 						<IntegerParameter Name="INT32_Max">0</IntegerParameter>
     46 						<IntegerParameter Name="UINT16">0</IntegerParameter>
     47 						<IntegerParameter Name="INT16">0</IntegerParameter>
     48 						<IntegerParameter Name="UINT16_Max">0</IntegerParameter>
     49 						<IntegerParameter Name="INT16_Max">0</IntegerParameter>
     50 						<IntegerParameter Name="UINT8">0</IntegerParameter>
     51 						<IntegerParameter Name="INT8">0</IntegerParameter>
     52 						<IntegerParameter Name="UINT8_Max">0</IntegerParameter>
     53 						<IntegerParameter Name="INT8_Max">0</IntegerParameter>
     54 						<!-- Tested Arrays -->
     55 						<IntegerParameter Name="UINT32_ARRAY">0</IntegerParameter>
     56 						<IntegerParameter Name="INT16_ARRAY">0</IntegerParameter>
     57 						<IntegerParameter Name="UINT8_ARRAY">0</IntegerParameter>
     58 						<IntegerParameter Name="UINT8_Max_ARRAY">0</IntegerParameter>
     59 						<!-- Tested String-->
     60 						<StringParameter Name="STR_CHAR128">string_Conf_1_1</StringParameter>
     61 					</Component>
     62 				</ConfigurableElement>
     63 			</Configuration>
     64 			<Configuration Name="Conf_1_0">
     65 				<ConfigurableElement Path="/Test/Test/TEST_DIR">
     66 					<Component Name="TEST_DIR">
     67 						<!-- Tested Booleans -->
     68 						<BooleanParameter Name="BOOL">1</BooleanParameter>
     69 						<!-- Tested FixedPoints -->
     70 						<FixedPointParameter Name="FP8_Q0.7">0.2</FixedPointParameter>
     71 						<FixedPointParameter Name="FP8_Q7.0">1</FixedPointParameter>
     72 						<FixedPointParameter Name="FP8_Q3.4">1.2</FixedPointParameter>
     73 						<FixedPointParameter Name="FP16_Q0.15">0.2</FixedPointParameter>
     74 						<FixedPointParameter Name="FP16_Q15.0">1</FixedPointParameter>
     75 						<FixedPointParameter Name="FP16_Q7.8">1.2</FixedPointParameter>
     76 						<FixedPointParameter Name="FP32_Q0.31">0.2</FixedPointParameter>
     77 						<FixedPointParameter Name="FP32_Q31.0">1</FixedPointParameter>
     78 						<FixedPointParameter Name="FP32_Q15.16">1.2</FixedPointParameter>
     79 						<FixedPointParameter Name="FP32_Q8.20">1.2</FixedPointParameter>
     80 						<!-- Tested Integers -->
     81 						<IntegerParameter Name="UINT32">1</IntegerParameter>
     82 						<IntegerParameter Name="INT32">-1</IntegerParameter>
     83 						<IntegerParameter Name="UINT32_Max">1</IntegerParameter>
     84 						<IntegerParameter Name="INT32_Max">-1</IntegerParameter>
     85 						<IntegerParameter Name="UINT16">1</IntegerParameter>
     86 						<IntegerParameter Name="INT16">-1</IntegerParameter>
     87 						<IntegerParameter Name="UINT16_Max">1</IntegerParameter>
     88 						<IntegerParameter Name="INT16_Max">-1</IntegerParameter>
     89 						<IntegerParameter Name="UINT8">1</IntegerParameter>
     90 						<IntegerParameter Name="INT8">-1</IntegerParameter>
     91 						<IntegerParameter Name="UINT8_Max">1</IntegerParameter>
     92 						<IntegerParameter Name="INT8_Max">-1</IntegerParameter>
     93 						<!-- Tested Arrays -->
     94 						<IntegerParameter Name="UINT32_ARRAY">1</IntegerParameter>
     95 						<IntegerParameter Name="INT16_ARRAY">-1</IntegerParameter>
     96 						<IntegerParameter Name="UINT8_ARRAY">1</IntegerParameter>
     97 						<IntegerParameter Name="UINT8_Max_ARRAY">1</IntegerParameter>
     98 						<!-- Tested String-->
     99 						<StringParameter Name="STR_CHAR128">string_Conf_1_0</StringParameter>
    100 					</Component>
    101 				</ConfigurableElement>
    102 			</Configuration>
    103 		</Settings>
    104 	</ConfigurableDomain>
    105 
    106 	<ConfigurableDomain Name="Domain_2">
    107 		<Configurations>
    108 			<Configuration Name="Conf_2_0">
    109 				<CompoundRule Type="All">
    110 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
    111 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
    112 				</CompoundRule>
    113 			</Configuration>
    114 			<Configuration Name="Conf_2_1">
    115 				<CompoundRule Type="Any">
    116 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x2"/>
    117 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="IsNot" Value="State_1"/>
    118 				</CompoundRule>
    119 			</Configuration>
    120 		</Configurations>
    121 		<ConfigurableElements>
    122 			<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0" />
    123 		</ConfigurableElements>
    124 		<Settings>
    125 			<Configuration Name="Conf_2_1">
    126 				<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0">
    127 					<Component Name="TEST_DOMAIN_0">
    128 						<IntegerParameter Name="Param_00">4</IntegerParameter>
    129 						<IntegerParameter Name="Param_01">4</IntegerParameter>
    130 						<IntegerParameter Name="Param_02">4</IntegerParameter>
    131 					</Component>
    132 				</ConfigurableElement>
    133 			</Configuration>
    134 			<Configuration Name="Conf_2_0">
    135 				<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0">
    136 					<Component Name="TEST_DOMAIN_0">
    137 						<IntegerParameter Name="Param_00">5</IntegerParameter>
    138 						<IntegerParameter Name="Param_01">5</IntegerParameter>
    139 						<IntegerParameter Name="Param_02">5</IntegerParameter>
    140 					</Component>
    141 				</ConfigurableElement>
    142 			</Configuration>
    143 		</Settings>
    144 	</ConfigurableDomain>
    145 
    146 	<ConfigurableDomain Name="Domain_3">
    147 		<Configurations>
    148 			<Configuration Name="Conf_3_0">
    149 				<CompoundRule Type="All">
    150 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
    151 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
    152 				</CompoundRule>
    153 			</Configuration>
    154 			<Configuration Name="Conf_3_1">
    155 				<CompoundRule Type="Any">
    156 					<SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x2"/>
    157 					<SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="IsNot" Value="State_1"/>
    158 				</CompoundRule>
    159 			</Configuration>
    160 		</Configurations>
    161 		<ConfigurableElements>
    162 			<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1" />
    163 		</ConfigurableElements>
    164 		<Settings>
    165 			<Configuration Name="Conf_3_1">
    166 				<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1">
    167 					<Component Name="TEST_DOMAIN_1">
    168 						<IntegerParameter Name="Param_10">4</IntegerParameter>
    169 						<IntegerParameter Name="Param_11">4</IntegerParameter>
    170 						<IntegerParameter Name="Param_12">4</IntegerParameter>
    171 					</Component>
    172 				</ConfigurableElement>
    173 			</Configuration>
    174 			<Configuration Name="Conf_3_0">
    175 				<ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1">
    176 					<Component Name="TEST_DOMAIN_1">
    177 						<IntegerParameter Name="Param_10">5</IntegerParameter>
    178 						<IntegerParameter Name="Param_11">5</IntegerParameter>
    179 						<IntegerParameter Name="Param_12">5</IntegerParameter>
    180 					</Component>
    181 				</ConfigurableElement>
    182 			</Configuration>
    183 		</Settings>
    184 	</ConfigurableDomain>
    185 </ConfigurableDomains>
    186