test-dict.c revision 31257b47d47510ceb093a6b218810a1a5b830c55
/* Copyright (c) 2010-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "dict-private.h"
#include "test-common.h"
struct dict dict_driver_client;
struct dict dict_driver_file;
struct dict dict_driver_redis;
static void test_dict_escape(void)
{
static const char *input[] = {
"", "",
"foo", "foo",
"foo\\", "foo\\\\",
"foo\\bar", "foo\\\\bar",
"\\bar", "\\\\bar",
"foo/", "foo\\|",
"/bar", "\\|bar",
"////", "\\|\\|\\|\\|",
"/", "\\|"
};
unsigned int i;
test_begin("dict escape");
}
test_end();
}
int main(void)
{
static void (*test_functions[])(void) = {
};
return test_run(test_functions);
}