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

Issue 2721563005: Add some more tests to InputMethodControllerTest (Closed)

Created:
3 years, 9 months ago by rlanday
Modified:
3 years, 9 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add some more tests to InputMethodControllerTest I'd originally written these tests to test new behavior in a CL where I'm changing how DocumentMarkers get updated upon text replacements: https://codereview.chromium.org/2692093003 @yosin suggested that I split off these tests into a separate CL so we can record the current behavior to compare with the new behavior. Review-Url: https://codereview.chromium.org/2721563005 Cr-Commit-Position: refs/heads/master@{#457667} Committed: https://chromium.googlesource.com/chromium/src/+/309233eca481e1533a8ec3f80bef6c16d1116fb2

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add separate WhitespaceFixup test, use EXPECT_STREQ, rename some tests #

Total comments: 1

Patch Set 3 : Give WhitespaceFixupAroundMarker tests more descriptive names #

Total comments: 3

Patch Set 4 : Add TODO and Marker_ prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -0 lines) Patch
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 2 3 1 chunk +312 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (23 generated)
rlanday
@yosin, I've split off the tests from https://codereview.chromium.org/2692093003 and modified them to have the current ...
3 years, 9 months ago (2017-02-28 19:54:45 UTC) #4
Xiaocheng
I have a question about 0xC2 https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1457 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1457: ASSERT_STREQ(" text ", div->innerHTML().utf8().data()); I ...
3 years, 9 months ago (2017-03-01 03:56:26 UTC) #9
rlanday
https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1492 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1492: "\xC2\xA0", // UTF-8 for an nbsp On 2017/03/01 at ...
3 years, 9 months ago (2017-03-01 04:33:12 UTC) #10
rlanday
https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1492 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1492: "\xC2\xA0", // UTF-8 for an nbsp On 2017/03/01 at ...
3 years, 9 months ago (2017-03-01 04:33:12 UTC) #11
Xiaocheng
https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1492 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1492: "\xC2\xA0", // UTF-8 for an nbsp On 2017/03/01 at ...
3 years, 9 months ago (2017-03-01 04:40:51 UTC) #12
rlanday
Updated
3 years, 9 months ago (2017-03-01 19:02:01 UTC) #14
Xiaocheng
basically lgtm https://codereview.chromium.org/2721563005/diff/20001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/20001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1486 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1486: TEST_F(InputMethodControllerTest, WhitespaceFixupAroundMarker2) { Sorry that I forgot ...
3 years, 9 months ago (2017-03-01 21:32:10 UTC) #18
rlanday
On 2017/03/01 at 21:32:10, xiaochengh wrote: > basically lgtm > > https://codereview.chromium.org/2721563005/diff/20001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp > File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp ...
3 years, 9 months ago (2017-03-01 21:55:41 UTC) #19
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/2721563005/40001
3 years, 9 months ago (2017-03-01 21:56:32 UTC) #22
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No L-G-T-M from ...
3 years, 9 months ago (2017-03-01 21:56:34 UTC) #24
yosin_UTC9
+changwang@, +yabinh@ for another eye.
3 years, 9 months ago (2017-03-02 05:46:05 UTC) #26
yabinh
non-owner lgtm with some nits. https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1478 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1478: How about adding one ...
3 years, 9 months ago (2017-03-02 06:47:05 UTC) #27
Xiaocheng
https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1478 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1478: On 2017/03/02 at 06:47:05, yabinh wrote: > How about ...
3 years, 9 months ago (2017-03-02 20:24:31 UTC) #28
yabinh
https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2721563005/diff/40001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1478 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1478: On 2017/03/02 20:24:31, Xiaocheng wrote: > On 2017/03/02 at ...
3 years, 9 months ago (2017-03-03 01:39:14 UTC) #29
Changwan Ryu
non-owner lgtm with nits 1) How about prefixing marker tests by putting Marker_ at the ...
3 years, 9 months ago (2017-03-06 19:51:20 UTC) #30
rlanday
On 2017/03/06 at 19:51:20, changwan wrote: > non-owner lgtm with nits > > 1) How ...
3 years, 9 months ago (2017-03-13 17:26:03 UTC) #31
rlanday
Updated
3 years, 9 months ago (2017-03-13 17:59:16 UTC) #33
yosin_UTC9
rs lgtm Thanks for working this and reviewing!
3 years, 9 months ago (2017-03-17 01:24:57 UTC) #37
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/2721563005/60001
3 years, 9 months ago (2017-03-17 01:42:32 UTC) #40
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 03:00:13 UTC) #43
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/309233eca481e1533a8ec3f80bef...

Powered by Google App Engine
This is Rietveld 408576698