/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "test-lib.h"
#include "str.h"
#include "istream-private.h"
#include "istream-qp.h"
static const struct {
const char *input;
const char *output;
int stream_errno;
} tests[] = {
{ "p=C3=A4=C3=A4t=C3=B6s", "p\xC3\xA4\xC3\xA4t\xC3\xB6s", 0 },
{ "p=c3=a4=c3=a4t=c3=b6s= \n", "p\xC3\xA4\xC3\xA4t\xC3\xB6s", 0 },
{ "p=c3=a4= \t \n=c3=\r\n=a4t= \r\n=c3=b6s", "p\xC3\xA4\xC3\xA4t\xC3\xB6s", 0 },
};
static void
unsigned int buffer_size)
{
const unsigned char *data;
int ret = 0;
for (i = 1; i <= qp_input_len; i++) {
}
break;
test_assert(ret == 0);
}
if (ret == 0) {
}
}
}
static void test_istream_qp_decoder(void)
{
unsigned int i, j;
for (i = 0; i < N_ELEMENTS(tests); i++) {
tests[i].stream_errno, j);
} T_END;
test_end();
}
}
int main(void)
{
static void (*const test_functions[])(void) = {
};
return test_run(test_functions);
}