bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
2d84942c22d30cf7b3e53943bce1e3ad024c7c88Timo Sirainen "<foo@bar>,skipped,<foo2@bar2>",
2d84942c22d30cf7b3e53943bce1e3ad024c7c88Timo Sirainen "(c) < (c) foo (c) @ (c) bar (c) > (c)",
94fc6781711341cb3af587af236d85c74e5b1a1dTimo Sirainen "<\"foo 2\"@bar>"
2d84942c22d30cf7b3e53943bce1e3ad024c7c88Timo Sirainen unsigned int i, j;
2d84942c22d30cf7b3e53943bce1e3ad024c7c88Timo Sirainen for (i = 0, j = 0; i < N_ELEMENTS(input); i++) {
b879ed8dd4b5850987e6b89a92f794d87c6be7d7Timo Sirainen while ((next_msgid = message_id_get_next(&msgid)) != NULL) {
648a6034e304c1ffa7fa8c291e03a0bca3c20288Timo Sirainen test_assert(strcmp(output[j], next_msgid) == 0);
b879ed8dd4b5850987e6b89a92f794d87c6be7d7Timo Sirainen test_assert(output[j++] == NULL && next_msgid == NULL);
baf3e87e186453fda13bd21f7cbcb2efc8492e8bTimo Sirainen static void (*const test_functions[])(void) = {