summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-01-28 04:20:29 +0000
committerHavoc Pennington <hp@redhat.com>2003-01-28 04:20:29 +0000
commitbec3c093cab742a953e39f1726c37345873990dc (patch)
tree28931324ec7397ba0b02bf3331893e79977f814a /test
parent4253591352ae5187824ca71d6fd034030c2f2146 (diff)
downloaddbus-bec3c093cab742a953e39f1726c37345873990dc.tar.gz
2003-01-28 Havoc Pennington <hp@pobox.com>
* dbus/dbus-message.c (check_message_handling): function to check on the loaded message, iterates over it etc.
Diffstat (limited to 'test')
-rw-r--r--test/data/valid-messages/opposite-endian.message33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/data/valid-messages/opposite-endian.message b/test/data/valid-messages/opposite-endian.message
new file mode 100644
index 00000000..864795bd
--- /dev/null
+++ b/test/data/valid-messages/opposite-endian.message
@@ -0,0 +1,33 @@
+## Message of opposite endianness, with lots of random fields in it
+
+OPPOSITE_ENDIAN
+
+## VALID_HEADER includes a LENGTH Header and LENGTH Body
+VALID_HEADER
+
+FIELD_NAME repl
+TYPE INT32
+INT32 10000
+
+FIELD_NAME name
+TYPE STRING
+STRING 'org.freedesktop.Foo'
+
+FIELD_NAME unkn
+TYPE INT32
+INT32 0xfeeb
+
+END_LENGTH Header
+
+START_LENGTH Body
+
+TYPE INT32
+INT32 89765432
+TYPE UINT32
+UINT32 0xfffffff
+TYPE STRING
+STRING 'Hello this is a string'
+TYPE DOUBLE
+DOUBLE 3.14159
+
+END_LENGTH Body