summaryrefslogtreecommitdiffstats
path: root/test/data/invalid-messages/bad-boolean.message
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-02-24 20:26:13 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-02-24 20:26:13 +0000
commit3781f063a6dfbdeafea6d1c6c8ac10c8b22f8586 (patch)
tree926d560631100b7af15d7167428f61273a258061 /test/data/invalid-messages/bad-boolean.message
parentc96500c37f69a8103b38b0d3fb90d8b37097ebcf (diff)
2003-02-24 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-marshal.c: (_dbus_marshal_validate_arg): * dbus/dbus-message-builder.c: (_dbus_message_data_load): * dbus/dbus-message.c: (dbus_message_append_boolean), (dbus_message_append_boolean_array), (dbus_message_get_args_valist), (_dbus_message_test): * dbus/dbus-message.h: * doc/dbus-specification.sgml: Various fixes as pointed out by Havoc. * test/data/invalid-messages/bad-boolean-array.message: * test/data/invalid-messages/bad-boolean.message: Add invalid boolean value test cases.
Diffstat (limited to 'test/data/invalid-messages/bad-boolean.message')
-rw-r--r--test/data/invalid-messages/bad-boolean.message10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/data/invalid-messages/bad-boolean.message b/test/data/invalid-messages/bad-boolean.message
new file mode 100644
index 00000000..0755ab5e
--- /dev/null
+++ b/test/data/invalid-messages/bad-boolean.message
@@ -0,0 +1,10 @@
+## a message with an invalid boolean value
+
+## VALID_HEADER includes a LENGTH Header and LENGTH Body
+VALID_HEADER
+ALIGN 8
+END_LENGTH Header
+START_LENGTH Body
+TYPE BOOLEAN
+BYTE 3
+END_LENGTH Body