From 5fbf702f68312b725f41907b3eca6b77a18a0e1e Mon Sep 17 00:00:00 2001 From: Alexander Surkov Date: Fri, 24 May 2013 14:52:35 +0900 Subject: [PATCH] Bug 875201 - move getText at word boundary tests into test_wordboundery.html, r=tbsaunde --- accessible/tests/mochitest/text/Makefile.in | 1 - .../tests/mochitest/text/test_multiline.html | 73 ------ .../tests/mochitest/text/test_singleline.html | 72 ------ .../mochitest/text/test_whitespaces.html | 209 ------------------ .../mochitest/text/test_wordboundary.html | 176 ++++++++++++++- 5 files changed, 172 insertions(+), 359 deletions(-) delete mode 100644 accessible/tests/mochitest/text/test_whitespaces.html diff --git a/accessible/tests/mochitest/text/Makefile.in b/accessible/tests/mochitest/text/Makefile.in index a86e2c00ec3a..a73550f23838 100644 --- a/accessible/tests/mochitest/text/Makefile.in +++ b/accessible/tests/mochitest/text/Makefile.in @@ -23,7 +23,6 @@ MOCHITEST_A11Y_FILES = \ test_passwords.html \ test_selection.html \ test_singleline.html \ - test_whitespaces.html \ test_wordboundary.html \ test_words.html \ $(NULL) diff --git a/accessible/tests/mochitest/text/test_multiline.html b/accessible/tests/mochitest/text/test_multiline.html index 224e43f5da88..5167f0229153 100644 --- a/accessible/tests/mochitest/text/test_multiline.html +++ b/accessible/tests/mochitest/text/test_multiline.html @@ -33,22 +33,6 @@ //////////////////////////////////////////////////////////////////////// // getTextAfterOffset - // BOUNDARY_WORD_START - testTextAfterOffset(0, BOUNDARY_WORD_START, "two ", 9, 13, IDs); - testTextAfterOffset(8, BOUNDARY_WORD_START, "two ", 9, 13, - "div", kOk, kOk, kOk, - "divbr", kTodo, kTodo, kTodo, - "editable", kOk, kOk, kOk, - "editablebr", kTodo, kTodo, kTodo, - "textarea", kOk, kOk, kOk); - testTextAfterOffset(9, BOUNDARY_WORD_START, "words\n", 13, 19, IDs); - - // BOUNDARY_WORD_END - testTextAfterOffset(0, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextAfterOffset(6, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextAfterOffset(7, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextAfterOffset(8, BOUNDARY_WORD_END, " words", 12, 18, IDs); - // BOUNDARY_LINE_START testTextAfterOffset(0, BOUNDARY_LINE_START, "\n", 8, 9, "div", kTodo, kTodo, kTodo, @@ -122,40 +106,6 @@ //////////////////////////////////////////////////////////////////////// // getTextBeforeOffset - // BOUNDARY_WORD_START - testTextBeforeOffset(0, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(7, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(8, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(9, BOUNDARY_WORD_START, "oneword\n\n", 0, 9, IDs); - testTextBeforeOffset(13, BOUNDARY_WORD_START, "two ", 9, 13, IDs); - testTextBeforeOffset(18, BOUNDARY_WORD_START, "two ", 9, 13, IDs); - testTextBeforeOffset(19, BOUNDARY_WORD_START, "two ", 9, 13, IDs); - - // BOUNDARY_WORD_END - testTextBeforeOffset(0, BOUNDARY_WORD_END, "", 0, 0, IDs); - testTextBeforeOffset(7, BOUNDARY_WORD_END, "", 0, 0, IDs); - testTextBeforeOffset(8, BOUNDARY_WORD_END, "oneword", 0, 7, - "div", kOk, kOk, kOk, - "divbr", kTodo, kOk, kTodo, - "editable", kOk, kOk, kOk, - "editablebr", kTodo, kOk, kTodo, - "textarea", kOk, kOk, kOk); - testTextBeforeOffset(9, BOUNDARY_WORD_END, "oneword", 0, 7, - "div", kOk, kOk, kOk, - "divbr", kTodo, kOk, kTodo, - "editable", kOk, kOk, kOk, - "editablebr", kTodo, kOk, kTodo, - "textarea", kOk, kOk, kOk); - testTextBeforeOffset(12, BOUNDARY_WORD_END, "oneword", 0, 7, IDs); - testTextBeforeOffset(13, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextBeforeOffset(18, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextBeforeOffset(19, BOUNDARY_WORD_END, " words", 12, 18, - "div", kOk, kOk, kOk, - "divbr", kTodo, kTodo, kTodo, - "editable", kOk, kOk, kOk, - "editablebr", kTodo, kTodo, kTodo, - "textarea", kOk, kOk, kOk); - // BOUNDARY_LINE_START testTextBeforeOffset(0, BOUNDARY_LINE_START, "", 0, 0, "div", kOk, kOk, kOk, @@ -229,29 +179,6 @@ //////////////////////////////////////////////////////////////////////// // getTextAtOffset - // BOUNDARY_WORD_START - testTextAtOffset(0, BOUNDARY_WORD_START, "oneword\n\n", 0, 9, IDs); - testTextAtOffset(8, BOUNDARY_WORD_START, "oneword\n\n", 0, 9, - "div", kOk, kOk, kOk, - "divbr", kTodo, kTodo, kTodo, - "editable", kOk, kOk, kOk, - "editablebr", kTodo, kTodo, kTodo, - "textarea", kOk, kOk, kOk); - testTextAtOffset(9, BOUNDARY_WORD_START, "two ", 9, 13, IDs); - testTextAtOffset(13, BOUNDARY_WORD_START, "words\n", 13, 19, IDs); - - // BOUNDARY_WORD_END - testTextAtOffset(0, BOUNDARY_WORD_END, "oneword", 0, 7, IDs); - testTextAtOffset(8, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextAtOffset(9, BOUNDARY_WORD_END, "\n\ntwo", 7, 12, IDs); - testTextAtOffset(12, BOUNDARY_WORD_END, " words", 12, 18, IDs); - testTextAtOffset(13, BOUNDARY_WORD_END, " words", 12, 18, - "div", kOk, kOk, kOk, - "divbr", kOk, kOk, kOk, - "editable", kOk, kOk, kOk, - "editablebr", kOk, kOk, kOk, - "textarea", kOk, kOk, kOk); - // BOUNDARY_LINE_START testTextAtOffset(0, BOUNDARY_LINE_START, "oneword\n", 0, 8, "div", kTodo, kOk, kTodo, diff --git a/accessible/tests/mochitest/text/test_singleline.html b/accessible/tests/mochitest/text/test_singleline.html index 923fe8fe7db1..4c1203ddb081 100644 --- a/accessible/tests/mochitest/text/test_singleline.html +++ b/accessible/tests/mochitest/text/test_singleline.html @@ -28,30 +28,6 @@ var IDs = [ "input", "div", "editable", "textarea" ]; var regularIDs = [ "input", "div", "editable" ]; - // BOUNDARY_WORD_START - testTextAfterOffset(0, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAfterOffset(1, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAfterOffset(5, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAfterOffset(6, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAfterOffset(7, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAfterOffset(8, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAfterOffset(9, BOUNDARY_WORD_START, "", 15, 15, IDs); - testTextAfterOffset(11, BOUNDARY_WORD_START, "", 15, 15, IDs); - testTextAfterOffset(14, BOUNDARY_WORD_START, "", 15, 15, IDs); - testTextAfterOffset(15, BOUNDARY_WORD_START, "", 15, 15, IDs); - - // BOUNDARY_WORD_END - testTextAfterOffset(0, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAfterOffset(1, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAfterOffset(5, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAfterOffset(6, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAfterOffset(7, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAfterOffset(8, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAfterOffset(9, BOUNDARY_WORD_END, "", 15, 15, IDs); - testTextAfterOffset(11, BOUNDARY_WORD_END, "", 15, 15, IDs); - testTextAfterOffset(14, BOUNDARY_WORD_END, "", 15, 15, IDs); - testTextAfterOffset(15, BOUNDARY_WORD_END, "", 15, 15, IDs); - // BOUNDARY_LINE_START testTextAfterOffset(0, BOUNDARY_LINE_START, "", 15, 15, "input", kTodo, kTodo, kOk, @@ -101,30 +77,6 @@ var IDs = [ "input", "div", "editable", "textarea" ]; - // BOUNDARY_WORD_START - testTextBeforeOffset(0, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(1, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(5, BOUNDARY_WORD_START, "", 0, 0, IDs); - testTextBeforeOffset(6, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextBeforeOffset(7, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextBeforeOffset(8, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextBeforeOffset(9, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextBeforeOffset(10, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextBeforeOffset(14, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextBeforeOffset(15, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - - // BOUNDARY_WORD_END - testTextBeforeOffset(0, BOUNDARY_WORD_END, "", 0, 0, IDs); - testTextBeforeOffset(1, BOUNDARY_WORD_END, "", 0, 0, IDs); - testTextBeforeOffset(5, BOUNDARY_WORD_END, "", 0, 0, IDs); - testTextBeforeOffset(6, BOUNDARY_WORD_END, "hello", 0, 5, IDs); - testTextBeforeOffset(7, BOUNDARY_WORD_END, "hello", 0, 5, IDs); - testTextBeforeOffset(8, BOUNDARY_WORD_END, "hello", 0, 5, IDs); - testTextBeforeOffset(9, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextBeforeOffset(10, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextBeforeOffset(14, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextBeforeOffset(15, BOUNDARY_WORD_END, " my", 5, 8, IDs); - // BOUNDARY_LINE_START testTextBeforeOffset(0, BOUNDARY_LINE_START, "", 0, 0, "input", kOk, kOk, kOk, @@ -171,30 +123,6 @@ IDs = [ "input", "div", "editable", "textarea" ]; regularIDs = [ "input", "div", "editable" ]; - // BOUNDARY_WORD_START - testTextAtOffset(0, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextAtOffset(1, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextAtOffset(5, BOUNDARY_WORD_START, "hello ", 0, 6, IDs); - testTextAtOffset(6, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAtOffset(7, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAtOffset(8, BOUNDARY_WORD_START, "my ", 6, 9, IDs); - testTextAtOffset(9, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAtOffset(10, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAtOffset(14, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - testTextAtOffset(15, BOUNDARY_WORD_START, "friend", 9, 15, IDs); - - // BOUNDARY_WORD_END - testTextAtOffset(0, BOUNDARY_WORD_END, "hello", 0, 5, IDs); - testTextAtOffset(1, BOUNDARY_WORD_END, "hello", 0, 5, IDs); - testTextAtOffset(5, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAtOffset(6, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAtOffset(7, BOUNDARY_WORD_END, " my", 5, 8, IDs); - testTextAtOffset(8, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAtOffset(9, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAtOffset(10, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAtOffset(14, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - testTextAtOffset(15, BOUNDARY_WORD_END, " friend", 8, 15, IDs); - // BOUNDARY_LINE_START testTextAtOffset(0, BOUNDARY_LINE_START, "hello my friend", 0, 15, IDs); testTextAtOffset(1, BOUNDARY_LINE_START, "hello my friend", 0, 15, IDs); diff --git a/accessible/tests/mochitest/text/test_whitespaces.html b/accessible/tests/mochitest/text/test_whitespaces.html deleted file mode 100644 index cd719fa8237a..000000000000 --- a/accessible/tests/mochitest/text/test_whitespaces.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - getText... methods tests on string with whitespaces for plain text containers - - - - - - - - - - - - Bug 610568 - - - Bug 853340 - - - Bug 855732 - -

