aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional-tests/xml/XML_Test/Reference_Criteria.xml
diff options
context:
space:
mode:
authorJules Clero <julesx.clero@intel.com>2015-02-18 18:04:39 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:12 -0700
commitc4cc78f87e10cd3ac61f936b1c2ee3d11e9b9d02 (patch)
tree750df1de30e43327ec9a594890ec728882ea1162 /test/functional-tests/xml/XML_Test/Reference_Criteria.xml
parent4e5e78b2c3669d308003713e758d6b3a59d50b0c (diff)
downloadexternal_parameter-framework-c4cc78f87e10cd3ac61f936b1c2ee3d11e9b9d02.zip
external_parameter-framework-c4cc78f87e10cd3ac61f936b1c2ee3d11e9b9d02.tar.gz
external_parameter-framework-c4cc78f87e10cd3ac61f936b1c2ee3d11e9b9d02.tar.bz2
Parameter-Framework functional tests initial commit
Import of parameter-framework tests. Simplified test engine and use of python test discovery. Signed-off-by: Herve Garanto <hervex.garanto@intel.com> Signed-off-by: Sylvère Billout <sylverex.billout@intel.com> Signed-off-by: Philippe Colonges <philippeX.colonges@intel.com> Signed-off-by: Jules Clero <julesx.clero@intel.com>
Diffstat (limited to 'test/functional-tests/xml/XML_Test/Reference_Criteria.xml')
-rw-r--r--test/functional-tests/xml/XML_Test/Reference_Criteria.xml182
1 files changed, 182 insertions, 0 deletions
diff --git a/test/functional-tests/xml/XML_Test/Reference_Criteria.xml b/test/functional-tests/xml/XML_Test/Reference_Criteria.xml
new file mode 100644
index 0000000..76664e2
--- /dev/null
+++ b/test/functional-tests/xml/XML_Test/Reference_Criteria.xml
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ConfigurableDomains xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../Schemas/ConfigurableDomains.xsd" SystemClassName="Test">
+ <ConfigurableDomain Name="Domain_1">
+ <Configurations>
+ <Configuration Name="Conf_1_0">
+ <CompoundRule Type="All">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
+ </CompoundRule>
+ </Configuration>
+ <Configuration Name="Conf_1_1">
+ <CompoundRule Type="Any">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Excludes" Value="State_0x1"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="IsNot" Value="State_1"/>
+ </CompoundRule>
+ </Configuration>
+ </Configurations>
+ <ConfigurableElements>
+ <ConfigurableElement Path="/Test/Test/TEST_DIR" />
+ </ConfigurableElements>
+ <Settings>
+ <Configuration Name="Conf_1_1">
+ <ConfigurableElement Path="/Test/Test/TEST_DIR">
+ <Component Name="TEST_DIR">
+ <!-- Tested Booleans -->
+ <BooleanParameter Name="BOOL">0</BooleanParameter>
+ <!-- Tested FixedPoints -->
+ <FixedPointParameter Name="FP8_Q0.7">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP8_Q7.0">1</FixedPointParameter>
+ <FixedPointParameter Name="FP8_Q3.4">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q0.15">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q15.0">1</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q7.8">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q0.31">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q31.0">1</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q15.16">0.1</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q8.20">0.1</FixedPointParameter>
+ <!-- Tested Integers -->
+ <IntegerParameter Name="UINT32">0</IntegerParameter>
+ <IntegerParameter Name="INT32">0</IntegerParameter>
+ <IntegerParameter Name="UINT32_Max">0</IntegerParameter>
+ <IntegerParameter Name="INT32_Max">0</IntegerParameter>
+ <IntegerParameter Name="UINT16">0</IntegerParameter>
+ <IntegerParameter Name="INT16">0</IntegerParameter>
+ <IntegerParameter Name="UINT16_Max">0</IntegerParameter>
+ <IntegerParameter Name="INT16_Max">0</IntegerParameter>
+ <IntegerParameter Name="UINT8">0</IntegerParameter>
+ <IntegerParameter Name="INT8">0</IntegerParameter>
+ <IntegerParameter Name="UINT8_Max">0</IntegerParameter>
+ <IntegerParameter Name="INT8_Max">0</IntegerParameter>
+ <!-- Tested Arrays -->
+ <IntegerParameter Name="UINT32_ARRAY">0</IntegerParameter>
+ <IntegerParameter Name="INT16_ARRAY">0</IntegerParameter>
+ <IntegerParameter Name="UINT8_ARRAY">0</IntegerParameter>
+ <IntegerParameter Name="UINT8_Max_ARRAY">0</IntegerParameter>
+ <!-- Tested String-->
+ <StringParameter Name="STR_CHAR128">string_Conf_1_1</StringParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ <Configuration Name="Conf_1_0">
+ <ConfigurableElement Path="/Test/Test/TEST_DIR">
+ <Component Name="TEST_DIR">
+ <!-- Tested Booleans -->
+ <BooleanParameter Name="BOOL">1</BooleanParameter>
+ <!-- Tested FixedPoints -->
+ <FixedPointParameter Name="FP8_Q0.7">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP8_Q7.0">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP8_Q3.4">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q0.15">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q15.0">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP16_Q7.8">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q0.31">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q31.0">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q15.16">0.9</FixedPointParameter>
+ <FixedPointParameter Name="FP32_Q8.20">0.9</FixedPointParameter>
+ <!-- Tested Integers -->
+ <IntegerParameter Name="UINT32">1</IntegerParameter>
+ <IntegerParameter Name="INT32">-1</IntegerParameter>
+ <IntegerParameter Name="UINT32_Max">1</IntegerParameter>
+ <IntegerParameter Name="INT32_Max">-1</IntegerParameter>
+ <IntegerParameter Name="UINT16">1</IntegerParameter>
+ <IntegerParameter Name="INT16">-1</IntegerParameter>
+ <IntegerParameter Name="UINT16_Max">1</IntegerParameter>
+ <IntegerParameter Name="INT16_Max">-1</IntegerParameter>
+ <IntegerParameter Name="UINT8">1</IntegerParameter>
+ <IntegerParameter Name="INT8">-1</IntegerParameter>
+ <IntegerParameter Name="UINT8_Max">1</IntegerParameter>
+ <IntegerParameter Name="INT8_Max">-1</IntegerParameter>
+ <!-- Tested Arrays -->
+ <IntegerParameter Name="UINT32_ARRAY">1</IntegerParameter>
+ <IntegerParameter Name="INT16_ARRAY">-1</IntegerParameter>
+ <IntegerParameter Name="UINT8_ARRAY">1</IntegerParameter>
+ <IntegerParameter Name="UINT8_Max_ARRAY">1</IntegerParameter>
+ <!-- Tested String-->
+ <StringParameter Name="STR_CHAR128">string_Conf_1_0</StringParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ </Settings>
+ </ConfigurableDomain>
+
+ <ConfigurableDomain Name="Domain_2">
+ <Configurations>
+ <Configuration Name="Conf_2_0">
+ <CompoundRule Type="All">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="IsNot" Value="State_1"/>
+ </CompoundRule>
+ </Configuration>
+ <Configuration Name="Conf_2_1">
+ <CompoundRule Type="All">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x2"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
+ </CompoundRule>
+ </Configuration>
+ </Configurations>
+ <ConfigurableElements>
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0" />
+ </ConfigurableElements>
+ <Settings>
+ <Configuration Name="Conf_2_1">
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0">
+ <Component Name="TEST_DOMAIN_0">
+ <IntegerParameter Name="Param_00">4</IntegerParameter>
+ <IntegerParameter Name="Param_01">4</IntegerParameter>
+ <IntegerParameter Name="Param_02">4</IntegerParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ <Configuration Name="Conf_2_0">
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_0">
+ <Component Name="TEST_DOMAIN_0">
+ <IntegerParameter Name="Param_00">5</IntegerParameter>
+ <IntegerParameter Name="Param_01">5</IntegerParameter>
+ <IntegerParameter Name="Param_02">5</IntegerParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ </Settings>
+ </ConfigurableDomain>
+
+ <ConfigurableDomain Name="Domain_3">
+ <Configurations>
+ <Configuration Name="Conf_3_0">
+ <CompoundRule Type="Any">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x1"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_0"/>
+ </CompoundRule>
+ </Configuration>
+ <Configuration Name="Conf_3_1">
+ <CompoundRule Type="Any">
+ <SelectionCriterionRule SelectionCriterion="Crit_0" MatchesWhen="Includes" Value="State_0x2"/>
+ <SelectionCriterionRule SelectionCriterion="Crit_1" MatchesWhen="Is" Value="State_1"/>
+ </CompoundRule>
+ </Configuration>
+ </Configurations>
+ <ConfigurableElements>
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1" />
+ </ConfigurableElements>
+ <Settings>
+ <Configuration Name="Conf_3_1">
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1">
+ <Component Name="TEST_DOMAIN_1">
+ <IntegerParameter Name="Param_10">4</IntegerParameter>
+ <IntegerParameter Name="Param_11">4</IntegerParameter>
+ <IntegerParameter Name="Param_12">4</IntegerParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ <Configuration Name="Conf_3_0">
+ <ConfigurableElement Path="/Test/Test/TEST_DOMAIN_1">
+ <Component Name="TEST_DOMAIN_1">
+ <IntegerParameter Name="Param_10">5</IntegerParameter>
+ <IntegerParameter Name="Param_11">5</IntegerParameter>
+ <IntegerParameter Name="Param_12">5</IntegerParameter>
+ </Component>
+ </ConfigurableElement>
+ </Configuration>
+ </Settings>
+ </ConfigurableDomain>
+</ConfigurableDomains>