|
Packit |
15f964 |
/*
|
|
Packit |
15f964 |
* Copyright (C) 2016 Red Hat, Inc. (www.redhat.com)
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* This library is free software: you can redistribute it and/or modify it
|
|
Packit |
15f964 |
* under the terms of the GNU Lesser General Public License as published by
|
|
Packit |
15f964 |
* the Free Software Foundation.
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* This library is distributed in the hope that it will be useful, but
|
|
Packit |
15f964 |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
Packit |
15f964 |
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
|
Packit |
15f964 |
* for more details.
|
|
Packit |
15f964 |
*
|
|
Packit |
15f964 |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
15f964 |
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
15f964 |
*/
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#include "evolution-config.h"
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#include <e-util/e-util.h>
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#include "test-html-editor-units-utils.h"
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
#include "test-html-editor-units-bugs.h"
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_726548 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
/* This test is known to fail, skip it. */
|
|
Packit |
15f964 |
printf ("SKIPPED ");
|
|
Packit |
15f964 |
#if 0
|
|
Packit |
15f964 |
gboolean success;
|
|
Packit |
15f964 |
gchar *text;
|
|
Packit |
15f964 |
const gchar *expected_plain =
|
|
Packit |
15f964 |
"aaa\n"
|
|
Packit |
15f964 |
" 1. a\n"
|
|
Packit |
15f964 |
" 2. b\n"
|
|
Packit |
15f964 |
" 3. c\n";
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"type:aaa\\n\n"
|
|
Packit |
15f964 |
"action:style-list-number\n"
|
|
Packit |
15f964 |
"type:a\\nb\\nc\\n\\n\n"
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:ac\n"
|
|
Packit |
15f964 |
"seq:c\n",
|
|
Packit |
15f964 |
HTML_PREFIX "aaa "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"abc"
|
|
Packit |
15f964 |
"
" HTML_SUFFIX,
|
|
Packit |
15f964 |
expected_plain)) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
text = test_utils_get_clipboard_text (FALSE);
|
|
Packit |
15f964 |
success = test_utils_html_equal (fixture, text, expected_plain);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!success) {
|
|
Packit |
15f964 |
g_warning ("%s: clipboard Plain text \n---%s---\n does not match expected Plain\n---%s---",
|
|
Packit |
15f964 |
G_STRFUNC, text, expected_plain);
|
|
Packit |
15f964 |
g_free (text);
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
} else {
|
|
Packit |
15f964 |
g_free (text);
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
#endif
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_750657 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:html\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<html><head></head><body>\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is the first paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"
\n"
|
|
Packit |
15f964 |
"This is the third paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is the first paragraph of a sub-quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
" \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is the fourth paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"
\n"
|
|
Packit |
15f964 |
"</body></html>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:uuuSuusD\n",
|
|
Packit |
15f964 |
HTML_PREFIX
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is the first paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"
\n"
|
|
Packit |
15f964 |
"This is the third paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"
\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is the fourth paragraph of a quoted text which has some long text to test. It has the second sentence as well. \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
NULL)) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_760989 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:html\n"
|
|
Packit |
15f964 |
"type:a\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<html><head></head><body>\n"
|
|
Packit |
15f964 |
"One line before quotation \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"Single line quoted. \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"</body></html>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ChcD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "One line before quotation \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"Single line quoted. \n"
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"One line before quotation\n"
|
|
Packit |
15f964 |
"> Single line quoted.")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:Cecb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "One line before quotation \n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"Single line quoted \n"
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"One line before quotation\n"
|
|
Packit |
15f964 |
"> Single line quoted")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_767903 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"type:This is the first line:\\n\n"
|
|
Packit |
15f964 |
"action:style-list-bullet\n"
|
|
Packit |
15f964 |
"type:First item\\n\n"
|
|
Packit |
15f964 |
"type:Second item\n",
|
|
Packit |
15f964 |
HTML_PREFIX "This is the first line: "
|
|
Packit |
15f964 |
"
|
|
Packit |
15f964 |
"First itemSecond item " HTML_SUFFIX,
|
|
Packit |
15f964 |
"This is the first line:\n"
|
|
Packit |
15f964 |
" * First item\n"
|
|
Packit |
15f964 |
" * Second item")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:uhb\n"
|
|
Packit |
15f964 |
"undo:undo\n",
|
|
Packit |
15f964 |
HTML_PREFIX "This is the first line: "
|
|
Packit |
15f964 |
"
|
|
Packit |
15f964 |
"First itemSecond item " HTML_SUFFIX,
|
|
Packit |
15f964 |
"This is the first line:\n"
|
|
Packit |
15f964 |
" * First item\n"
|
|
Packit |
15f964 |
" * Second item")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_769708 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<html><head><style id=\"-x-evo-quote-style\" type=\"text/css\">.-x-evo-quoted { -webkit-user-select: none; }</style>"
|
|
Packit |
15f964 |
"<style id=\"-x-evo-style-a\" type=\"text/css\">a { cursor: text; }</style></head>"
|
|
Packit |
15f964 |
"<body data-evo-draft=\"\" data-evo-plain-text=\"\" spellcheck=\"true\">"
|
|
Packit |
15f964 |
"aaa "
|
|
Packit |
15f964 |
"
|
|
Packit |
15f964 |
"user <user@no.where> "
|
|
Packit |
15f964 |
"</body></html>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "aaa
|
|
Packit |
15f964 |
"user <user@no.where> "
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"aaa\n"
|
|
Packit |
15f964 |
"-- \n"
|
|
Packit |
15f964 |
"user <user@no.where>"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_769913 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:html\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"type:ab\n"
|
|
Packit |
15f964 |
"seq:ltlD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ttllDD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ttlDlD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:tttlllDDD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:tttlDlDlD\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:tb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ttbb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ttlbrb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:tttbbb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:tttllbrbrb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "ab " HTML_SUFFIX,
|
|
Packit |
15f964 |
"ab")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_769955 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_set_clipboard_text ("http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
/* Use paste action, pretty the same as Ctrl+V */
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"seq:ll\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[1] \n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[1] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[1] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[2] \n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"seq:h\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[2] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[2] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[3] \n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"seq:Chc\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[3] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[3] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[4] \n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"seq:l\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[4] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[4] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
/* Use Shift+Insert instead of paste action */
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"seq:Sis\n"
|
|
Packit |
15f964 |
"seq:ll\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[5] \n"
|
|
Packit |
15f964 |
"seq:Sis\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[5] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[5] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[6] \n"
|
|
Packit |
15f964 |
"seq:Sis\n"
|
|
Packit |
15f964 |
"seq:h\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[6] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[6] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[7] \n"
|
|
Packit |
15f964 |
"seq:Sis\n"
|
|
Packit |
15f964 |
"seq:Chc\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[7] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[7] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:C\n"
|
|
Packit |
15f964 |
"type:a\n"
|
|
Packit |
15f964 |
"action:style-normal\n"
|
|
Packit |
15f964 |
"seq:Dc\n"
|
|
Packit |
15f964 |
"type:[8] \n"
|
|
Packit |
15f964 |
"seq:Sis\n"
|
|
Packit |
15f964 |
"seq:l\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"[8] "
|
|
Packit |
15f964 |
"http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines" HTML_SUFFIX,
|
|
Packit |
15f964 |
"[8] http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_770073 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"the 1st line text "
|
|
Packit |
15f964 |
" "
|
|
Packit |
15f964 |
"the 3rd line text "
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:Chcddbb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "On Today, User wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> the 1st line text "
|
|
Packit |
15f964 |
"> the 3rd line text "
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Today, User wrote:\n"
|
|
Packit |
15f964 |
"> the 1st line text\n"
|
|
Packit |
15f964 |
"> the 3rd line text")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:html\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"the first line text "
|
|
Packit |
15f964 |
" "
|
|
Packit |
15f964 |
"the third line text "
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:Chcddbb\n",
|
|
Packit |
15f964 |
HTML_PREFIX "On Today, User wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"the first line text "
|
|
Packit |
15f964 |
"the third line text "
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Today, User wrote:\n"
|
|
Packit |
15f964 |
"> the first line text\n"
|
|
Packit |
15f964 |
"> the third line text"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_770074 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"the 1st line text "
|
|
Packit |
15f964 |
" "
|
|
Packit |
15f964 |
"the 3rd line text "
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:Chcddbb\n"
|
|
Packit |
15f964 |
"seq:n\n"
|
|
Packit |
15f964 |
"undo:undo\n",
|
|
Packit |
15f964 |
HTML_PREFIX "On Today, User wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> the 1st line text "
|
|
Packit |
15f964 |
"> the 3rd line text "
|
|
Packit |
15f964 |
"" HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Today, User wrote:\n"
|
|
Packit |
15f964 |
"> the 1st line text\n"
|
|
Packit |
15f964 |
"> the 3rd line text"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_771044 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"type:123 456\\n789 abc\\n\n"
|
|
Packit |
15f964 |
"seq:uuhSdsD\n",
|
|
Packit |
15f964 |
HTML_PREFIX
|
|
Packit |
15f964 |
"789 abc "
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"789 abc\n"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_771131 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<body>On <date1>, <name1> wrote:\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"Hello\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"Goodbye"
|
|
Packit |
15f964 |
"the 3rd line text "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"</body>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "On Sat, 2016-09-10 at 20:00 +0000, example@example.com wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> On <date1>, <name1> wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> > Hello "
|
|
Packit |
15f964 |
"> >
"
|
|
Packit |
15f964 |
"> > Goodbye "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
">
"
|
|
Packit |
15f964 |
"> the 3rd line text "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Sat, 2016-09-10 at 20:00 +0000, example@example.com wrote:\n"
|
|
Packit |
15f964 |
"> On <date1>, <name1> wrote:\n"
|
|
Packit |
15f964 |
"> > Hello\n"
|
|
Packit |
15f964 |
"> > \n"
|
|
Packit |
15f964 |
"> > Goodbye\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> the 3rd line text"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_771493 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<body> "
|
|
Packit |
15f964 |
"----- Original Message -----\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This week summary:"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"</body>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "On Thu, 2016-09-15 at 08:08 -0400, user wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
">
"
|
|
Packit |
15f964 |
"> ----- Original Message ----- "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> > This week summary: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Thu, 2016-09-15 at 08:08 -0400, user wrote:\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> ----- Original Message -----\n"
|
|
Packit |
15f964 |
"> > This week summary:"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_772171 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<body>a\n"
|
|
Packit |
15f964 |
"b\n"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"</body>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:ddeb",
|
|
Packit |
15f964 |
HTML_PREFIX "On Thu, 2016-09-15 at 08:08 -0400, user wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
">
"
|
|
Packit |
15f964 |
"> b "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Thu, 2016-09-15 at 08:08 -0400, user wrote:\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> b"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_772513 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
EContentEditor *cnt_editor;
|
|
Packit |
15f964 |
gboolean set_signature_from_message, check_if_signature_is_changed, ignore_next_signature_change;
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_boolean (fixture, "org.gnome.evolution.mail", "composer-reply-start-bottom", TRUE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
cnt_editor = test_utils_get_content_editor (fixture);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
e_content_editor_insert_signature (
|
|
Packit |
15f964 |
cnt_editor,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
FALSE,
|
|
Packit |
15f964 |
"none",
|
|
Packit |
15f964 |
&set_signature_from_message,
|
|
Packit |
15f964 |
&check_if_signature_is_changed,
|
|
Packit |
15f964 |
&ignore_next_signature_change);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "
" HTML_SUFFIX,
|
|
Packit |
15f964 |
"\n"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_772918 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:html\n"
|
|
Packit |
15f964 |
"type:a b c d\n"
|
|
Packit |
15f964 |
"seq:lll\n"
|
|
Packit |
15f964 |
"type:1 2 3 \n"
|
|
Packit |
15f964 |
"undo:undo:6\n"
|
|
Packit |
15f964 |
"undo:redo:6\n",
|
|
Packit |
15f964 |
HTML_PREFIX "a b 1 2 3 c d " HTML_SUFFIX,
|
|
Packit |
15f964 |
"a b 1 2 3 c d"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_773164 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_set_clipboard_text ("This is paragraph 1\n\nThis is paragraph 2\n\nThis is a longer paragraph 3", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"undo:save\n"
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"undo:undo\n"
|
|
Packit |
15f964 |
"undo:test\n"
|
|
Packit |
15f964 |
"undo:redo\n"
|
|
Packit |
15f964 |
"seq:huuuue\n" /* Go to the end of the first line */
|
|
Packit |
15f964 |
"seq:Sdds\n"
|
|
Packit |
15f964 |
"action:cut\n"
|
|
Packit |
15f964 |
"seq:dde\n" /* Go to the end of the last line */
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"undo:undo:5\n"
|
|
Packit |
15f964 |
"undo:test\n"
|
|
Packit |
15f964 |
"undo:redo:5\n",
|
|
Packit |
15f964 |
HTML_PREFIX "This is paragraph 1 "
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"This is a longer paragraph 3 "
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"This is paragraph 2 "
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"This is paragraph 1\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is a longer paragraph 3\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"This is paragraph 2"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_775042 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"<body>a\n"
|
|
Packit |
15f964 |
"b\n"
|
|
Packit |
15f964 |
"c"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"</body>",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:rl\n"
|
|
Packit |
15f964 |
"mode:plain\n",
|
|
Packit |
15f964 |
HTML_PREFIX "On Fri, 2016-11-25 at 08:18 +0000, user wrote: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> a "
|
|
Packit |
15f964 |
"> b "
|
|
Packit |
15f964 |
"> c"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Fri, 2016-11-25 at 08:18 +0000, user wrote:\n"
|
|
Packit |
15f964 |
"> a\n"
|
|
Packit |
15f964 |
"> b\n"
|
|
Packit |
15f964 |
"> c"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_775691 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"type:abc def ghi\\n\n"
|
|
Packit |
15f964 |
"seq:urrrrSrrrs\n"
|
|
Packit |
15f964 |
"action:copy\n"
|
|
Packit |
15f964 |
"seq:d\n"
|
|
Packit |
15f964 |
"action:paste\n",
|
|
Packit |
15f964 |
HTML_PREFIX "abc def ghi "
|
|
Packit |
15f964 |
"def "
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"abc def ghi\n"
|
|
Packit |
15f964 |
"def"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_779707 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_boolean (fixture, "org.gnome.evolution.mail", "composer-reply-start-bottom", TRUE);
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_boolean (fixture, "org.gnome.evolution.mail", "composer-wrap-quoted-text-in-replies", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"line 1\n"
|
|
Packit |
15f964 |
"line 2\n"
|
|
Packit |
15f964 |
"line 3\n"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:uuuSesDbnnu\n"
|
|
Packit |
15f964 |
"type:a very long text, which splits into multiple lines when this paragraph is not marked as preformatted, but as normal, as it should be\n"
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "Credits: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> line 1 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"a very long text, which splits into multiple lines when this paragraph is not marked as preformatted, but as normal, as it should be "
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> line 3 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"Credits:\n"
|
|
Packit |
15f964 |
"> line 1\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"a very long text, which splits into multiple lines when this paragraph\n"
|
|
Packit |
15f964 |
"is not marked as preformatted, but as normal, as it should be\n"
|
|
Packit |
15f964 |
"\n"
|
|
Packit |
15f964 |
"> line 3\n"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_780275_html (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_set_clipboard_text ("line 1\nline 2\nline 3", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:html\n"
|
|
Packit |
15f964 |
"type:line 0\n"
|
|
Packit |
15f964 |
"seq:nn\n"
|
|
Packit |
15f964 |
"action:paste-quote\n"
|
|
Packit |
15f964 |
"undo:save\n" /* 1 */
|
|
Packit |
15f964 |
"seq:huuuD\n"
|
|
Packit |
15f964 |
"undo:undo\n"
|
|
Packit |
15f964 |
"undo:test:1\n"
|
|
Packit |
15f964 |
"undo:redo\n"
|
|
Packit |
15f964 |
"type:X\n"
|
|
Packit |
15f964 |
"seq:ddenn\n"
|
|
Packit |
15f964 |
"type:line 4\n"
|
|
Packit |
15f964 |
"undo:drop\n"
|
|
Packit |
15f964 |
"undo:save\n" /* 1 */
|
|
Packit |
15f964 |
"seq:hSuusD\n"
|
|
Packit |
15f964 |
"undo:undo\n"
|
|
Packit |
15f964 |
"undo:test:1\n"
|
|
Packit |
15f964 |
"undo:redo\n"
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "line 0 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"Xline 1 "
|
|
Packit |
15f964 |
"line 2 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"line 4 "
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"line 0\n"
|
|
Packit |
15f964 |
"> Xline 1\n"
|
|
Packit |
15f964 |
"> line 2\n"
|
|
Packit |
15f964 |
"line 4"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_780275_plain (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_set_clipboard_text ("line 1\nline 2\nline 3", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"type:line 0\n"
|
|
Packit |
15f964 |
"seq:nn\n"
|
|
Packit |
15f964 |
"action:paste-quote\n"
|
|
Packit |
15f964 |
"undo:save\n" /* 1 */
|
|
Packit |
15f964 |
"seq:huuuD\n"
|
|
Packit |
15f964 |
"undo:undo\n"
|
|
Packit |
15f964 |
"undo:test:1\n"
|
|
Packit |
15f964 |
"undo:redo\n"
|
|
Packit |
15f964 |
"type:X\n"
|
|
Packit |
15f964 |
"seq:ddenn\n"
|
|
Packit |
15f964 |
"type:line 4\n"
|
|
Packit |
15f964 |
"undo:drop\n"
|
|
Packit |
15f964 |
"undo:save\n" /* 1 */
|
|
Packit |
15f964 |
"seq:hSuusD\n"
|
|
Packit |
15f964 |
"undo:undo\n"
|
|
Packit |
15f964 |
"undo:test:1\n"
|
|
Packit |
15f964 |
"undo:redo\n",
|
|
Packit |
15f964 |
HTML_PREFIX "line 0 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> Xline 1 "
|
|
Packit |
15f964 |
"> line 2 "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"line 4 "
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"line 0\n"
|
|
Packit |
15f964 |
"> Xline 1\n"
|
|
Packit |
15f964 |
"> line 2\n"
|
|
Packit |
15f964 |
"line 4"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_781722 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"Signed-off-by: User <user@no.where>\n"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:dd\n"
|
|
Packit |
15f964 |
"action:style-preformat\n",
|
|
Packit |
15f964 |
HTML_PREFIX "Credits: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> Signed-off-by: User <user@no.where> "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"Credits:\n"
|
|
Packit |
15f964 |
"> Signed-off-by: User <user@no.where>"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_781116 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_boolean (fixture, "org.gnome.evolution.mail", "composer-wrap-quoted-text-in-replies", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"a very long text, which splits into multiple lines when this paragraph is not marked as preformatted, but as normal, as it should be \n"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"seq:dd\n"
|
|
Packit |
15f964 |
"action:wrap-lines\n",
|
|
Packit |
15f964 |
HTML_PREFIX "Credits: "
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"> a very long text, which splits into multiple lines when this "
|
|
Packit |
15f964 |
"> paragraph is not marked as preformatted, but as normal, as it should "
|
|
Packit |
15f964 |
"> be"
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"Credits:\n"
|
|
Packit |
15f964 |
"> a very long text, which splits into multiple lines when this\n"
|
|
Packit |
15f964 |
"> paragraph is not marked as preformatted, but as normal, as it should\n"
|
|
Packit |
15f964 |
"> be"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_780088 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_set_clipboard_text ("Seeing @blah instead of @foo XX'ed on" UNICODE_NBSP "https://example.sub" UNICODE_NBSP "domain.org/page I'd recommend to XX YY <https://example.subdomain.org/p/user/> , click fjwvne on the left, click skjd sjewncj on the right, and set wqje wjfdn Xs to something like wqjfnm www.example.com/~user wjfdncj or such.", FALSE);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"action:paste\n"
|
|
Packit |
15f964 |
"seq:n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"Seeing @blah instead of @foo XX'ed on https://example.sub"
|
|
Packit |
15f964 |
" domain.org/page I'd recommend to XX YY "
|
|
Packit |
15f964 |
"<https://example.subdomain.org/p/user/> , "
|
|
Packit |
15f964 |
"click fjwvne on the left, click skjd sjewncj on the right, and set wqje wjfdn Xs to something like "
|
|
Packit |
15f964 |
"wqjfnm www.example.com/~user wjfdncj or such."
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"Seeing @blah instead of @foo XX'ed on" UNICODE_NBSP "https://example.sub" UNICODE_NBSP "domain.org/pa\n"
|
|
Packit |
15f964 |
"ge I'd recommend to XX YY <https://example.subdomain.org/p/user/> ,\n"
|
|
Packit |
15f964 |
"click fjwvne on the left, click skjd sjewncj on the right, and set wqje\n"
|
|
Packit |
15f964 |
"wjfdn Xs to something like wqjfnm www.example.com/~user wjfdncj or\n"
|
|
Packit |
15f964 |
"such.\n"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_788829 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_boolean (fixture, "org.gnome.evolution.mail", "composer-wrap-quoted-text-in-replies", TRUE);
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_int32 (fixture, "org.gnome.evolution.mail", "composer-word-wrap-length", 71);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_process_commands (fixture,
|
|
Packit |
15f964 |
"mode:plain\n")) {
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
return;
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
test_utils_insert_content (fixture,
|
|
Packit |
15f964 |
"Xxxxx xx xxxxxxxxx xx xxxxxxx xx xxxxx xxxx xxxx xx xxx xxx xxxx xxx xxxçx xôxé "
|
|
Packit |
15f964 |
"\"xxxxx xxxx xxxxxxx xxx\" xx xxxx xxxxé xxx xxx xxxéx xxx x'x xéxxxxé x'xxxxxxxxx xx "
|
|
Packit |
15f964 |
"xxx \"Xxxx XXX Xxxxxx Xxx\". Xx xxxx xxxxxxxx xxx
|
|
Packit |
15f964 |
" href=\"https://gnome.org/\">xxxxxxxxxxxxxxxx.xx (xxxxxxx xxxxxxxxxx xx .xxx). Xxxx "
|
|
Packit |
15f964 |
"êxxx xxx xxxxxxxxxxx xxxéxxxxxxxx, xxxx xxxxx xx XXX xx xéxxx à xx xxx \"xxx xxxxxx xxxx "
|
|
Packit |
15f964 |
"xx xxxxxxx\" xx xxxx xx xxxxx xxxxxxxx xxxxxxxx xx $ xx xxxx x'xxxxxx. "
|
|
Packit |
15f964 |
"Xxxx xx xéxxxxxxx, xxxxxxxx xxxxxxx (!), xxxxxxx à xxx, xxxx ooo$ XXX xxxxé: "
|
|
Packit |
15f964 |
"https://xxxxxxxxxxxxxxxx.xx/xxxxxxx/xxxxx-xxxx-xxxxxxxx-x"
|
|
Packit |
15f964 |
"xxxx-xxxx-xxx-xxxxxxxx-xxx/ xx xx xxxx xéxéxxxxxxx x'xxxxxx xxxx xx xxxxxx xx xxxxxx"
|
|
Packit |
15f964 |
"xxxxxx xx xxx (xxxxx Xxxxxx) xxxx xxxx x'xxxxxxx xx xxxxxx: "
|
|
Packit |
15f964 |
"https://xxxxxxxxxxxxxxxx.xxx/xx-xxxxxxx/xxxxxxx/Xxxxxxxxxxxx-Xxxxx-Xxxx-XXX-Xxxxxx-Xxx.xxx"
|
|
Packit |
15f964 |
"
Xxxx xxx xxx xxxxxxx xxxxxxxéxx x'xxxêxxxx à xxxxx, xxx xx x"
|
|
Packit |
15f964 |
"xxxé xx oooxooo xxxxx xxxxx xxxx... xxxx x'xxx xxxxxxxxxxxx xxxxx xxx xxxxxxxx xx \"xx xxx"
|
|
Packit |
15f964 |
"xx xxx xxx xxxxxxx xxxxxxx xxxxxxxxxxxxxx xxxx xxxxx xxxxxx xx xx xxxx xx x'xxxxxx\". Xx "
|
|
Packit |
15f964 |
"xxxx-êxxx xxx xx xxxxxxxx xx xxxx \"x'xxxêxx à xxxxx xx oooxooo xxxx xxx xéxxxxxxxx, xxxx"
|
|
Packit |
15f964 |
"\"...
Xxxxx xxxxxx'xx xxx x xxxx xxxxxxx xxxxx xx xxèx xxxxxxxxx "
|
|
Packit |
15f964 |
"xxxxxxxxxxxxxxxx à xx xxx x'xx xx xêxx (éxxxxxxxxx xxxx-xx-xxxxxxxx):
|
|
Packit |
15f964 |
"gnome.org\">https://xxxxxxxxxxxxxxxx.xxx/xx-xxxxxxx/xxxxxxx/Xxxxx-xxxx-xxx-xxxxxxxxxx-xx"
|
|
Packit |
15f964 |
"xxx.xxx ;
...x'x xxxxx xx xxxxxx x'xxxxxx xéxxxxxxx, "
|
|
Packit |
15f964 |
"xx xxx xxxx xxxxxx x'xxxxxxxxxxx xxxxxx, xxxx https://xxxx"
|
|
Packit |
15f964 |
"xxxxxxxxxxxx.xxx/xxxxxxxx-xxxxxxx-xxxx-xxx-o/ xxxxx xxx
|
|
Packit |
15f964 |
">https://xxxxxxxxxxxxxxxx.xxx/xxxxxxxx-xxxxxxx-xxxx-xxx-o/ ..."
|
|
Packit |
15f964 |
""
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"",
|
|
Packit |
15f964 |
HTML_PREFIX "On Today, User wrote: "
|
|
Packit |
15f964 |
"> Xxxxx xx xxxxxxxxx xx xxxxxxx xx xxxxx xxxx "
|
|
Packit |
15f964 |
"xxxx xx xxx xxx xxxx xxx > xxxçx xôxé \"xxxxx xxxx xxxxxxx xxx\" xx xxxx "
|
|
Packit |
15f964 |
"xxxxé xxx xxx xxxéx xxx > x'x xéxxxxé x'xxxxxxxxx xx xxx \"Xxxx XXX Xxxxxx "
|
|
Packit |
15f964 |
"Xxx\". Xx xxxx > xxxxxxxx xxx xxxxxxxxxxxxxxxx.xx (xxxxxxx xxxxxxxxxx xx .xx"
|
|
Packit |
15f964 |
"x). Xxxx > êxxx xxx xxxxxxxxxxx xxxéxxxxxxxx, xxxx xxxxx xx XXX xx xéxxx à "
|
|
Packit |
15f964 |
"xx > xxx \"xxx xxxxxx xxxx xx xxxxxxx\" xx xxxx xx xxxxx xxxxxxxx xxxxxxxx"
|
|
Packit |
15f964 |
" > xx $ xx xxxx x'xxxxxx.>
"
|
|
Packit |
15f964 |
"> Xxxx xx xéxxxxxxx, xxxxxxxx xxxxxxx (!), "
|
|
Packit |
15f964 |
"xxxxxxx à xxx, xxxx ooo$ XXX > xxxxé: https://xxxxxxxxxxxxxxxx.xx/xxx"
|
|
Packit |
15f964 |
"xxxx/xxxxx-xxxx-xxxxxxxx-xxxxx- > xxxx-xxx-xxxxxxxx-xxx/ xx xx xxxx "
|
|
Packit |
15f964 |
"xéxéxxxxxxx x'xxxxxx xxxx xx xxxxxx > xx xxxxxxxxxxxx xx xxx (xxxxx "
|
|
Packit |
15f964 |
"Xxxxxx) xxxx xxxx x'xxxxxxx xx xxxxxx: > https://xxxxxxxxxxxxxxxx.xx"
|
|
Packit |
15f964 |
"x/xx-xxxxxxx/xxxxxxx/Xxxxxxxxxxxx-Xxxxx-Xx > xx-XXX-Xxxxxx-Xxx.xxx"
|
|
Packit |
15f964 |
">
> Xx"
|
|
Packit |
15f964 |
"xx xxx xxx xxxxxxx xxxxxxxéxx x'xxxêxxxx à xxxxx, xxx xx xxxxé xx > oooxo"
|
|
Packit |
15f964 |
"oo xxxxx xxxxx xxxx... xxxx x'xxx xxxxxxxxxxxx xxxxx xxx > xxxxxxxx xx \""
|
|
Packit |
15f964 |
"xx xxxxx xxx xxx xxxxxxx xxxxxxx xxxxxxxxxxxxxx xxxx > xxxxx xxxxxx xx xx "
|
|
Packit |
15f964 |
"xxxx xx x'xxxxxx\". Xx xxxx-êxxx xxx xx xxxxxxxx xx > xxxx \"x'xxxêxx à "
|
|
Packit |
15f964 |
"xxxxx xx oooxooo xxxx xxx xéxxxxxxxx, xxxx\"..."
|
|
Packit |
15f964 |
">
> Xxxxx xxxxxx'xx xxx x xxxx xxxxxxx "
|
|
Packit |
15f964 |
"xxxxx xx xxèx xxxxxxxxx > > xxxxxxxxxxxxxxxx à xx xxx x'xx xx xêxx "
|
|
Packit |
15f964 |
"(éxxxxxxxxx xxxx-xx-xxxxxxxx):
|
|
Packit |
15f964 |
"xxxxxxx/Xxxxx-xxxx-xxx-xxxxxxxxxx-xxxxx.xxx\">https://xxxxxxxxxxxxxxxx.xxx/xx-xxx"
|
|
Packit |
15f964 |
"xxxx/xxxxxxx/Xxxxx-xxxx-xxx- > xxxxxxxxxx-xxxxx.xxx ;
|
|
Packit |
15f964 |
"style=\"width: 71ch;\">>
> ...x'x "
|
|
Packit |
15f964 |
"xxxxx xx xxxxxx x'xxxxxx xéxxxxxxx, xx xxx xxxx xxxxxx > x'xxxxxxxxxxx "
|
|
Packit |
15f964 |
"xxxxxx, xxxx https://xxxxxxxxxxxxxxxx.xxx/xxxxxxxx-xxxx > xxx-xxxx-xxx-o/ "
|
|
Packit |
15f964 |
"xxxxx xxx https://xxxxxxxxxxxxxxxx.xxx/xxxxxxxx-xxxxx > xx-xxxx-xxx-o/ ..." HTML_SUFFIX,
|
|
Packit |
15f964 |
"On Today, User wrote:\n"
|
|
Packit |
15f964 |
"> Xxxxx xx xxxxxxxxx xx xxxxxxx xx xxxxx xxxx xxxx xx xxx xxx xxxx xxx\n"
|
|
Packit |
15f964 |
"> xxxçx xôxé \"xxxxx xxxx xxxxxxx xxx\" xx xxxx xxxxé xxx xxx xxxéx xxx\n"
|
|
Packit |
15f964 |
"> x'x xéxxxxé x'xxxxxxxxx xx xxx \"Xxxx XXX Xxxxxx Xxx\". Xx xxxx\n"
|
|
Packit |
15f964 |
"> xxxxxxxx xxx xxxxxxxxxxxxxxxx.xx (xxxxxxx xxxxxxxxxx xx .xxx). Xxxx\n"
|
|
Packit |
15f964 |
"> êxxx xxx xxxxxxxxxxx xxxéxxxxxxxx, xxxx xxxxx xx XXX xx xéxxx à xx\n"
|
|
Packit |
15f964 |
"> xxx \"xxx xxxxxx xxxx xx xxxxxxx\" xx xxxx xx xxxxx xxxxxxxx xxxxxxxx\n"
|
|
Packit |
15f964 |
"> xx $ xx xxxx x'xxxxxx.\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> Xxxx xx xéxxxxxxx, xxxxxxxx xxxxxxx (!), xxxxxxx à xxx, xxxx ooo$ XXX\n"
|
|
Packit |
15f964 |
"> xxxxé: https://xxxxxxxxxxxxxxxx.xx/xxxxxxx/xxxxx-xxxx-xxxxxxxx-xxxxx-\n"
|
|
Packit |
15f964 |
"> xxxx-xxx-xxxxxxxx-xxx/ xx xx xxxx xéxéxxxxxxx x'xxxxxx xxxx xx xxxxxx\n"
|
|
Packit |
15f964 |
"> xx xxxxxxxxxxxx xx xxx (xxxxx Xxxxxx) xxxx xxxx x'xxxxxxx xx xxxxxx: \n"
|
|
Packit |
15f964 |
"> https://xxxxxxxxxxxxxxxx.xxx/xx-xxxxxxx/xxxxxxx/Xxxxxxxxxxxx-Xxxxx-Xx\n"
|
|
Packit |
15f964 |
"> xx-XXX-Xxxxxx-Xxx.xxx\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> Xxxx xxx xxx xxxxxxx xxxxxxxéxx x'xxxêxxxx à xxxxx, xxx xx xxxxé xx\n"
|
|
Packit |
15f964 |
"> oooxooo xxxxx xxxxx xxxx... xxxx x'xxx xxxxxxxxxxxx xxxxx xxx\n"
|
|
Packit |
15f964 |
"> xxxxxxxx xx \"xx xxxxx xxx xxx xxxxxxx xxxxxxx xxxxxxxxxxxxxx xxxx\n"
|
|
Packit |
15f964 |
"> xxxxx xxxxxx xx xx xxxx xx x'xxxxxx\". Xx xxxx-êxxx xxx xx xxxxxxxx xx\n"
|
|
Packit |
15f964 |
"> xxxx \"x'xxxêxx à xxxxx xx oooxooo xxxx xxx xéxxxxxxxx, xxxx\"...\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> Xxxxx xxxxxx'xx xxx x xxxx xxxxxxx xxxxx xx xxèx xxxxxxxxx\n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> xxxxxxxxxxxxxxxx à xx xxx x'xx xx xêxx (éxxxxxxxxx xxxx-xx-xxxxxxxx): https://xxxxxxxxxxxxxxxx.xxx/xx-xxxxxxx/xxxxxxx/Xxxxx-xxxx-xxx-\n"
|
|
Packit |
15f964 |
"> xxxxxxxxxx-xxxxx.xxx ; \n"
|
|
Packit |
15f964 |
"> \n"
|
|
Packit |
15f964 |
"> ...x'x xxxxx xx xxxxxx x'xxxxxx xéxxxxxxx, xx xxx xxxx xxxxxx\n"
|
|
Packit |
15f964 |
"> x'xxxxxxxxxxx xxxxxx, xxxx https://xxxxxxxxxxxxxxxx.xxx/xxxxxxxx-xxxx\n"
|
|
Packit |
15f964 |
"> xxx-xxxx-xxx-o/ xxxxx xxx https://xxxxxxxxxxxxxxxx.xxx/xxxxxxxx-xxxxx\n"
|
|
Packit |
15f964 |
"> xx-xxxx-xxx-o/ ..."))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
static void
|
|
Packit |
15f964 |
test_bug_750636 (TestFixture *fixture)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_fixture_change_setting_int32 (fixture, "org.gnome.evolution.mail", "composer-word-wrap-length", 71);
|
|
Packit |
15f964 |
|
|
Packit |
15f964 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit |
15f964 |
"mode:plain\n"
|
|
Packit |
15f964 |
"type:"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901A\\n\\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 B\\n\\n"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901 C\\n\\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 D\\n\\n"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901" UNICODE_NBSP UNICODE_NBSP UNICODE_NBSP "E\\n\\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890" UNICODE_NBSP UNICODE_NBSP UNICODE_NBSP "F\\n\\n"
|
|
Packit |
15f964 |
" 1\\n"
|
|
Packit |
15f964 |
" 2\\n"
|
|
Packit |
15f964 |
" 3\\n"
|
|
Packit |
15f964 |
"\n",
|
|
Packit |
15f964 |
HTML_PREFIX ""
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901A"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 B"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901 C"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 D"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901 E"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 F"
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
" 1 "
|
|
Packit |
15f964 |
" 2 "
|
|
Packit |
15f964 |
" 3 "
|
|
Packit |
15f964 |
"
"
|
|
Packit |
15f964 |
HTML_SUFFIX,
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901\n"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901\n"
|
|
Packit |
15f964 |
"A\n\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890\n"
|
|
Packit |
15f964 |
"B\n\n"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901\n"
|
|
Packit |
15f964 |
"C\n\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 \n"
|
|
Packit |
15f964 |
"D\n\n"
|
|
Packit |
15f964 |
"12345678901234567890123456789012345678901234567890123456789012345678901\n"
|
|
Packit |
15f964 |
" E\n\n"
|
|
Packit |
15f964 |
"1234567890123456789012345678901234567890123456789012345678901234567890 \n"
|
|
Packit |
15f964 |
" F\n\n"
|
|
Packit |
15f964 |
" 1\n"
|
|
Packit |
15f964 |
" 2\n"
|
|
Packit |
15f964 |
" 3\n"))
|
|
Packit |
15f964 |
g_test_fail ();
|
|
Packit |
15f964 |
}
|
|
Packit |
15f964 |
|
|
Packit Service |
a527d9 |
static void
|
|
Packit Service |
a527d9 |
test_issue_86 (TestFixture *fixture)
|
|
Packit Service |
a527d9 |
{
|
|
Packit Service |
a527d9 |
const gchar *source_text =
|
|
Packit Service |
a527d9 |
"normal text\n"
|
|
Packit Service |
a527d9 |
"\n"
|
|
Packit Service |
a527d9 |
"> level 1\n"
|
|
Packit Service |
a527d9 |
"> level 1\n"
|
|
Packit Service |
a527d9 |
"> > level 2\n"
|
|
Packit Service |
a527d9 |
"> > level 2\n"
|
|
Packit Service |
a527d9 |
"> >\n"
|
|
Packit Service |
a527d9 |
"> > level 2\n"
|
|
Packit Service |
a527d9 |
">\n"
|
|
Packit Service |
a527d9 |
"> level 1\n"
|
|
Packit Service |
a527d9 |
"> level 1\n"
|
|
Packit Service |
a527d9 |
">\n"
|
|
Packit Service |
a527d9 |
"> > > level 3\n"
|
|
Packit Service |
a527d9 |
"> > > level 3\n"
|
|
Packit Service |
a527d9 |
">\n"
|
|
Packit Service |
a527d9 |
"> > level 2\n"
|
|
Packit Service |
a527d9 |
"> > level 2\n"
|
|
Packit Service |
a527d9 |
">\n"
|
|
Packit Service |
a527d9 |
"> level 1\n"
|
|
Packit Service |
a527d9 |
"\n"
|
|
Packit Service |
a527d9 |
"back normal text\n";
|
|
Packit Service |
a527d9 |
gchar *converted, *to_insert;
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
if (!test_utils_process_commands (fixture,
|
|
Packit Service |
a527d9 |
"mode:html\n")) {
|
|
Packit Service |
a527d9 |
g_test_fail ();
|
|
Packit Service |
a527d9 |
return;
|
|
Packit Service |
a527d9 |
}
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
converted = camel_text_to_html (source_text,
|
|
Packit Service |
a527d9 |
CAMEL_MIME_FILTER_TOHTML_PRE |
|
|
Packit Service |
a527d9 |
CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
|
|
Packit Service |
a527d9 |
CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES |
|
|
Packit Service |
a527d9 |
CAMEL_MIME_FILTER_TOHTML_QUOTE_CITATION,
|
|
Packit Service |
a527d9 |
0xDDDDDD);
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
g_return_if_fail (converted != NULL);
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
to_insert = g_strconcat (converted,
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"",
|
|
Packit Service |
a527d9 |
NULL);
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
test_utils_insert_content (fixture, to_insert,
|
|
Packit Service |
a527d9 |
E_CONTENT_EDITOR_INSERT_REPLACE_ALL | E_CONTENT_EDITOR_INSERT_TEXT_HTML);
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
if (!test_utils_run_simple_test (fixture,
|
|
Packit Service |
a527d9 |
"",
|
|
Packit Service |
a527d9 |
HTML_PREFIX "On Today, User wrote: "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"normal text "
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"level 1 "
|
|
Packit Service |
a527d9 |
"level 1 "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"level 2 "
|
|
Packit Service |
a527d9 |
"level 2 "
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
"level 2 "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
"level 1 "
|
|
Packit Service |
a527d9 |
"level 1 "
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"level 3 "
|
|
Packit Service |
a527d9 |
"level 3 "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"level 2 "
|
|
Packit Service |
a527d9 |
"level 2 "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
"level 1 "
|
|
Packit Service |
a527d9 |
""
|
|
Packit Service |
a527d9 |
"
"
|
|
Packit Service |
a527d9 |
"back normal text "
|
|
Packit Service |
a527d9 |
"" HTML_SUFFIX,
|
|
Packit Service |
a527d9 |
"On Today, User wrote:\n"
|
|
Packit Service |
a527d9 |
"> normal text\n"
|
|
Packit Service |
a527d9 |
"> \n"
|
|
Packit Service |
a527d9 |
"> > level 1\n"
|
|
Packit Service |
a527d9 |
"> > level 1\n"
|
|
Packit Service |
a527d9 |
"> > > level 2\n"
|
|
Packit Service |
a527d9 |
"> > > level 2\n"
|
|
Packit Service |
a527d9 |
"> > > \n"
|
|
Packit Service |
a527d9 |
"> > > level 2\n"
|
|
Packit Service |
a527d9 |
"> > \n"
|
|
Packit Service |
a527d9 |
"> > level 1\n"
|
|
Packit Service |
a527d9 |
"> > level 1\n"
|
|
Packit Service |
a527d9 |
"> > \n"
|
|
Packit Service |
a527d9 |
"> > > > level 3\n"
|
|
Packit Service |
a527d9 |
"> > > > level 3\n"
|
|
Packit Service |
a527d9 |
"> > \n"
|
|
Packit Service |
a527d9 |
"> > > level 2\n"
|
|
Packit Service |
a527d9 |
"> > > level 2\n"
|
|
Packit Service |
a527d9 |
"> > \n"
|
|
Packit Service |
a527d9 |
"> > level 1\n"
|
|
Packit Service |
a527d9 |
"> \n"
|
|
Packit Service |
a527d9 |
"> back normal text"))
|
|
Packit Service |
a527d9 |
g_test_fail ();
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
a527d9 |
g_free (to_insert);
|
|
Packit Service |
a527d9 |
g_free (converted);
|
|
Packit Service |
a527d9 |
}
|
|
Packit Service |
a527d9 |
|
|
Packit Service |
c9630e |
static void
|
|
Packit Service |
c9630e |
test_issue_103 (TestFixture *fixture)
|
|
Packit Service |
c9630e |
{
|
|
Packit Service |
c9630e |
#define LONG_URL "https://www.example.com/123456789012345678901234567890123456789012345678901234567890"
|
|
Packit Service |
c9630e |
#define SHORTER_URL "https://www.example.com/1234567890123456789012345678901234567890"
|
|
Packit Service |
c9630e |
#define SHORT_URL "https://www.example.com/"
|
|
Packit Service |
c9630e |
|
|
Packit Service |
c9630e |
if (!test_utils_run_simple_test (fixture,
|
|
Packit Service |
c9630e |
"mode:plain\n"
|
|
Packit Service |
c9630e |
"type:before\\n"
|
|
Packit Service |
c9630e |
LONG_URL "\\n"
|
|
Packit Service |
c9630e |
"after\\n"
|
|
Packit Service |
c9630e |
"prefix text " SHORTER_URL " suffix\\n"
|
|
Packit Service |
c9630e |
"prefix " SHORT_URL " suffix\\n"
|
|
Packit Service |
c9630e |
"end\n",
|
|
Packit Service |
c9630e |
HTML_PREFIX "before "
|
|
Packit Service |
c9630e |
""
|
|
Packit Service |
c9630e |
"after "
|
|
Packit Service |
c9630e |
""
|
|
Packit Service |
c9630e |
""
|
|
Packit Service |
c9630e |
"end "
|
|
Packit Service |
c9630e |
HTML_SUFFIX,
|
|
Packit Service |
c9630e |
"before\n"
|
|
Packit Service |
c9630e |
LONG_URL "\n"
|
|
Packit Service |
c9630e |
"after\n"
|
|
Packit Service |
c9630e |
"prefix text \n"
|
|
Packit Service |
c9630e |
SHORTER_URL " suffix\n"
|
|
Packit Service |
c9630e |
"prefix " SHORT_URL " suffix\n"
|
|
Packit Service |
c9630e |
"end")) {
|
|
Packit Service |
c9630e |
g_test_fail ();
|
|
Packit Service |
c9630e |
return;
|
|
Packit Service |
c9630e |
}
|
|
Packit Service |
c9630e |
|
|
Packit Service |
c9630e |
#undef SHORT_URL
|
|
Packit Service |
c9630e |
#undef SHORTER_URL
|
|
Packit Service |
c9630e |
#undef LONG_URL
|
|
Packit Service |
c9630e |
}
|
|
Packit Service |
c9630e |
|
|
Packit |
15f964 |
void
|
|
Packit |
15f964 |
test_add_html_editor_bug_tests (void)
|
|
Packit |
15f964 |
{
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/726548", test_bug_726548);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/750657", test_bug_750657);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/760989", test_bug_760989);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/767903", test_bug_767903);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/769708", test_bug_769708);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/769913", test_bug_769913);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/769955", test_bug_769955);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/770073", test_bug_770073);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/770074", test_bug_770074);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/771044", test_bug_771044);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/771131", test_bug_771131);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/771493", test_bug_771493);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/772171", test_bug_772171);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/772513", test_bug_772513);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/772918", test_bug_772918);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/773164", test_bug_773164);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/775042", test_bug_775042);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/775691", test_bug_775691);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/779707", test_bug_779707);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/780275/html", test_bug_780275_html);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/780275/plain", test_bug_780275_plain);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/781722", test_bug_781722);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/781116", test_bug_781116);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/780088", test_bug_780088);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/788829", test_bug_788829);
|
|
Packit |
15f964 |
test_utils_add_test ("/bug/750636", test_bug_750636);
|
|
Packit Service |
a527d9 |
test_utils_add_test ("/issue/86", test_issue_86);
|
|
Packit Service |
c9630e |
test_utils_add_test ("/issue/103", test_issue_103);
|
|
Packit |
15f964 |
}
|