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

Issue 2711053002: Ensure spell checking is enabled in SpellCheckerTest (Closed)

Created:
3 years, 10 months ago by Xiaocheng
Modified:
3 years, 10 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, groby+blinkspell_chromium.org, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure spell checking is enabled in SpellCheckerTest This patch introduces SpellCheckTestBase, which sets up a non-empty SpellCheckerClient that enables spell checking, so that SpellCheckerTest can utilize this base class to correctly perform unit tests that requires spell checking to be enabled. The new base class will also be useful when adding unit test for idle time spell checker. This patch also removes spell checking related stuff from TextFormControlElementTest, since it is leftover after we previously moved a spell checking unit test from TextFromControlElementTest to SpellCheckerTest. BUG=695286 Review-Url: https://codereview.chromium.org/2711053002 Cr-Commit-Position: refs/heads/master@{#452427} Committed: https://chromium.googlesource.com/chromium/src/+/5a9a2764673ac595836bb6cc67237ae60c3aa0bf

Patch Set 1 #

Total comments: 2

Patch Set 2 : Keep editing changes only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -8 lines) Patch
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingTestBase.h View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingTestBase.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.h View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.cpp View 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp View 2 chunks +4 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
Xiaocheng
PTAL.
3 years, 10 months ago (2017-02-23 02:45:31 UTC) #5
yosin_UTC9
I love to have SpellCheckerTestBase. To bold this approach, it is better to move removal ...
3 years, 10 months ago (2017-02-23 02:52:08 UTC) #6
Xiaocheng
Thanks! https://codereview.chromium.org/2711053002/diff/1/third_party/WebKit/Source/core/html/TextControlElementTest.cpp File third_party/WebKit/Source/core/html/TextControlElementTest.cpp (right): https://codereview.chromium.org/2711053002/diff/1/third_party/WebKit/Source/core/html/TextControlElementTest.cpp#newcode7 third_party/WebKit/Source/core/html/TextControlElementTest.cpp:7: #include <memory> On 2017/02/23 at 02:52:08, yosin_UTC9 wrote: ...
3 years, 10 months ago (2017-02-23 03:36:43 UTC) #9
yosin_UTC9
lgtm Good work!
3 years, 10 months ago (2017-02-23 05:09:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2711053002/20001
3 years, 10 months ago (2017-02-23 05:10:30 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 07:44:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5a9a2764673ac595836bb6cc6723...

Powered by Google App Engine
This is Rietveld 408576698