]> Sergey Matveev's repositories - public-inbox.git/commit
tests: remove Email::MIME->create use entirely
authorEric Wong <e@yhbt.net>
Sat, 25 Apr 2020 05:52:22 +0000 (05:52 +0000)
committerEric Wong <e@yhbt.net>
Sun, 26 Apr 2020 07:03:14 +0000 (07:03 +0000)
commite39585ee2bdcbeaab7b6bd33b3568021042d0879
treeb130b0ce73d8ce9624424c4de6999481ab96439d
parent5d8dbb4aca5afcc6b98a4d951f03003fb7eaf356
tests: remove Email::MIME->create use entirely

Replace them with .eml files generated with the help of
Email::MIME, but without some extraneous and unnecessary
headers, and strip mime_load down to just loading files.

This will give us more freedom to experiment with other mail
libraries which may be more correct, better maintained, use
less memory and/or be faster than Email::MIME.
22 files changed:
MANIFEST
lib/PublicInbox/TestCommon.pm
t/filter_base-junk.eml [new file with mode: 0644]
t/filter_base-xhtml.eml [new file with mode: 0644]
t/filter_base.t
t/filter_mirror.t
t/mda-mime.eml [new file with mode: 0644]
t/mda.t
t/msg_iter-nested.eml [new file with mode: 0644]
t/msg_iter-order.eml [new file with mode: 0644]
t/msg_iter.t
t/plack-2-txt-bodies.eml [new file with mode: 0644]
t/plack-attached-patch.eml [new file with mode: 0644]
t/plack-qp.eml [new file with mode: 0644]
t/plack.t
t/psgi_attach.eml [new file with mode: 0644]
t/psgi_attach.t
t/psgi_v2-new.eml [new file with mode: 0644]
t/psgi_v2-old.eml [new file with mode: 0644]
t/psgi_v2.t
t/search-amsg.eml [new file with mode: 0644]
t/search.t