- -
-  
-  
Brave Sir Robin ran
-
Brave Sir Robin ran
- -
- - - diff --git a/accessible/tests/mochitest/text/test_wordboundary.html b/accessible/tests/mochitest/text/test_wordboundary.html index d1b6d66b5bc3..f8b33eb4d05b 100644 --- a/accessible/tests/mochitest/text/test_wordboundary.html +++ b/accessible/tests/mochitest/text/test_wordboundary.html @@ -16,7 +16,9 @@ function doTest() { // "hello" - var ids = [ "i1", "d1", "e1" ]; + // __h__e__l__l__o__ + // 0 1 2 3 4 5 + var ids = [ "i1", "d1", "e1", "t1" ]; testTextBeforeOffset(ids, BOUNDARY_WORD_START, [ [ 0, 5, "", 0, 0 ] ]); testTextBeforeOffset(ids, BOUNDARY_WORD_END, @@ -33,7 +35,9 @@ [ [ 0, 5, "", 5, 5 ] ]); // "hello " - var ids = [ "i2", "d2", "e2" ]; + // __h__e__l__l__o__ __ + // 0 1 2 3 4 5 6 + var ids = [ "i2", "d2", "e2", "t2" ]; testTextBeforeOffset(ids, BOUNDARY_WORD_START, [ [ 0, 6, "", 0, 0 ] ]); testTextBeforeOffset(ids, BOUNDARY_WORD_END, @@ -63,7 +67,16 @@ ]); // "hello all" - ids = [ "i6", "d6", "e6" ]; + // __h__e__l__l__o__ __a__l__l__ + // 0 1 2 3 4 5 6 7 8 9 + ids = [ "i6", "d6", "e6", "t6" ]; + testTextBeforeOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "", 0, 0 ], + [ 6, 9, "hello ", 0, 6 ]]); + testTextBeforeOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, "", 0, 0 ], + [ 6, 9, "hello", 0, 5 ] ]); + testTextAtOffset(ids, BOUNDARY_WORD_START, [ [ 0, 5, "hello ", 0, 6 ], [ 6, 9, "all", 6, 9 ] ]); @@ -71,8 +84,26 @@ [ [ 0, 4, "hello", 0, 5 ], [ 5, 9, " all", 5, 9 ] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "all", 6, 9 ], + [ 6, 9, "", 9, 9 ] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, " all", 5, 9 ], + [ 6, 9, "", 9, 9 ] ]); + // "hello my friend" - ids = [ "i7", "d7", "e7" ]; + // __h__e__l__l__o__ __m__y__ __f__r__i__e__n__d__ + // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + ids = [ "i7", "d7", "e7", "t7" ]; + testTextBeforeOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "", 0, 0 ], + [ 6, 8, "hello ", 0, 6 ], + [ 9, 15, "my ", 6, 9 ] ]); + testTextBeforeOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, "", 0, 0 ], + [ 6, 8, "hello", 0, 5 ], + [ 9, 15, " my", 5, 8 ] ]); + testTextAtOffset(ids, BOUNDARY_WORD_START, [ [ 0, 5, "hello ", 0, 6 ], [ 6, 8, "my ", 6, 9 ], @@ -82,6 +113,115 @@ [ 5, 7, " my", 5, 8 ], [ 8, 15, " friend", 8, 15] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "my ", 6, 9 ], + [ 6, 8, "friend", 9, 15 ], + [ 9, 15, "", 15, 15 ] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, " my", 5, 8 ], + [ 6, 8, " friend", 8, 15 ], + [ 9, 15, "", 15, 15 ] ]); + + // "Brave Sir Robin ran" + // __B__r__a__v__e__ __S__i__r__ __ __R__o__b__i__n__ __ __ __r__a__n__ + // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 + ids = [ "i8", "d8", "e8", "t8" ]; + testTextBeforeOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "", 0, 0 ], + [ 6, 10, "Brave ", 0, 6 ], + [ 11, 18, "Sir ", 6, 11 ], + [ 19, 22, "Robin ", 11, 19 ] ]); + testTextBeforeOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, "", 0, 0 ], + [ 6, 9, "Brave", 0, 5 ], + [ 10, 16, " Sir", 5, 9 ], + [ 17, 22, " Robin", 9, 16 ] ]); + + testTextAtOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "Brave ", 0, 6 ], + [ 6, 10, "Sir ", 6, 11 ], + [ 11, 18, "Robin ", 11, 19 ], + [ 19, 22, "ran", 19, 22 ] ]); + testTextAtOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 4, "Brave", 0, 5 ], + [ 5, 8, " Sir", 5, 9 ], + [ 9, 15, " Robin", 9, 16 ], + [ 16, 22, " ran", 16, 22 ] ]); + + testTextAfterOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 5, "Sir ", 6, 11 ], + [ 6, 10, "Robin ", 11, 19 ], + [ 11, 18, "ran", 19, 22 ], + [ 19, 22, "", 22, 22 ] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 5, " Sir", 5, 9 ], + [ 6, 9, " Robin", 9, 16 ], + [ 10, 16, " ran", 16, 22 ], + [ 17, 22, "", 22, 22 ] ]); + + // 'oneword + // ' + // 'two words + // ' + // __o__n__e__w__o__r__d__\n + // 0 1 2 3 4 5 6 7 + // __\n + // 8 + // __t__w__o__ __w__o__r__d__s__\n__ + // 9 10 11 12 13 14 15 16 17 18 19 + + ids = ["ml_div1", "ml_divbr1", "ml_ediv1", "ml_edivbr1", "ml_t1"]; + testTextBeforeOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 8, "", 0, 0 ], + [ 9, 12, "oneword\n\n", 0, 9 ], + [ 13, 19, "two ", 9, 13 ] ]); + testTextBeforeOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 7, "", 0, 0 ], + [ 8, 12, "oneword", 0, 7, + [ [ 8, "ml_divbr1", kTodo, kOk, kTodo ], + [ 8, "ml_edivbr1", kTodo, kOk, kTodo ], + [ 9, "ml_divbr1", kTodo, kOk, kTodo ], + [ 9, "ml_edivbr1", kTodo, kOk, kTodo ] ] ], + [ 13, 18, "\n\ntwo", 7, 12 ], + [ 19, 19, " words", 12, 18, + [ [ 19, "ml_divbr1", kTodo, kTodo, kTodo, ], + [ 19, "ml_edivbr1", kTodo, kTodo, kTodo, ] ] ] + ] ); + + testTextAtOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 8, "oneword\n\n", 0, 9, + [ [ 7, "ml_divbr1", kTodo, kTodo, kTodo ], + [ 7, "ml_edivbr1", kTodo, kTodo, kTodo ], + [ 8, "ml_divbr1", kTodo, kTodo, kTodo ], + [ 8, "ml_edivbr1", kTodo, kTodo, kTodo ] ] ], + [ 9, 12, "two ", 9, 13 ], + [ 13, 19, "words\n", 13, 19 ] ]); + testTextAtOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 6, "oneword", 0, 7 ], + [ 7, 11, "\n\ntwo", 7, 12 ], + [ 12, 17, " words", 12, 18 ], + [ 18, 19, "\n", 18, 19, + [ [ 18, "ml_divbr1", kTodo, kTodo, kOk ], + [ 18, "ml_edivbr1", kTodo, kTodo, kOk ], + [ 19, "ml_divbr1", kTodo, kTodo, kOk ], + [ 19, "ml_edivbr1", kTodo, kTodo, kOk ] ] ] ]); + + testTextAfterOffset(ids, BOUNDARY_WORD_START, + [ [ 0, 8, "two ", 9, 13, + [ [ 7, "ml_divbr1", kTodo, kTodo, kTodo ], + [ 7, "ml_edivbr1", kTodo, kTodo, kTodo ], + [ 8, "ml_divbr1", kTodo, kTodo, kTodo ], + [ 8, "ml_edivbr1", kTodo, kTodo, kTodo ] ] ], + [ 9, 12, "words\n", 13, 19 ], + [ 13, 19, "", 19, 19 ] ]); + testTextAfterOffset(ids, BOUNDARY_WORD_END, + [ [ 0, 7, "\n\ntwo", 7, 12 ], + [ 8, 12, " words", 12, 18 ], + [ 13, 18, "\n", 18, 19, + [ [ 18, "ml_divbr1", kTodo, kTodo, kOk ], + [ 18, "ml_edivbr1", kTodo, kTodo, kOk ] ] ], + [ 19, 19, "", 19, 19 ] ]); + SimpleTest.finish(); } @@ -99,18 +239,46 @@
hello
hello
+
hello
hello
+
hello all
hello all
+
hello my friend
hello my friend
+ + + +
+    
Brave Sir Robin ran
+
Brave Sir Robin ran
+
+ + +
+
oneword + +two words +
+
oneword

two words
+
oneword + +two words +
+
oneword

two words
+ +