Commit cf0d5e9e authored by Sandro Knauß's avatar Sandro Knauß

Test a not covered codepath in DefaultRenderer.

A PGP Block, that is no real block so we need to render as a normal
Textblock.
parent bc138231
From test@kolab.org Wed, 25 May 2011 23:49:40 +0100
From: OpenPGP Test <test@kolab.org>
To: test@kolab.org
Subject: inlinepgpencrypted - no seckey
Date: Wed, 25 May 2011 23:49:40 +0100
Message-ID: <1786696.yKXrOjjflF@herrwackelpudding.localhost>
X-KMail-Transport: GMX
X-KMail-Fcc: 28
X-KMail-Drafts: 7
X-KMail-Templates: 9
User-Agent: KMail/4.6 beta5 (Linux/2.6.34.7-0.7-desktop; KDE/4.6.41; x86_64; git-0269848; 2011-04-19)
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2
asdf
asdf
asdf
-----END PGP MESSAGE-----
<?xml version="1.0" encoding="UTF8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div style="position: relative; word-wrap: break-word">
<a name="att"/>
<div id="attachmentDiv">
<div class="noquote">
<div dir="ltr">-----BEGIN PGP MESSAGE-----</div>
<div dir="ltr">Version: GnuPG v2</div>
<br/>
<div dir="ltr">asdf</div>
<div dir="ltr">asdf</div>
<div dir="ltr">asdf</div>
<br/>
<div dir="ltr">-----END PGP MESSAGE-----</div>
</div>
</div>
</div>
</body>
</html>
* MimeTreeParser::MessagePartList
* MimeTreeParser::TextMessagePart
* MimeTreeParser::EncryptedMessagePart
From: test <test@kolab.org>
To: you@you.de
Subject: test
Date: Tue, 25 Aug 2015 16:47:10 +0200
Message-ID: <1662097.O9NVKTC5pT@11b508545ba2>
X-KMail-Identity: 1428848833
User-Agent: KMail/4.13.0.3 (Linux/4.1.0-rc5-siduction-amd64; KDE/4.14.3; x86_64; git-7c86098; 2015-08-23)
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
ohno =F6=E4=FC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
no signature
-----END PGP SIGNATURE-----
<?xml version="1.0" encoding="UTF8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div style="position: relative; word-wrap: break-word">
<a name="att"/>
<div id="attachmentDiv">
<div class="noquote">
<div dir="ltr">-----BEGIN PGP SIGNED MESSAGE-----</div>
<div dir="ltr">Hash: SHA256</div>
<br/>
<div dir="ltr">ohno öäü</div>
<div dir="ltr">-----BEGIN PGP SIGNATURE-----</div>
<div dir="ltr">Version: GnuPG v2</div>
<br/>
<div dir="ltr">no signature</div>
<div dir="ltr">-----END PGP SIGNATURE-----</div>
</div>
</div>
</div>
</body>
</html>
* MimeTreeParser::MessagePartList
* MimeTreeParser::TextMessagePart
* MimeTreeParser::SignedMessagePart
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment