1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-19 20:21:45 -05:00

Updated tests to reflect changes in HtmlConverter.htmlifyMessageHeader()

This commit is contained in:
cketti 2012-05-18 19:59:29 +02:00
parent feed817741
commit 87c11a4ad2

View File

@ -28,7 +28,7 @@ public class ViewablesTest extends AndroidTestCase {
String expectedHtml = String expectedHtml =
"<html><head/><body>" + "<html><head/><body>" +
"<pre style=\"white-space: pre-wrap; word-wrap:break-word; " + "<pre style=\"white-space: pre-wrap; word-wrap:break-word; " +
"font-family: sans-serif\">" + "font-family: sans-serif; margin-top: 0px\">" +
"K-9 Mail rocks :&gt;" + "K-9 Mail rocks :&gt;" +
"</pre>" + "</pre>" +
"</body></html>"; "</body></html>";
@ -90,13 +90,13 @@ public class ViewablesTest extends AndroidTestCase {
String expectedHtml = String expectedHtml =
"<html><head/><body>" + "<html><head/><body>" +
"<pre style=\"white-space: pre-wrap; word-wrap:break-word; " + "<pre style=\"white-space: pre-wrap; word-wrap:break-word; " +
"font-family: sans-serif\">" + "font-family: sans-serif; margin-top: 0px\">" +
bodyText1 + bodyText1 +
"</pre>" + "</pre>" +
"<p style=\"margin-top: 2.5em; margin-bottom: 1em; " + "<p style=\"margin-top: 2.5em; margin-bottom: 1em; " +
"border-bottom: 1px solid #000\"></p>" + "border-bottom: 1px solid #000\"></p>" +
"<pre style=\"white-space: pre-wrap; word-wrap:break-word; " + "<pre style=\"white-space: pre-wrap; word-wrap:break-word; " +
"font-family: sans-serif\">" + "font-family: sans-serif; margin-top: 0px\">" +
bodyText2 + bodyText2 +
"</pre>" + "</pre>" +
"</body></html>"; "</body></html>";
@ -156,7 +156,7 @@ public class ViewablesTest extends AndroidTestCase {
String expectedHtml = String expectedHtml =
"<html><head/><body>" + "<html><head/><body>" +
"<pre style=\"white-space: pre-wrap; word-wrap:break-word; " + "<pre style=\"white-space: pre-wrap; word-wrap:break-word; " +
"font-family: sans-serif\">" + "font-family: sans-serif; margin-top: 0px\">" +
bodyText + bodyText +
"</pre>" + "</pre>" +
"<p style=\"margin-top: 2.5em; margin-bottom: 1em; border-bottom: " + "<p style=\"margin-top: 2.5em; margin-bottom: 1em; border-bottom: " +
@ -177,7 +177,7 @@ public class ViewablesTest extends AndroidTestCase {
"</tr>" + "</tr>" +
"</table>" + "</table>" +
"<pre style=\"white-space: pre-wrap; word-wrap:break-word; " + "<pre style=\"white-space: pre-wrap; word-wrap:break-word; " +
"font-family: sans-serif\">" + "font-family: sans-serif; margin-top: 0px\">" +
innerBodyText + innerBodyText +
"</pre>" + "</pre>" +
"</body></html>"; "</body></html>";