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

Unified Diff: Source/testing/runner/MockGrammarCheck.cpp

Issue 49613006: Refactoring inline_spelling_markers.html to use async path for spellcheck (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Use resources/js-test.js and remove js-test-post.js Created 7 years, 1 month 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
« no previous file with comments | « LayoutTests/platform/win/editing/spelling/inline_spelling_markers-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/MockGrammarCheck.cpp
diff --git a/Source/testing/runner/MockGrammarCheck.cpp b/Source/testing/runner/MockGrammarCheck.cpp
index 55a3f302b0b729a1b18e901b2727cb2e26ed88a3..c3a64d75356e2372dcbb9968911f69314f72d0ec 100644
--- a/Source/testing/runner/MockGrammarCheck.cpp
+++ b/Source/testing/runner/MockGrammarCheck.cpp
@@ -65,7 +65,8 @@ bool MockGrammarCheck::checkGrammarOfString(const WebString& text, vector<WebTex
{"apple zz orange.", 0, 16},
{"apple,zz,orange.", 0, 16},
{"orange,zz,apple.", 0, 16},
- {"the the adlj adaasj sdklj. there there", 0, 38},
+ {"the the adlj adaasj sdklj. there there", 4, 3},
+ {"the the adlj adaasj sdklj. there there", 33, 5},
{"zz apple orange.", 0, 16},
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(grammarErrors); ++i) {
« no previous file with comments | « LayoutTests/platform/win/editing/spelling/inline_spelling_markers-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698