__print_map(browser)
__print_map(pgp)
__print_map(smime)
-__print_map(summary)
__print_map(mixmaster)
__print_map(editor)
__print_map(autocrypt account)
test/date/mutt_date_parse_date.o \
test/date/mutt_date_parse_imap.o
-EMAIL_OBJS = test/email/email_new.o \
+EMAIL_OBJS = test/email/common.o \
+ test/email/email_new.o \
test/email/email_free.o \
test/email/email_size.o \
test/email/email_cmp_strict.o
--- /dev/null
+/**
+ * @file
+ * Shared Testing Code
+ *
+ * @authors
+ * Copyright (C) 2019 Richard Russon <rich@flatcap.org>
+ *
+ * @copyright
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 2 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define TEST_NO_MAIN
+#include "acutest.h"
+#include "config.h"
+#include "common.h"
+
+int mutt_autocrypt_process_autocrypt_header(struct Email *e, struct Envelope *env)
+{
+ return -1;
+}
--- /dev/null
+/**
+ * @file
+ * Shared Testing Code
+ *
+ * @authors
+ * Copyright (C) 2019 Richard Russon <rich@flatcap.org>
+ *
+ * @copyright
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 2 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef TEST_EMAIL_COMMON_H
+#define TEST_EMAIL_COMMON_H
+
+struct Email;
+struct Envelope;
+
+int mutt_autocrypt_process_autocrypt_header(struct Email *e, struct Envelope *env);
+
+#endif /* TEST_EMAIL_COMMON_H */