[evolution/gnome-3-22] Tests are expecting the font-family attribute on BODY



commit ce6aa68b15b979da9167d9cd93fabe1f44a66c58
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Nov 1 14:30:26 2016 +0100

    Tests are expecting the font-family attribute on BODY
    
    After fixing bug 772590 the attribute is no longed set on BODY. Adjust
    the tests accordingly.

 e-util/test-html-editor-units-bugs.c |   60 +++++++++++++++++-----------------
 e-util/test-html-editor-units-bugs.h |    1 -
 e-util/test-html-editor-units.c      |   34 +++++++++---------
 3 files changed, 47 insertions(+), 48 deletions(-)
---
diff --git a/e-util/test-html-editor-units-bugs.c b/e-util/test-html-editor-units-bugs.c
index 14913d4..493a70d 100644
--- a/e-util/test-html-editor-units-bugs.c
+++ b/e-util/test-html-editor-units-bugs.c
@@ -43,7 +43,7 @@ test_bug_726548 (TestFixture *fixture)
                "seq:C\n"
                "type:ac\n"
                "seq:c\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">aaa</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">aaa</div>"
                "<ol style=\"width: 65ch;\">"
                "<li>a</li><li>b</li><li>c</li></ol>"
                "<div style=\"width: 71ch;\"><br></div>" HTML_SUFFIX,
@@ -163,7 +163,7 @@ test_bug_767903 (TestFixture *fixture)
                "action:style-list-bullet\n"
                "type:First item\\n\n"
                "type:Second item\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">This is the first line:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">This is the first line:</div>"
                "<ul style=\"width: 68ch;\">"
                "<li>First item</li><li>Second item<br></li></ul>" HTML_SUFFIX,
                "This is the first line:\n"
