summaryrefslogtreecommitdiff
path: root/test/data/valid-messages/lots-of-arguments.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/valid-messages/lots-of-arguments.message')
-rw-r--r--test/data/valid-messages/lots-of-arguments.message65
1 files changed, 65 insertions, 0 deletions
diff --git a/test/data/valid-messages/lots-of-arguments.message b/test/data/valid-messages/lots-of-arguments.message
new file mode 100644
index 00000000..bdaae0f8
--- /dev/null
+++ b/test/data/valid-messages/lots-of-arguments.message
@@ -0,0 +1,65 @@
+# Message with lots of different argument types
+
+VALID_HEADER method_call
+REQUIRED_FIELDS
+ALIGN 8
+END_LENGTH Header
+START_LENGTH Body
+TYPE NIL
+TYPE BYTE
+BYTE 42
+TYPE INT32
+INT32 0x12345678
+TYPE UINT32
+UINT32 0x8765432
+TYPE DOUBLE
+DOUBLE 3.141592653589
+TYPE STRING
+STRING 'This is a string'
+TYPE ARRAY
+TYPE BOOLEAN
+BOOLEAN_ARRAY { true, false, false, true, false }
+TYPE ARRAY
+TYPE INT32
+INT32_ARRAY { 1, -2, 3, -4, 5, -6, 7, -8, 9, -10 }
+TYPE ARRAY
+TYPE UINT32
+UINT32_ARRAY { 11, 12, 314, 1911, 57692, 1237, 2834 }
+TYPE ARRAY
+TYPE DOUBLE
+DOUBLE_ARRAY { 0.1, 0.2, 3.1415926, 2.7183, 10.0, 9.99 }
+TYPE ARRAY
+TYPE STRING
+STRING_ARRAY { 'Hello', 'This', 'Is', 'A', 'String', 'Array!' }
+TYPE CUSTOM
+STRING 'named type'
+BYTE_ARRAY { 'b', 'i', 'n', 'a', 'r', 'y', 'd', 'a', 't', 'a' }
+
+TYPE ARRAY
+TYPE DICT
+LENGTH Array
+START_LENGTH Array
+
+LENGTH Dict1
+START_LENGTH Dict1
+STRING 'key1'
+TYPE INT32
+INT32 0x12345678
+STRING 'key2'
+TYPE UINT32
+UINT32 0x8765432
+END_LENGTH Dict1
+
+LENGTH Dict2
+START_LENGTH Dict2
+STRING 'key1'
+TYPE INT32
+INT32 0x12345678
+STRING 'key2'
+TYPE UINT32
+UINT32 0x8765432
+END_LENGTH Dict2
+
+END_LENGTH Array
+
+END_LENGTH Body