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

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: 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: Source/testing/runner/MockGrammarCheck.cpp
diff --git a/Source/testing/runner/MockGrammarCheck.cpp b/Source/testing/runner/MockGrammarCheck.cpp
index 55a3f302b0b729a1b18e901b2727cb2e26ed88a3..1cd84fbdfacd014bae0b4099a52d06f091e3f315 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},
groby-ooo-7-16 2013/10/29 17:19:05 I'm not sure why we need a second test case. Both
grzegorz 2013/10/30 15:47:47 I think we should report grammar error where it ex
+ {"the the adlj adaasj sdklj. there there", 32, 5},
{"zz apple orange.", 0, 16},
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(grammarErrors); ++i) {

Powered by Google App Engine
This is Rietveld 408576698