summaryrefslogtreecommitdiff
path: root/test/data/valid-messages/dict.message
blob: 6b15c627be7075cb77aaed0e2694d18e2f4e426f (plain)
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
# Dict with different values

VALID_HEADER method_call
FIELD_NAME ifce
TYPE STRING
STRING 'org.freedesktop.Foo'
FIELD_NAME mebr
TYPE STRING
STRING 'Bar'
ALIGN 8
END_LENGTH Header
START_LENGTH Body
TYPE DICT
LENGTH Dict
START_LENGTH Dict
STRING 'boolean'
TYPE BOOLEAN
BYTE 1
STRING 'int32'
TYPE INT32
INT32 0x12345678
STRING 'uint32'
TYPE UINT32
UINT32 0x8765432
STRING 'double'
TYPE DOUBLE
DOUBLE 3.141592653589
STRING 'string'
TYPE STRING
STRING 'This is a string'
STRING 'boolean_array'
TYPE ARRAY
TYPE BOOLEAN
BOOLEAN_ARRAY { true, false, false, true, false }
STRING 'int32_array'
TYPE ARRAY
TYPE INT32
INT32_ARRAY { 1, -2, 3, -4, 5, -6, 7, -8, 9, -10 }
STRING 'uint32_array'
TYPE ARRAY
TYPE UINT32
UINT32_ARRAY { 11, 12, 314, 1911, 57692, 1237, 2834 }
STRING 'double_array'
TYPE ARRAY
TYPE DOUBLE
DOUBLE_ARRAY { 0.1, 0.2, 3.1415926, 2.7183, 10.0, 9.99 }
STRING 'string_array'
TYPE ARRAY
TYPE STRING
STRING_ARRAY { 'Hello', 'This', 'Is', 'A', 'String', 'Array!' }
END_LENGTH Dict
END_LENGTH Body