Title: [110720] trunk/LayoutTests
Revision
110720
Author
[email protected]
Date
2012-03-14 11:37:37 -0700 (Wed, 14 Mar 2012)

Log Message

WK2: Spelling tests that rely on getting the marked range or the marked count synchronously fail
https://bugs.webkit.org/show_bug.cgi?id=81138

Add some expected failing results for such tests to get the bots green.

* platform/mac-wk2/editing/spelling/markers-expected.txt: Added.
* platform/mac-wk2/editing/spelling/spelling-insert-html-expected.txt: Added.
* platform/mac-wk2/editing/spelling/spelling-unified-emulation-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (110719 => 110720)


--- trunk/LayoutTests/ChangeLog	2012-03-14 18:33:16 UTC (rev 110719)
+++ trunk/LayoutTests/ChangeLog	2012-03-14 18:37:37 UTC (rev 110720)
@@ -1,3 +1,14 @@
+2012-03-14  Jessie Berlin  <[email protected]>
+
+        WK2: Spelling tests that rely on getting the marked range or the marked count synchronously fail
+        https://bugs.webkit.org/show_bug.cgi?id=81138
+
+        Add some expected failing results for such tests to get the bots green.
+
+        * platform/mac-wk2/editing/spelling/markers-expected.txt: Added.
+        * platform/mac-wk2/editing/spelling/spelling-insert-html-expected.txt: Added.
+        * platform/mac-wk2/editing/spelling/spelling-unified-emulation-expected.txt: Added.
+
 2012-03-14  Adrienne Walker  <[email protected]>
 
         [Chromium] Unreviewed, remove expectations for non-crashing tests

Added: trunk/LayoutTests/platform/mac-wk2/editing/spelling/markers-expected.txt (0 => 110720)


--- trunk/LayoutTests/platform/mac-wk2/editing/spelling/markers-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/editing/spelling/markers-expected.txt	2012-03-14 18:37:37 UTC (rev 110720)
@@ -0,0 +1,19 @@
+Grammar Error Only
+PASS internals.markerCountForNode(e.firstChild, "spelling") is 0
+FAIL internals.markerCountForNode(e.firstChild, "grammar") should be 1. Was 0.
+FAIL range.toString() should be a. Threw exception TypeError: 'null' is not an object (evaluating 'range.toString')
+Spelling Error Only
+FAIL internals.markerCountForNode(e.firstChild, "spelling") should be 1. Was 0.
+FAIL range.toString() should be zz. Threw exception TypeError: 'null' is not an object (evaluating 'range.toString')
+PASS internals.markerCountForNode(e.firstChild, "grammar") is 0
+Grammar and Spelling Error
+FAIL internals.markerCountForNode(e.firstChild, "spelling") should be 1. Was 0.
+FAIL range.toString() should be zz. Threw exception TypeError: 'null' is not an object (evaluating 'range.toString')
+FAIL internals.markerCountForNode(e.firstChild, "grammar") should be 1. Was 0.
+FAIL range.toString() should be orange,zz,apple.. Threw exception TypeError: 'null' is not an object (evaluating 'range.toString')
+PASS successfullyParsed is true
+
+TEST COMPLETE
+I have a issue.
+zz.
+orange,zz,apple.

Added: trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-insert-html-expected.txt (0 => 110720)


--- trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-insert-html-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-insert-html-expected.txt	2012-03-14 18:37:37 UTC (rev 110720)
@@ -0,0 +1,10 @@
+The spellchecker shouldn't mark substrings of words after pasting.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+FAIL markedText should be zz. Was .
+PASS successfullyParsed is true
+
+TEST COMPLETE
+foo zz
+food.

Added: trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-unified-emulation-expected.txt (0 => 110720)


--- trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-unified-emulation-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/editing/spelling/spelling-unified-emulation-expected.txt	2012-03-14 18:37:37 UTC (rev 110720)
@@ -0,0 +1,18 @@
+The spellchecker should work correctly if unified spellcheck path is used.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+FAIL numMarked should be 1. Was 0.
+FAIL numMarked should be 1. Was 0.
+FAIL numMarked should be 2. Was 0.
+FAIL numMarked should be 3. Was 0.
+FAIL numMarked should be 3. Was 0.
+FAIL numMarked should be 1. Was 0.
+FAIL numMarked should be 1. Was 0.
+FAIL numMarked should be 1. Was 0.
+PASS numMarked is length
+PASS numMarked is length
+PASS successfullyParsed is true
+
+TEST COMPLETE
+I would like to sleep, zzz.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to