summaryrefslogtreecommitdiffstats
path: root/src/tests/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/common.h')
-rw-r--r--src/tests/common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tests/common.h b/src/tests/common.h
index 149356af4..54da18f6a 100644
--- a/src/tests/common.h
+++ b/src/tests/common.h
@@ -100,4 +100,19 @@ int test_ev_loop(struct sss_test_ctx *tctx);
bool ldb_modules_path_is_set(void);
+DBusConnection *
+test_dbus_setup_mock(TALLOC_CTX *mem_ctx,
+ struct tevent_context *loop,
+ sbus_server_conn_init_fn init_fn,
+ void *init_pvt_data);
+
+DBusMessage *
+test_dbus_call_sync(DBusConnection *conn,
+ const char *object_path,
+ const char *interface,
+ const char *method,
+ DBusError *error,
+ int first_arg_type,
+ ...);
+
#endif /* !__TESTS_COMMON_H__ */