summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-08-05 22:35:29 +0200
committerMontel Laurent <[email protected]>2016-08-05 22:35:29 +0200
commitf39d972118921c3609873017029b4a69547ae17b (patch)
treef8861328777379a7f7d08916cf3b4fcd6f2551d3
parent8d7741a884e9df6a127605a4e571f87bc44891ed (diff)
Fix autotests
-rw-r--r--plugins/messageviewer/bodypartformatter/autotests/data/tnef-one-file.mbox.html47
-rw-r--r--plugins/messageviewer/bodypartformatter/autotests/data/tnef-two-files.mbox.html59
2 files changed, 30 insertions, 76 deletions
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/tnef-one-file.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/tnef-one-file.mbox.html
index e782ba9..88a320e 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/tnef-one-file.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/tnef-one-file.mbox.html
@@ -2,32 +2,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
- <table cellspacing="1" class="textAtm">
- <tr class="textAtmH">
- <td dir="ltr">winmail.dat<br/>TNEF file containing a single message</td>
- </tr>
- <tr class="textAtmH">
- <td dir="ltr">
- <div>
- <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
- </div>
- <br/>
- </td>
- </tr>
- </table>
- <table cellspacing="1" class="textAtm">
- <tr class="textAtmH">
- <td dir="ltr">winmail.dat<br/>TNEF file containing a single message</td>
- </tr>
- <tr class="textAtmH">
- <td dir="ltr">
- <div>
- <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
- </div>
- <br/>
- </td>
- </tr>
- </table>
<div style="position: relative; word-wrap: break-word">
<a name="att"/>
<div id="attachmentDiv">
@@ -37,14 +11,19 @@
<div dir="ltr">some body text</div>
</div>
</div>
- <a name="att2"/>
- <div id="attachmentDiv2">
- <hr/>
- <div>
- <a href="attachment:2?place=body"><img align="center" height="48" width="48" src="file:unknown.png" border="0" style="max-width: 100%" alt=""/>winmail.dat</a>
- </div>
- <div>TNEF file containing a single message</div>
- </div>
+ <table cellspacing="1" class="textAtm">
+ <tr class="textAtmH">
+ <td dir="ltr">winmail.dat<br/>TNEF file containing a single message</td>
+ </tr>
+ <tr class="textAtmH">
+ <td dir="ltr">
+ <div>
+ <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
+ </div>
+ <br/>
+ </td>
+ </tr>
+ </table>
</div>
</div>
</body>
diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/tnef-two-files.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/tnef-two-files.mbox.html
index c1e88d5..47069a3 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/tnef-two-files.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/tnef-two-files.mbox.html
@@ -2,40 +2,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
- <table cellspacing="1" class="textAtm">
- <tr class="textAtmH">
- <td dir="ltr">winmail.dat<br/>TNEF file containing a two attachments</td>
- </tr>
- <tr class="textAtmH">
- <td dir="ltr">
- <div>
- <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
- </div>
- <br/>
- <div>
- <a href="file:README"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>README file for tnef</a>
- </div>
- <br/>
- </td>
- </tr>
- </table>
- <table cellspacing="1" class="textAtm">
- <tr class="textAtmH">
- <td dir="ltr">winmail.dat<br/>TNEF file containing a two attachments</td>
- </tr>
- <tr class="textAtmH">
- <td dir="ltr">
- <div>
- <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
- </div>
- <br/>
- <div>
- <a href="file:README"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>README file for tnef</a>
- </div>
- <br/>
- </td>
- </tr>
- </table>
<div style="position: relative; word-wrap: break-word">
<a name="att"/>
<div id="attachmentDiv">
@@ -45,14 +11,23 @@
<div dir="ltr">some body text</div>
</div>
</div>
- <a name="att2"/>
- <div id="attachmentDiv2">
- <hr/>
- <div>
- <a href="attachment:2?place=body"><img align="center" height="48" width="48" src="file:unknown.png" border="0" style="max-width: 100%" alt=""/>winmail.dat</a>
- </div>
- <div>TNEF file containing a two attachments</div>
- </div>
+ <table cellspacing="1" class="textAtm">
+ <tr class="textAtmH">
+ <td dir="ltr">winmail.dat<br/>TNEF file containing a two attachments</td>
+ </tr>
+ <tr class="textAtmH">
+ <td dir="ltr">
+ <div>
+ <a href="file:AUTHORS"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>AUTHORS file for tnef</a>
+ </div>
+ <br/>
+ <div>
+ <a href="file:README"><img src="file:application-octet-stream.png" border="0" style="max-width: 100%"/>README file for tnef</a>
+ </div>
+ <br/>
+ </td>
+ </tr>
+ </table>
</div>
</div>
</body>