@@ -176,7 +176,7 @@ test_bug_767903 (TestFixture *fixture)
        if (!test_utils_run_simple_test (fixture,
                "seq:uhb\n"
                "undo:undo\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">This is the first line:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">This is the first line:</div>"
                "<ul style=\"width: 68ch;\">"
                "<li>First item</li><li>Second item<br></li></ul>" HTML_SUFFIX,
                "This is the first line:\n"
@@ -208,7 +208,7 @@ test_bug_769708 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "",
-               HTML_PREFIX_PLAIN "<div>aaa</div><div><span><pre>-- <br></pre>"
+               HTML_PREFIX "<div>aaa</div><div><span><pre>-- <br></pre>"
                "<div>user &lt;user@no.where&gt;</div>"
                "</span></div>" HTML_SUFFIX,
                "aaa\n"
@@ -229,7 +229,7 @@ test_bug_769913 (TestFixture *fixture)
        if (!test_utils_run_simple_test (fixture,
                "type:ab\n"
                "seq:ltlD\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -237,7 +237,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:ttllDD\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -245,7 +245,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:ttlDlD\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -253,7 +253,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:tttlllDDD\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -261,7 +261,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:tttlDlDlD\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -269,7 +269,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:tb\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -277,7 +277,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:ttbb\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -285,7 +285,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:ttlbrb\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -293,7 +293,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:tttbbb\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -301,7 +301,7 @@ test_bug_769913 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:tttllbrbrb\n",
-               HTML_PREFIX_PLAIN "<div>ab</div>" HTML_SUFFIX,
+               HTML_PREFIX "<div>ab</div>" HTML_SUFFIX,
                "ab")) {
                g_test_fail ();
                return;
@@ -320,7 +320,7 @@ test_bug_769955 (TestFixture *fixture)
                "action:paste\n"
                "seq:ll\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "<a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>"
                HTML_SUFFIX,
@@ -337,7 +337,7 @@ test_bug_769955 (TestFixture *fixture)
                "type:[1] \n"
                "action:paste\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[1] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[1] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -354,7 +354,7 @@ test_bug_769955 (TestFixture *fixture)
                "action:paste\n"
                "seq:h\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[2] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[2] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -371,7 +371,7 @@ test_bug_769955 (TestFixture *fixture)
                "action:paste\n"
                "seq:Chc\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[3] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[3] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -388,7 +388,7 @@ test_bug_769955 (TestFixture *fixture)
                "action:paste\n"
                "seq:l\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[4] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[4] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -406,7 +406,7 @@ test_bug_769955 (TestFixture *fixture)
                "seq:Sis\n"
                "seq:ll\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "<a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>"
                HTML_SUFFIX,
@@ -423,7 +423,7 @@ test_bug_769955 (TestFixture *fixture)
                "type:[5] \n"
                "seq:Sis\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[5] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[5] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -440,7 +440,7 @@ test_bug_769955 (TestFixture *fixture)
                "seq:Sis\n"
                "seq:h\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[6] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[6] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -457,7 +457,7 @@ test_bug_769955 (TestFixture *fixture)
                "seq:Sis\n"
                "seq:Chc\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[7] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[7] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -474,7 +474,7 @@ test_bug_769955 (TestFixture *fixture)
                "seq:Sis\n"
                "seq:l\n"
                "action:style-preformat\n",
-               HTML_PREFIX_PLAIN "<pre>"
+               HTML_PREFIX "<pre>"
                "[8] <a 
href=\"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines\";>"
                
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines</a></pre>" 
HTML_SUFFIX,
                "[8] 
http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines";)) {
@@ -502,7 +502,7 @@ test_bug_770073 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:Chcddbb\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; the 1st line text</div>"
                "<div style=\"width: 71ch;\">&gt; the 3rd line text</div>"
@@ -563,7 +563,7 @@ test_bug_770074 (TestFixture *fixture)
                "seq:Chcddbb\n"
                "seq:n\n"
                "undo:undo\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; the 1st line text</div>"
                "<div style=\"width: 71ch;\">&gt; the 3rd line text</div>"
@@ -610,7 +610,7 @@ test_bug_771131 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Sat, 2016-09-10 at 20:00 +0000, example 
example com wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Sat, 2016-09-10 at 20:00 +0000, example example 
com wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; On &lt;date1&gt;, &lt;name1&gt; wrote:</div>"
                "<blockquote type=\"cite\">"
@@ -653,7 +653,7 @@ test_bug_771493 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user 
wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; <br></div>"
                "<div style=\"width: 71ch;\">&gt; ----- Original Message -----</div>"
@@ -687,7 +687,7 @@ test_bug_772171 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "seq:deb",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user 
wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; <br></div>"
                "<div style=\"width: 71ch;\">&gt; b</div>"
@@ -726,7 +726,7 @@ test_bug_772513 (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\"><br></div>" HTML_SUFFIX,
+               HTML_PREFIX "<div style=\"width: 71ch;\"><br></div>" HTML_SUFFIX,
                "\n"))
                g_test_fail ();
 }
diff --git a/e-util/test-html-editor-units-bugs.h b/e-util/test-html-editor-units-bugs.h
index 15d7076..3196619 100644
--- a/e-util/test-html-editor-units-bugs.h
+++ b/e-util/test-html-editor-units-bugs.h
@@ -18,7 +18,6 @@
 #define TEST_HTML_EDITOR_UNITS_BUGS_H
 
 #define HTML_PREFIX "<html><head></head><body>"
-#define HTML_PREFIX_PLAIN "<html><head></head><body style=\"font-family: Monospace;\">"
 #define HTML_SUFFIX "</body></html>"
 
 G_BEGIN_DECLS
diff --git a/e-util/test-html-editor-units.c b/e-util/test-html-editor-units.c
index 44fe89d..c0c7bd1 100644
--- a/e-util/test-html-editor-units.c
+++ b/e-util/test-html-editor-units.c
@@ -1094,7 +1094,7 @@ test_paragraph_normal_selection (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "mode:plain\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. Integer nec odio. Praesent libero.</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur adipiscing 
elit. Integer nec odio. Praesent libero.</div>"
                "<pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent 
libero.</pre>" HTML_SUFFIX,
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec\n"
                "odio. Praesent libero.\n"
@@ -1135,7 +1135,7 @@ test_paragraph_normal_typed (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "mode:plain\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. Integer nec odio. Praesent libero.</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur adipiscing 
elit. Integer nec odio. Praesent libero.</div>"
                "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer 
nec odio. Praesent libero.</div>" HTML_SUFFIX,
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec\n"
                "odio. Praesent libero.\n"
@@ -1179,7 +1179,7 @@ test_paragraph_preformatted_selection (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "mode:plain\n",
-               HTML_PREFIX_PLAIN "<pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec 
odio. Praesent libero.</pre>"
+               HTML_PREFIX "<pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. 
Praesent libero.</pre>"
                "<div style=\"width: 71ch;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer 
nec odio. Praesent libero.</div>" HTML_SUFFIX,
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent 
libero.\n"
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec\n"
@@ -1218,7 +1218,7 @@ test_paragraph_preformatted_typed (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "mode:plain\n",
-               HTML_PREFIX_PLAIN "<pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec 
odio. Praesent libero."
+               HTML_PREFIX "<pre>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. 
Praesent libero."
                " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent 
libero.</pre>" HTML_SUFFIX,
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. "
                "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent 
libero.")) {
@@ -1546,7 +1546,7 @@ test_paste_singleline_html2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type: text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before some bold text text after</div>" 
HTML_SUFFIX,
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before some bold text text after</div>" 
HTML_SUFFIX,
                "text before some bold text text after"))
                g_test_fail ();
 }
@@ -1576,7 +1576,7 @@ test_paste_singleline_plain2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type: text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before some plain text text after</div>" 
HTML_SUFFIX,
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before some plain text text after</div>" 
HTML_SUFFIX,
                "text before some plain text text after"))
                g_test_fail ();
 }
