--- unit/test-stkutil.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 74e2ec2..c2e1327 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -22383,6 +22383,16 @@ static struct html_attr_test html_attr_data_3 = { "#FFFFFF;\">bc</span>", }; +static struct html_attr_test html_attr_data_4 = { + .text = "1 < 2, 2 > 1, 1 & 0 == 0\nSpecial Chars are Fun\r\nTo Write", + .text_attr = { + .len = 4, + .attributes = { 0x00, 0x00, 0x00 }, + }, + .html = "1 < 2, 2 > 1, 1 & 0 == 0<br/>Special Chars are Fun" + "<br/>To Write", +}; + static void test_html_attr(gconstpointer data) { const struct html_attr_test *test = data; @@ -24420,6 +24430,8 @@ int main(int argc, char **argv) &html_attr_data_2, test_html_attr); g_test_add_data_func("/teststk/HTML Attribute Test 3", &html_attr_data_3, test_html_attr); + g_test_add_data_func("/teststk/HTML Attribute Test 4", + &html_attr_data_4, test_html_attr); return g_test_run(); } -- 1.6.6.1 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono