test-imap-match.c revision 7cb128dc4cae2a03a742f63ba7afee23c78e3af0
/* Copyright (c) 2008-2015 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "imap-match.h"
#include "test-common.h"
struct test_imap_match {
const char *pattern;
const char *input;
enum imap_match_result result;
};
static void test_imap_match(void)
{
struct test_imap_match test[] = {
};
struct test_imap_match inbox_test[] = {
};
unsigned int i;
/* first try tests without inboxcasing */
test_begin("imap match");
for (i = 0; i < N_ELEMENTS(test); i++) {
FALSE, '/');
/* test the dup after clearing first one's memory */
}
/* inboxcasing tests */
for (i = 0; i < N_ELEMENTS(inbox_test); i++) {
TRUE, '/');
/* test the dup after clearing first one's memory */
}
pool_unref(&pool);
test_end();
}
static void test_imap_match_globs_equal(void)
{
struct imap_match_glob *glob;
test_begin("imap match globs equal");
pool_unref(&pool);
test_end();
}
int main(void)
{
static void (*test_functions[])(void) = {
};
return test_run(test_functions);
}