summaryrefslogtreecommitdiff
path: root/test/data/invalid-messages/too-short-dict.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/invalid-messages/too-short-dict.message')
-rw-r--r--test/data/invalid-messages/too-short-dict.message28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/data/invalid-messages/too-short-dict.message b/test/data/invalid-messages/too-short-dict.message
new file mode 100644
index 00000000..ffc3cc52
--- /dev/null
+++ b/test/data/invalid-messages/too-short-dict.message
@@ -0,0 +1,28 @@
+# Message with lots of different argument types
+
+VALID_HEADER method_call
+
+HEADER_FIELD INTERFACE
+TYPE STRING
+STRING 'org.freedesktop.Foo'
+HEADER_FIELD MEMBER
+TYPE STRING
+STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
+
+ALIGN 8
+
+END_LENGTH Header
+
+START_LENGTH Body
+TYPE DICT
+LENGTH Dict
+START_LENGTH Dict
+STRING 'uint32'
+TYPE UINT32
+UINT32 0x8765432
+STRING 'uint32'
+END_LENGTH Dict
+END_LENGTH Body