summaryrefslogtreecommitdiffstats
path: root/src/tests/sbus_codegen_tests.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-12-11 22:23:32 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-01-23 21:29:31 +0100
commit46ee931314e6a5517f5c6b6b14f759364be119cc (patch)
treeddd462856868f8e5aad32d940302640221dd8e46 /src/tests/sbus_codegen_tests.c
parent894f09f146f0c9cda9e0f7dfe1916519d73dde72 (diff)
downloadsssd-46ee931314e6a5517f5c6b6b14f759364be119cc.tar.gz
sssd-46ee931314e6a5517f5c6b6b14f759364be119cc.tar.xz
sssd-46ee931314e6a5517f5c6b6b14f759364be119cc.zip
sbus: support multiple interfaces on single path
This patch removes the old message handler which is replaced with a new one that supports multiple interfaces registered on single object path. A hash table is used to store registered object paths and their interfaces. When an entry or the table itself is destroyed, registered object path is unregistered through delete callback. It temporarily removes support of Introspect and Properties standard D-Bus interfaces and disables unit tests of those interfaces. The support is brought back by following patches. Resolves: https://fedorahosted.org/sssd/ticket/2339 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/tests/sbus_codegen_tests.c')
-rw-r--r--src/tests/sbus_codegen_tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/sbus_codegen_tests.c b/src/tests/sbus_codegen_tests.c
index dccb5e314..07c62c5ef 100644
--- a/src/tests/sbus_codegen_tests.c
+++ b/src/tests/sbus_codegen_tests.c
@@ -1353,9 +1353,11 @@ TCase *create_handler_tests(void)
TCase *tc = tcase_create("handler");
tcase_add_test(tc, test_marshal_basic_types);
+#if false
tcase_add_test(tc, test_get_basic_types);
tcase_add_test(tc, test_getall_basic_types);
tcase_add_test(tc, test_get_basic_array_types);
+#endif
return tc;
}