configurationengine/source/cone/confml/tests/testdata/pickle_unpickle/relevant_option_test.confml
author m2lahtel
Wed, 08 Sep 2010 12:20:56 +0300
changeset 4 0951727b8815
permissions -rw-r--r--
Updated to 1.2.13 release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     2
<configuration xmlns="http://www.s60.com/xml/confml/2"
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     3
               name="Relevant option test">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     4
  <feature ref="RelevantOptionTest" name="Relevant option test">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     5
    <desc>Feature for testing attribute 'relevant' in options.</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     6
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     7
    <setting ref="RealValue" name="Real value" type="real">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     8
      <desc>A real value used for filtering the options in NormalSelection.</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
     9
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    10
    <setting ref="IntValue" name="Int value" type="int">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    11
      <desc>An int value used for filtering the options in NormalSelection.</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    12
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    13
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    14
    <setting ref="NormalSelection" name="Normal selection" type="selection">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    15
      <desc>A selection setting</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    16
      <option name="None" value="none"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    17
      <option name="Real > 1.5" value="real15" relevant="RealValue > 1.5"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    18
      <option name="Real = 3.0" value="real30" relevant="RealValue = 3.0"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    19
      <option name="Real &lt; 3.5" value="real35" relevant="RealValue &lt; 3.5"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    20
      <option name="Int > 15" value="int15" relevant="IntValue > 15"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    21
      <option name="Int = 30" value="int30" relevant="IntValue = 30"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    22
      <option name="Int &lt; 35" value="int35" relevant="IntValue &lt; 35"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    23
      <option name="Real = 3.0 and Int = 30" value="real30_and_int30" relevant="RealValue = 3.0 and IntValue = 30"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    24
      <option name="Real = 3.0 or Int = 30" value="real30_or_int30" relevant="RealValue = 3.0 or IntValue = 30"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    25
      <option name="Feature1/StringSetting = 'test'" value="f1st_is_test" relevant="Feature1/StringSetting = 'test'"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    26
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    27
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    28
    <setting ref="Sequence1" name="Sequence 1" type="sequence" mapKey="Value" mapValue="Value">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    29
        <setting ref="Value" name="Value" type="string"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    30
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    31
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    32
    <setting ref="Sequence2" name="Sequence 2" type="sequence" mapKey="Value" mapValue="Value">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    33
        <setting ref="Value" name="Value" type="string"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    34
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    35
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    36
    <setting ref="UseSequence1Items" name="Use items from sequence 1" type="boolean">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    37
      <desc>Determines whether sequence items from Sequence1 are used in NameIdMappedSelection.</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    38
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    39
    <setting ref="UseSequence2Items" name="Use items from sequence 2" type="boolean">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    40
      <desc>Determines whether sequence items from Sequence2 are used in NameIdMappedSelection.</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    41
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    42
    
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    43
    <setting ref="NameIdMappedSelection" name="Name-ID mapped selection" type="selection">
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    44
      <desc>A selection setting with name-ID mapped options</desc>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    45
      <option name="None" value="none"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    46
      <option map="RelevantOptionTest/Sequence1" relevant="UseSequence1Items = 'true'"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    47
      <option map="RelevantOptionTest/Sequence2" relevant="UseSequence2Items = 'true'"/>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    48
    </setting>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    49
  </feature>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    50
  
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    51
  <data>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    52
    <RelevantOptionTest>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    53
        <RealValue>0.5</RealValue>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    54
        <IntValue>5</IntValue>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    55
        <NormalSelection>none</NormalSelection>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    56
        
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    57
        <Sequence1><Value>Sequence1 item 1</Value></Sequence1>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    58
        <Sequence1><Value>Sequence1 item 2</Value></Sequence1>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    59
        <Sequence1><Value>Sequence1 item 3</Value></Sequence1>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    60
        <Sequence2><Value>Sequence2 item 1</Value></Sequence2>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    61
        <Sequence2><Value>Sequence2 item 2</Value></Sequence2>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    62
        <Sequence2><Value>Sequence2 item 3</Value></Sequence2>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    63
        <UseSequence1Items>true</UseSequence1Items>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    64
        <UseSequence2Items>false</UseSequence2Items>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    65
        <NameIdMappedSelection>none</NameIdMappedSelection>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    66
    </RelevantOptionTest>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    67
  </data>
0951727b8815 Updated to 1.2.13 release
m2lahtel
parents:
diff changeset
    68
</configuration>