dbus/test/data/valid-messages/dict.message
Havoc Pennington 5fd1e389e1 2003-08-30 Havoc Pennington <hp@pobox.com>
* test/data/valid-config-files/system.d/test.conf: change to
	root for the user so warnings don't get printed

	* dbus/dbus-message.c: add dbus_message_get_path,
	dbus_message_set_path

	* dbus/dbus-object-tree.c (do_test_dispatch): add test of
	dispatching to a path

	* dbus/dbus-string.c (_dbus_string_validate_path): add

	* dbus/dbus-marshal.c (_dbus_demarshal_object_path): implement
	(_dbus_marshal_object_path): implement

	* dbus/dbus-protocol.h (DBUS_HEADER_FIELD_PATH): new header field
	to contain the path to the target object
	(DBUS_HEADER_FIELD_SENDER_SERVICE): rename
	DBUS_HEADER_FIELD_SENDER to explicitly say it's the sender service
2003-08-31 01:51:44 +00:00

47 lines
917 B
Text

# Dict with different values
VALID_HEADER method_call
REQUIRED_FIELDS
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