common.h revision cffe3defa3cb5011efc92a7773fe113a1e69774f
f545d156561c08020a67f9640c51454c2df4fb57fabien Common utilities for check-based tests using talloc.
f545d156561c08020a67f9640c51454c2df4fb57fabien Martin Nagy <mnagy@redhat.com>
f545d156561c08020a67f9640c51454c2df4fb57fabien Copyright (C) Red Hat, Inc 2009
along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __TESTS_COMMON_H__
#define __TESTS_COMMON_H__
#include <talloc.h>
#include "providers/data_provider.h"
const char *location);
bool leak_check_setup(void);
bool leak_check_teardown(void);
const char *check_leaks_err_msg(void);
void tests_set_cwd(void);
struct sss_test_ctx {
char *confdb_path;
char *conf_dom_path;
bool done;
int error;
struct sss_test_conf_param {
const char *key;
const char *value;
struct sss_test_ctx *
const char *tests_path,
const char *cdb_file,
const char **domains,
const char *id_provider,
struct sss_test_ctx *
const char *tests_path,
const char *confdb_path,
const char *domain_name,
const char *id_provider,
const char *cdb_file,
const char **domains);
const char *cdb_file,
const char *domain);
struct tevent_req *
bool ldb_modules_path_is_set(void);
void *init_pvt_data);
const char *object_path,
const char *interface,
const char *method,
int first_arg_type,
const char *name,