diff options
author | Havoc Pennington <hp@redhat.com> | 2003-07-07 00:47:01 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-07-07 00:47:01 +0000 |
commit | 3f1ad214b5e5c63697ee208d459b304a4ef6e79b (patch) | |
tree | 9912979a2b6989b66c6812f21c24cdde698d032c /dbus/dbus-test.c | |
parent | 320aac6ce610bfdeedebc39d26a6d27e957275f9 (diff) |
2003-07-06 Havoc Pennington <hp@pobox.com>
* dbus/dbus-marshal.c (_dbus_marshal_set_object_id): new function
(_dbus_marshal_object_id): new
(_dbus_demarshal_object_id): new
(_dbus_marshal_get_arg_end_pos): support object ID type, and
consolidate identical switch cases. Don't conditionalize handling
of DBUS_TYPE_UINT64, need to handle the type always.
(_dbus_marshal_validate_arg): consolidate identical cases, and
handle DBUS_TYPE_OBJECT_ID
* dbus/dbus-objectid.c: new file with DBusObjectID data type.
* dbus/dbus-protocol.h: add DBUS_TYPE_OBJECT_ID
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r-- | dbus/dbus-test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index 2fbab5a4..3d5d14bb 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -99,6 +99,12 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir) die ("address parsing"); check_memleaks (); + + printf ("%s: running object ID tests\n", "dbus-test"); + if (!_dbus_object_id_test ()) + die ("object ID"); + + check_memleaks (); printf ("%s: running marshalling tests\n", "dbus-test"); if (!_dbus_marshal_test ()) |