Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: LayoutTests/editing/text-iterator/findString-expected.txt

Issue 26654011: Fixing TestRunner::findString() so as to fix findString.html editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing default initializations Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/text-iterator/findString-expected.txt
diff --git a/LayoutTests/editing/text-iterator/findString-expected.txt b/LayoutTests/editing/text-iterator/findString-expected.txt
index f0d72b2f567faed6692cfec6b4701786bdcea0d5..3fe258eb1051227340d725ac2d4cf5d7b1f5897d 100644
--- a/LayoutTests/editing/text-iterator/findString-expected.txt
+++ b/LayoutTests/editing/text-iterator/findString-expected.txt
@@ -1,176 +1,176 @@
Searching for ‘o’ in ‘Lorem ipsum dolor sit amet’ with options []:
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 13,14 but got a match at 0,0 instead.
-FAIL: Expected a match at 15,16 but got a match at 0,0 instead.
+PASS: Got a match at 1,2 as expected.
+PASS: Got a match at 13,14 as expected.
+PASS: Got a match at 15,16 as expected.
PASS: Got no match as expected.
Searching for ‘o’ in ‘Lorem ipsum dolor sit amet’ with options [WrapAround]:
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 13,14 but got a match at 0,0 instead.
-FAIL: Expected a match at 15,16 but got a match at 0,0 instead.
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
+PASS: Got a match at 1,2 as expected.
+PASS: Got a match at 13,14 as expected.
+PASS: Got a match at 15,16 as expected.
+PASS: Got a match at 1,2 as expected.
Searching for ‘o’ in ‘Lorem ipsum dolor sit amet’ with options [Backwards]:
-FAIL: Expected 15,16 but got no match.
-FAIL: Expected a match at 13,14 but got a match at 0,0 instead.
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 15,16 as expected.
+PASS: Got a match at 13,14 as expected.
+PASS: Got a match at 1,2 as expected.
+PASS: Got no match as expected.
Searching for ‘o’ in ‘Lorem ipsum dolor sit amet’ with options [Backwards, WrapAround]:
-FAIL: Expected a match at 15,16 but got a match at 0,0 instead.
-FAIL: Expected a match at 13,14 but got a match at 0,0 instead.
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 15,16 but got a match at 0,0 instead.
+PASS: Got a match at 15,16 as expected.
+PASS: Got a match at 13,14 as expected.
+PASS: Got a match at 1,2 as expected.
+PASS: Got a match at 15,16 as expected.
Searching for ‘O’ in ‘Lorem ipsum dolor sit amet’ with options []:
PASS: Got no match as expected.
Searching for ‘O’ in ‘Lorem ipsum dolor sit amet’ with options [CaseInsensitive]:
-FAIL: Expected a match at 1,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 13,14 but got a match at 0,0 instead.
-FAIL: Expected a match at 15,16 but got a match at 0,0 instead.
+PASS: Got a match at 1,2 as expected.
+PASS: Got a match at 13,14 as expected.
+PASS: Got a match at 15,16 as expected.
Searching for ‘mount’ in ‘insurmountable mountain’ with options []:
-FAIL: Expected a match at 5,10 but got a match at 0,0 instead.
-FAIL: Expected a match at 15,20 but got a match at 0,0 instead.
+PASS: Got a match at 5,10 as expected.
+PASS: Got a match at 15,20 as expected.
PASS: Got no match as expected.
Searching for ‘mount’ in ‘insurmountable mountain’ with options [AtWordStarts]:
-FAIL: Expected a match at 15,20 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 15,20 as expected.
+PASS: Got no match as expected.
Searching for ‘co’ in ‘cocoa’ with options []:
-FAIL: Expected a match at 0,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 2,4 but got a match at 0,0 instead.
+PASS: Got a match at 0,2 as expected.
+PASS: Got a match at 2,4 as expected.
PASS: Got no match as expected.
Searching for ‘co’ in ‘cocoa’ with options [AtWordStarts]:
-FAIL: Expected a match at 0,2 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 0,2 as expected.
+PASS: Got no match as expected.
Searching for ‘org’ in ‘webkit.org’ with options [AtWordStarts]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 7,10 as expected.
Searching for ‘.org’ in ‘webkit.org’ with options [AtWordStarts]:
-FAIL: Expected a match at 6,10 but got a match at 0,0 instead.
+PASS: Got a match at 6,10 as expected.
PASS: Got no match as expected.
Searching for ‘rg’ in ‘webkit.org’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘org’ in ‘webkit.org’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at 7,10 but got a match at 0,0 instead.
+PASS: Got a match at 7,10 as expected.
PASS: Got no match as expected.
Searching for ‘.org’ in ‘webkit.org’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at 6,10 but got a match at 0,0 instead.
+PASS: Got a match at 6,10 as expected.
PASS: Got no match as expected.
Searching for ‘t.org’ in ‘webkit.org’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘it’ in ‘WebKit’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘Kit’ in ‘WebKit’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at 3,6 but got a match at 0,0 instead.
+PASS: Got a match at 3,6 as expected.
PASS: Got no match as expected.
Searching for ‘bKit’ in ‘WebKit’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘equest’ in ‘XMLHTTPRequest’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘Request’ in ‘XMLHTTPRequest’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at 7,14 but got a match at 0,0 instead.
+PASS: Got a match at 7,14 as expected.
PASS: Got no match as expected.
Searching for ‘PRequest’ in ‘XMLHTTPRequest’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘64’ in ‘LP64’ with options [AtWordStarts]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘4’ in ‘LP64’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘64’ in ‘LP64’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at 2,4 but got a match at 0,0 instead.
+PASS: Got a match at 2,4 as expected.
PASS: Got no match as expected.
Searching for ‘P64’ in ‘LP64’ with options [AtWordStarts, TreatMedialCapitalAsWordStart]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘動戦士’ in ‘起動戦士’ with options [AtWordStarts]:
-FAIL: Expected a match at 1,4 but got a match at 0,0 instead.
+PASS: Got a match at 1,4 as expected.
PASS: Got no match as expected.
Searching for ‘戦士’ in ‘起動戦士’ with options [AtWordStarts]:
-FAIL: Expected a match at 2,4 but got a match at 0,0 instead.
+PASS: Got a match at 2,4 as expected.
PASS: Got no match as expected.
Searching for ‘士’ in ‘起動戦士’ with options [AtWordStarts]:
-FAIL: Expected a match at 3,4 but got a match at 0,0 instead.
+PASS: Got a match at 3,4 as expected.
PASS: Got no match as expected.
Searching for ‘a’ in long string with options [AtWordStarts]:
-FAIL: Expected a match at 6146,6147 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 6146,6147 as expected.
+PASS: Got no match as expected.
Searching for ‘กร’ in ‘กรปูเลกชกชกรกรกชบงกช’ with options []:
-FAIL: Expected a match at 0,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 10,12 but got a match at 0,0 instead.
-FAIL: Expected a match at 12,14 but got a match at 0,0 instead.
+PASS: Got a match at 0,2 as expected.
+PASS: Got a match at 10,12 as expected.
+PASS: Got a match at 12,14 as expected.
PASS: Got no match as expected.
Searching for ‘กร’ in ‘กรปูเลกชกชกรกรกชบงกช’ with options [AtWordStarts]:
-FAIL: Expected a match at 0,2 but got a match at 0,0 instead.
-FAIL: Expected a match at 12,14 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 0,2 as expected.
+PASS: Got a match at 12,14 as expected.
+PASS: Got no match as expected.
Searching for ‘กช’ in ‘กรปูเลกชกชกรกรกชบงกช’ with options []:
-FAIL: Expected a match at 6,8 but got a match at 0,0 instead.
-FAIL: Expected a match at 8,10 but got a match at 0,0 instead.
-FAIL: Expected a match at 14,16 but got a match at 0,0 instead.
-FAIL: Expected a match at 18,20 but got a match at 0,0 instead.
+PASS: Got a match at 6,8 as expected.
+PASS: Got a match at 8,10 as expected.
+PASS: Got a match at 14,16 as expected.
+PASS: Got a match at 18,20 as expected.
PASS: Got no match as expected.
Searching for ‘กช’ in ‘กรปูเลกชกชกรกรกชบงกช’ with options [AtWordStarts]:
-FAIL: Expected a match at 6,8 but got a match at 0,0 instead.
-FAIL: Expected a match at 8,10 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 6,8 as expected.
+PASS: Got a match at 8,10 as expected.
+PASS: Got no match as expected.
Searching for ‘กร’ in long string with options []:
-FAIL: Expected a match at 6144,6146 but got a match at 0,0 instead.
-FAIL: Expected a match at 6154,6156 but got a match at 0,0 instead.
-FAIL: Expected a match at 6156,6158 but got a match at 0,0 instead.
+PASS: Got a match at 6144,6146 as expected.
+PASS: Got a match at 6154,6156 as expected.
+PASS: Got a match at 6156,6158 as expected.
PASS: Got no match as expected.
Searching for ‘กร’ in long string with options [AtWordStarts]:
-FAIL: Expected a match at 6156,6158 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 6156,6158 as expected.
+PASS: Got no match as expected.
Searching for ‘กร’ in long string with options [AtWordStarts]:
-FAIL: Expected a match at 6144,6146 but got a match at 0,0 instead.
-FAIL: Expected a match at 6156,6158 but got a match at 0,0 instead.
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got a match at 6144,6146 as expected.
+PASS: Got a match at 6156,6158 as expected.
+PASS: Got no match as expected.
Searching for ‘กช’ in long string with options [AtWordStarts]:
-FAIL: Expected a match at but got a match at 0,0 instead.
+PASS: Got no match as expected.
Searching for ‘ ’ in ‘Spaces, the final frontier’ with options [AtWordStarts]:
-FAIL: Expected a match at 7,8 but got a match at 0,0 instead.
-FAIL: Expected a match at 11,12 but got a match at 0,0 instead.
-FAIL: Expected a match at 17,18 but got a match at 0,0 instead.
+PASS: Got a match at 7,8 as expected.
+PASS: Got a match at 11,12 as expected.
+PASS: Got a match at 17,18 as expected.
PASS: Got no match as expected.
Searching for ‘@’ in ‘Use an @import rule’ with options [AtWordStarts]:
-FAIL: Expected a match at 7,8 but got a match at 0,0 instead.
+PASS: Got a match at 7,8 as expected.
PASS: Got no match as expected.
Searching for ‘(x’ in ‘If ((x + 5) * 2) = 14, then x = 2’ with options [AtWordStarts]:
-FAIL: Expected a match at 4,6 but got a match at 0,0 instead.
+PASS: Got a match at 4,6 as expected.
PASS: Got no match as expected.

Powered by Google App Engine
This is Rietveld 408576698