@@ -1606,7 +1606,7 @@ test_paste_multiline_html2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type:\\ntext after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before bold text</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before bold text</div>"
                "<div style=\"width: 71ch;\">italic text</div>"
                "<div style=\"width: 71ch;\">underline text</div>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
@@ -1639,7 +1639,7 @@ test_paste_multiline_div_html2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type:\\ntext after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before bold text</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before bold text</div>"
                "<div style=\"width: 71ch;\">italic text</div>"
                "<div style=\"width: 71ch;\">underline text</div>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
@@ -1672,7 +1672,7 @@ test_paste_multiline_p_html2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type:\\ntext after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before bold text</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before bold text</div>"
                "<div style=\"width: 71ch;\">italic text</div>"
                "<div style=\"width: 71ch;\">underline text</div>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
@@ -1705,7 +1705,7 @@ test_paste_multiline_plain2plain (TestFixture *fixture)
                "type:text before \n"
                "action:paste\n"
                "type:\\ntext after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before line 1</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before line 1</div>"
                "<div style=\"width: 71ch;\">line 2</div>"
                "<div style=\"width: 71ch;\">line 3</div>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
@@ -1744,7 +1744,7 @@ test_paste_quoted_singleline_html2plain (TestFixture *fixture)
                "action:paste-quote\n"
                "type:\\n\n" /* stop quotting */
                "type:text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before </div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before </div>"
                "<blockquote type=\"cite\"><div style=\"width: 71ch;\">&gt; some <b>bold</b> 
text</div></blockquote>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
                "text before \n"
@@ -1784,7 +1784,7 @@ test_paste_quoted_singleline_plain2plain (TestFixture *fixture)
                "action:paste-quote\n"
                "type:\\n\n" /* stop quotting */
                "type:text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before </div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before </div>"
                "<blockquote type=\"cite\"><div style=\"width: 71ch;\">&gt; some plain 
text</div></blockquote>"
                "<div style=\"width: 71ch;\">text after</div>" HTML_SUFFIX,
                "text before \n"
@@ -1828,7 +1828,7 @@ test_paste_quoted_multiline_html2plain (TestFixture *fixture)
                "action:paste-quote\n"
                "type:\\n\n" /* stop quotting */
                "type:text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before </div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before </div>"
                "<blockquote type=\"cite\"><div>&gt; bold text</div>"
                "<div style=\"width: 71ch;\">&gt; italic text</div>"
                "<div style=\"width: 71ch;\">&gt; underline text</div></blockquote>"
@@ -1876,7 +1876,7 @@ test_paste_quoted_multiline_plain2plain (TestFixture *fixture)
                "action:paste-quote\n"
                "type:\\n\n" /* stop quotting */
                "type:text after\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">text before </div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">text before </div>"
                "<blockquote type=\"cite\"><div style=\"width: 71ch;\">&gt; line 1</div>"
                "<div style=\"width: 71ch;\">&gt; line 2</div>"
                "<div style=\"width: 71ch;\">&gt; line 3</div></blockquote>"
@@ -2173,7 +2173,7 @@ test_cite_reply_plain (TestFixture *fixture)
 
        if (!test_utils_run_simple_test (fixture,
                "",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Today, User wrote:</div>"
                "<blockquote type=\"cite\"><div style=\"width: 71ch;\">&gt; line 1</div>"
                "<div style=\"width: 71ch;\">&gt; line 2</div>"
                "<div style=\"width: 71ch;\">&gt; <br></div></blockquote>" HTML_SUFFIX,
@@ -2564,7 +2564,7 @@ test_undo_link_paste_plain (TestFixture *fixture)
                "undo:undo:5\n"
                "undo:redo:7\n"
                "undo:test\n",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">URL:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">URL:</div>"
                "<div style=\"width: 71ch;\"><a href=\"http://www.gnome.org\";>http://www.gnome.org</a></div>"
                "<div style=\"width: 71ch;\"><br></div>" HTML_SUFFIX,
                "URL:\nhttp://www.gnome.org\n";))
@@ -2591,7 +2591,7 @@ test_delete_quoted (TestFixture *fixture)
        if (!test_utils_run_simple_test (fixture,
                "seq:ddddSusDdd\n"
                "type:b",
-               HTML_PREFIX_PLAIN "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user 
wrote:</div>"
+               HTML_PREFIX "<div style=\"width: 71ch;\">On Thu, 2016-09-15 at 08:08 -0400, user wrote:</div>"
                "<blockquote type=\"cite\">"
                "<div style=\"width: 71ch;\">&gt; a</div>"
                "<div style=\"width: 71ch;\">&gt; b</div>"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]