/* Copyright (c) 2014-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "test-common.h"
#include "settings-parser.h"
#include "master-service-private.h"
#include "master-service-settings.h"
#include "master-service-settings-cache.h"
struct test_service_settings {
const char *foo;
};
};
.foo = ""
};
.module_name = "module",
.struct_size = sizeof(struct test_service_settings),
};
struct master_service_settings_output *output_r,
const char **error_r ATTR_UNUSED)
{
return 0;
}
const struct master_service_settings *
{
return &set;
}
static void test_master_service_settings_cache_once(void)
{
const char *error;
if (output.used_local) {
}
if (output.used_remote) {
}
}
static void test_master_service_settings_cache(void)
{
int i, j;
for (i = 1; i < 4; i++) {
"module", "service_name");
for (j = 0; j < 1000; j++)
}
}
int main(void)
{
static void (*const test_functions[])(void) = {
};
int ret;
pool_unref(&pool);
return ret;
}