/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "rfc822-parser.h"
#include "rfc2231-parser.h"
#include "test-common.h"
static void test_rfc2231_parser(void)
{
const char *input =
"; key4*=us-ascii''foo"
"; key*2=ba%"
"; key2*0=a"
"; key3*0*=us-ascii'en'xyz"
"; key*0=\"foo\""
"; key2*1*=b%25"
"; key3*1=plop%"
"; key*1=baz";
const char *output[] = {
"key",
"foobazba%",
"key2*",
"''ab%25",
"key3*",
"us-ascii'en'xyzplop%25",
"key4*",
"us-ascii''foo",
};
const char *const *result;
unsigned int i;
test_begin("rfc2231 parser");
test_end();
}
int main(void)
{
static void (*const test_functions[])(void) = {
};
return test_run(test_functions);
}