Ensure we put the right number of items in a struct or message and add test cases.
commite8d766e1b2d5013e3f2c0a95d43b1dcb5eb00044
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 16 Jan 2007 17:00:00 +0000 (16 17:00 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 16 Jan 2007 17:00:00 +0000 (16 17:00 +0000)
treedf3fdef2f0cf0afac3621461e7f8350413ea6fe7
parentbd2baf2aad6a7f5ecf0bf7e867e74077cf733cd6
Ensure we put the right number of items in a struct or message and add test cases.

This avoids us getting kicked off the bus when trying to put the wrong
number of things in a struct - this used to happen, but was masked by the fact
that the tests ran with service activation, so the service was just killed and
reactivated. Forthcoming changes to get_object make this automatic reactivation
not happen (messages will be directed to the unique name by default, so
stateful communication can work).
_dbus_bindings/message-append.c
test/test-standalone.py