aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/tests/functiontest/defaultvalues.xml
blob: af2b12f866a4872a325d48c385cc503950c0cc66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<config name="function-test">
  <bool_val>false</bool_val>
  <int_val>5</int_val>
  <long_val>1234567890123</long_val>
  <double_val>41.23</double_val>
  <string_val>foo</string_val>
  <enum_val>FOOBAR</enum_val>
  <refval>:parent:</refval>
  <fileVal>vespa.log</fileVal>

  <boolarr index="0">false</boolarr>
  <doublearr index="0">2344</doublearr>
  <doublearr index="1">123</doublearr>
  <stringarr index="0">bar</stringarr>
  <enumarr index="0">VALUES</enumarr>

  <basicStruct>
    <bar>3</bar>
    <intArr index="0">10</intArr>
  </basicStruct>

  <rootStruct>
    <inner0>
      <index>11</index>
    </inner0>
    <inner1>
      <index>12</index>
    </inner1>
    <innerArr index="0">
      <stringVal>deep</stringVal>
    </innerArr>
  </rootStruct>

  <myarray index="0">
    <stringval index="0">baah</stringval>
    <stringval index="1">yikes</stringval>
    <refval>:parent:</refval>
    <fileVal>command.com</fileVal>
    <anotherarray index="0">
      <foo>7</foo>
    </anotherarray>
    <myStruct>
      <a>1</a>
    </myStruct>
  </myarray>
  <myarray index="1">
    <refval>:parent:</refval>
    <fileVal>display.sys</fileVal>
    <anotherarray index="0">
      <foo>1</foo>
    </anotherarray>
    <anotherarray index="1">
      <foo>2</foo>
    </anotherarray>
    <myStruct>
      <a>-1</a>
    </myStruct>
  </myarray>

</config>