From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CFB691F9E0 for ; Sat, 25 Apr 2020 05:52:23 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] remove Email::MIME->create use Date: Sat, 25 Apr 2020 05:52:20 +0000 Message-Id: <20200425055223.21879-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Instead, I used Email::MIME->create for a final time with [1/3] to generate the data for [2/3]. Reducing dependencies on Email::MIME will make it easier for us to switch it out with a potentially better alternative. Eric Wong (3): testcommon: introduce mime_load sub tests: remove Email::MIME->create use entirely tests: replace mime_from_path with mime_load MANIFEST | 12 ++++++++ lib/PublicInbox/TestCommon.pm | 8 +++++- t/filter_base-junk.eml | 19 +++++++++++++ t/filter_base-xhtml.eml | 19 +++++++++++++ t/filter_base.t | 53 ++--------------------------------- t/filter_mirror.t | 30 ++------------------ t/mda-mime.eml | 21 ++++++++++++++ t/mda.t | 37 ++---------------------- t/msg_iter-nested.eml | 26 +++++++++++++++++ t/msg_iter-order.eml | 16 +++++++++++ t/msg_iter.t | 24 ++++------------ t/nntpd-tls.t | 4 +-- t/plack-2-txt-bodies.eml | 17 +++++++++++ t/plack-attached-patch.eml | 20 +++++++++++++ t/plack-qp.eml | 8 ++++++ t/plack.t | 53 ++--------------------------------- t/psgi_attach.eml | 38 +++++++++++++++++++++++++ t/psgi_attach.t | 44 ++--------------------------- t/psgi_v2-new.eml | 17 +++++++++++ t/psgi_v2-old.eml | 17 +++++++++++ t/psgi_v2.t | 22 ++------------- t/search-amsg.eml | 23 +++++++++++++++ t/search.t | 36 ++---------------------- t/solver_git.t | 4 +-- 24 files changed, 286 insertions(+), 282 deletions(-) create mode 100644 t/filter_base-junk.eml create mode 100644 t/filter_base-xhtml.eml create mode 100644 t/mda-mime.eml create mode 100644 t/msg_iter-nested.eml create mode 100644 t/msg_iter-order.eml create mode 100644 t/plack-2-txt-bodies.eml create mode 100644 t/plack-attached-patch.eml create mode 100644 t/plack-qp.eml create mode 100644 t/psgi_attach.eml create mode 100644 t/psgi_v2-new.eml create mode 100644 t/psgi_v2-old.eml create mode 100644 t/search-amsg.eml