[pim/kdepim-addons] plugins/messageviewer/bodypartformatter/autotests/data: Adapt render test reference data

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 5aba4dfbb3a351ed50062b09b953fdfc2178d5ee by Volker Krause.
Committed on 15/08/2026 at 05:53.
Pushed by vkrause into branch 'master'.

Adapt render test reference data

M  +5    -5    plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
M  +2    -11   plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html
M  +2    -14   plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html.running
M  +2    -2    plugins/messageviewer/bodypartformatter/autotests/data/message-with-two-openpgp-key.mbox.html
M  +8    -6    plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-decrypted.mbox.html
M  +8    -6    plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-multipart-decrypted.mbox.html
M  +3    -6    plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-response-decrypted.mbox.html

https://invent.kde.org/pim/kdepim-addons/-/commit/5aba4dfbb3a351ed50062b09b953fdfc2178d5ee

diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
index ab69ebc47..8bceb6d48 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
@@ -16,7 +16,7 @@ a.itineraryButton span {
 border-radius:2px;
 border: 1px solid;
 border-color:rgba(167, 165, 162, 1);
-background: linear-gradient(#f2eeea, #e8e5e1);
+background: linear-gradient(#f1ede9, #e8e4e0);
 padding: 6px;
 box-shadow: 1px 1px 1px rgba(118, 116, 114, 0.14902);
 color:#000000;
@@ -29,7 +29,7 @@ a.itineraryButton:hover span {
 border-color: rgba(125, 175, 198, 1);
 }
 a.itineraryButton:active span {
-background: linear-gradient(#c1bebb, #bab7b4);
+background: linear-gradient(#c1bebb, #bab7b3);
 }
 a.itineraryButton:active {
 padding: 1px 0px 0px 1px;
@@ -38,11 +38,11 @@ padding: 1px 0px 0px 1px;
       <table style="width:100%;">
         <tr>
           <td style="width:33%;" title="">
-            <span style="font-size:200%;">ZRH<div style="display:inline-block;vertical-align:middle;"><a href="https://www.openstreetmap.org/#map=13/47.452301025390625/8.560830116271973"><img src="file:map-symbolic.svg" align="top" height="16" width="16" alt="Show location on map" title="Show location on map"/></a></div></span>
+            <span style="font-size:200%;">ZRH<div style="display:inline-block;vertical-align:middle;"><a href="geo:47.4523,8.56083?z=13"><img src="file:map-symbolic.svg" align="top" height="16" width="16" alt="Show location on map" title="Show location on map"/></a></div></span>
           </td>
           <td style="font-size:200%; width:33%; text-align:center;">✈</td>
           <td style="width:33%;" title="">
-            <span style="font-size:200%;">TXL<div style="display:inline-block;vertical-align:middle;"><a href="https://www.openstreetmap.org/#map=13/52.55379867553711/13.29319953918457"><img src="file:map-symbolic.svg" align="top" height="16" width="16" alt="Show location on map" title="Show location on map"/></a></div></span>
+            <span style="font-size:200%;">TXL<div style="display:inline-block;vertical-align:middle;"><a href="geo:52.55379867553711,13.29319953918457?z=13"><img src="file:map-symbolic.svg" align="top" height="16" width="16" alt="Show location on map" title="Show location on map"/></a></div></span>
           </td>
         </tr>
         <tr>
@@ -53,7 +53,7 @@ padding: 1px 0px 0px 1px;
         <tr>
           <td colspan="3">
             <div style="float:left"><a href="x-kmail:/bodypart/0//semanticExpand?0"><img src="file:quoteexpand.png" style="margin-right: 4px;"/></a>Gate: AB
-Boarding: 8:25 PM CEST
+Boarding: 8:25 PM CEST
 Seat: 10E</div>
             <div style="float:right"/>
           </td>
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html
index 7851f27e4..e37ea8fed 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html
@@ -7,16 +7,7 @@
       <div id="attachmentDiv">
         <table cellspacing="1" cellpadding="1" class="signWarn">
           <tr class="signWarnH">
-            <td dir="ltr">
-              <table cellspacing="0" cellpadding="0" width="100%">
-                <tr>
-                  <td>Not enough information to check signature validity.</td>
-                  <td align="right">
-                    <a href="kmail:showSignatureDetails">Show Details</a>
-                  </td>
-                </tr>
-              </table>
-            </td>
+            <td dir="ltr">Signature created on 5/19/17 3:20 PM using an unknown certificate with fingerprint <br/><a href="certificate:96EC9E728272B158054B6A3110F5C047999C3545">96EC 9E72 8272 B158 054B 6A31 10F5 C047 999C 3545</a><br/>You can search the certificate on a keyserver or import it from a file.</td>
           </tr>
           <tr class="signWarnB">
             <td>
@@ -44,7 +35,7 @@ table .keyB {
                   </tr>
                   <tr class="keyb">
                     <td>
-                      <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details …</a>| <a href="x-kmail:/bodypart/0/1.2/pgpkey?action=import">Import key</a></div>
+                      <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details …</a>| <a href="x-kmail:/bodypart/0/attachment:1.2/pgpkey?action=import">Import key</a></div>
                     </td>
                   </tr>
                   <tr class="keyH">
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html.running b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html.running
index f0e81185c..5de59976a 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html.running
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html.running
@@ -7,19 +7,7 @@
       <div id="attachmentDiv">
         <table cellspacing="1" cellpadding="1" class="signWarn">
           <tr class="signWarnH">
-            <td dir="ltr">
-              <table cellspacing="0" cellpadding="0" width="100%">
-                <tr>
-                  <td rowspan="2">Message was signed on 5/19/17 3:20 PM with unknown key <a href="kmail:showCertificate#gpg ### OpenPGP ### 10F5C047999C3545">0x10F5C047999C3545</a>.<br/>The validity of the signature cannot be verified.<br/>Status:<i>No public key to verify the signature</i></td>
-                  <td align="right" valign="top" nowrap="nowrap">
-                    <a href="kmail:hideSignatureDetails">Hide Details</a>
-                  </td>
-                </tr>
-                <tr>
-                  <td align="right" valign="bottom" nowrap="nowrap"/>
-                </tr>
-              </table>
-            </td>
+            <td dir="ltr">Signature created on 5/19/17 3:20 PM using an unknown certificate with fingerprint <br/><a href="certificate:96EC9E728272B158054B6A3110F5C047999C3545">96EC 9E72 8272 B158 054B 6A31 10F5 C047 999C 3545</a><br/>You can search the certificate on a keyserver or import it from a file.</td>
           </tr>
           <tr class="signWarnB">
             <td>
@@ -47,7 +35,7 @@ table .keyB {
                   </tr>
                   <tr class="keyb">
                     <td>
[suppressed due to size limit]
[suppressed due to size limit]
                     </td>
                   </tr>
                   <tr class="keyH">
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-two-openpgp-key.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-two-openpgp-key.mbox.html
index c3b376587..af8abb772 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-two-openpgp-key.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-two-openpgp-key.mbox.html
@@ -29,7 +29,7 @@ table .keyB {
           </tr>
           <tr class="keyb">
             <td>
-              <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details ...</a>| <a href="x-kmail:/bodypart/0/2/pgpkey?action=import">Import key</a></div>
+              <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details …</a>| <a href="x-kmail:/bodypart/0/attachment:2/pgpkey?action=import">Import key</a></div>
             </td>
           </tr>
           <tr class="keyH">
@@ -52,7 +52,7 @@ table .keyB {
           </tr>
           <tr class="keyb">
             <td>
-              <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details ...</a>| <a href="x-kmail:/bodypart/0/3/pgpkey?action=import">Import key</a></div>
+              <div style="padding: 10pt;"><p>This is an OpenPGP key, which can be used to sign or encrypt emails.</p><a href="kmail:showSignatureDetails">Show key details …</a>| <a href="x-kmail:/bodypart/0/attachment:3/pgpkey?action=import">Import key</a></div>
             </td>
           </tr>
           <tr class="keyH">
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-decrypted.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-decrypted.mbox.html
index 5a2c2212d..90d188975 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-decrypted.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-decrypted.mbox.html
@@ -24,17 +24,19 @@ color: #000000 !important;
 .gnupgwkserror {
 color: #da4453;
 }</style>
-        <div style="padding: 5pt">
-          <div style="font-size: large; text-align: center; padding-bottom: 20pt;">Register your OpenPGP key with your email provider.</div>
-          <p>When you register your key with your email provider other people will then be able to retrieve the key and send you encrypted emails and verify authenticity of emails you send them.</p>
-          <div style="text-align: center; padding-bottom: 20pt;">
-            <a class="gnupgwksbutton" href="x-kmail:/bodypart/0/1/gnupgwks%3Faction%3Dconfirm%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Register the key</a>
+        <div style="padding: 5pt; text-align: center">
+          <div style="font-size: large; padding-bottom: 20pt;">Register your OpenPGP key with your email provider.</div>
+          <div style="padding-bottom: 20pt;">
+            <p>When you register your key with your email provider other people will then be able to retrieve the key and send you encrypted emails and verify authenticity of emails you send them.</p>
+          </div>
+          <div style="padding-bottom: 20pt;">
+            <a class="gnupgwksbutton" href="x-kmail:/bodypart/0/attachment:1/gnupgwks%3Faction%3Dconfirm%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Register the key</a>
             <br/>
             <br/>
             <p>The email will be automatically deleted once you confirm the registration.</p>
             <br/>
             <br/>
-            <a href="x-kmail:/bodypart/0/1/gnupgwks%3Faction%3Dshow%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Show key details</a>
+            <a href="x-kmail:/bodypart/0/attachment:1/gnupgwks%3Faction%3Dshow%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Show key details</a>
           </div>
         </div>
       </div>
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-multipart-decrypted.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-multipart-decrypted.mbox.html
index f52b06f7e..39b2b403a 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-multipart-decrypted.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-request-multipart-decrypted.mbox.html
@@ -24,17 +24,19 @@ color: #000000 !important;
 .gnupgwkserror {
 color: #da4453;
 }</style>
-        <div style="padding: 5pt">
-          <div style="font-size: large; text-align: center; padding-bottom: 20pt;">Register your OpenPGP key with your email provider.</div>
-          <p>When you register your key with your email provider other people will then be able to retrieve the key and send you encrypted emails and verify authenticity of emails you send them.</p>
-          <div style="text-align: center; padding-bottom: 20pt;">
-            <a class="gnupgwksbutton" href="x-kmail:/bodypart/0/2/gnupgwks%3Faction%3Dconfirm%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Register the key</a>
+        <div style="padding: 5pt; text-align: center">
+          <div style="font-size: large; padding-bottom: 20pt;">Register your OpenPGP key with your email provider.</div>
+          <div style="padding-bottom: 20pt;">
+            <p>When you register your key with your email provider other people will then be able to retrieve the key and send you encrypted emails and verify authenticity of emails you send them.</p>
+          </div>
+          <div style="padding-bottom: 20pt;">
+            <a class="gnupgwksbutton" href="x-kmail:/bodypart/0/attachment:2/gnupgwks%3Faction%3Dconfirm%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Register the key</a>
             <br/>
             <br/>
             <p>The email will be automatically deleted once you confirm the registration.</p>
             <br/>
             <br/>
-            <a href="x-kmail:/bodypart/0/2/gnupgwks%3Faction%3Dshow%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Show key details</a>
+            <a href="x-kmail:/bodypart/0/attachment:2/gnupgwks%3Faction%3Dshow%26fpr%3DB21DEAB4F875FB3DA42F1D1D139563682A020D0A">Show key details</a>
           </div>
         </div>
       </div>
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-response-decrypted.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-response-decrypted.mbox.html
index f6c529776..01eb4b2a1 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-response-decrypted.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/wks-confirmation-response-decrypted.mbox.html
@@ -24,13 +24,10 @@ color: #000000 !important;
 .gnupgwkserror {
 color: #da4453;
 }</style>
-        <div style="padding: 5pt">
-          <div style="font-size: large; text-align: center; padding-bottom: 20pt;">This is an automatically generated email. The purpose of this email is to register your OpenPGP key with your email provider.</div>
-          <div styl="text-align: center; padding-bottom: 20pt;">
+        <div style="padding: 5pt; text-align: center">
+          <div style="font-size: large; padding-bottom: 20pt;">This is an automatically generated email. The purpose of this email is to register your OpenPGP key with your email provider.</div>
+          <div styl="padding-bottom: 20pt;">
             <p>Your OpenPGP key will be published on your email provider's key server. Other users will be able to retrieve the key and send you encrypted emails and verify authenticity of emails you send them.</p>
-            <br/>
-            <br/>
-            <a href="x-kmail:/bodypart/0/1/gnupgwks%3Faction%3Dshow%26fpr">Show key details</a>
           </div>
         </div>
       </div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.