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

Issue 2903413003: Add tests for DocumentMarkerListEditor::ShiftMarkersContent{D,Ind}ependent (Closed)

Created:
3 years, 7 months ago by rlanday
Modified:
3 years, 6 months ago
Reviewers:
yosin_UTC9, Xiaocheng
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for DocumentMarkerListEditor::ShiftMarkersContent[D/In]ependent When we split ShiftMarkers() into ShiftMarkersContentDependent()/ ShiftMarkersContentIndependent() in https://codereview.chromium.org/2895353003, I had to remove some test cases in InputMethodControllerTest which were testing the (somewhat complex) ContentIndependent behavior because we don't currently have any marker types that actually use the behavior (other than Composition markers, which get cleared by many editing operations). So I'm adding a set of test cases to directly test ShiftMarkersContentDependent() and ShiftMarkersContentIndependent(). BUG=707867 Review-Url: https://codereview.chromium.org/2903413003 Cr-Commit-Position: refs/heads/master@{#475703} Committed: https://chromium.googlesource.com/chromium/src/+/12b75fd5be227207ef7382add4c96fa41f6e40e4

Patch Set 1 #

Total comments: 1

Patch Set 2 : Final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -1 line) Patch
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h View 1 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditorTest.cpp View 1 chunk +367 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
rlanday
3 years, 7 months ago (2017-05-26 21:21:27 UTC) #2
Xiaocheng
lgtm
3 years, 7 months ago (2017-05-26 21:33:07 UTC) #3
yosin_UTC9
lgtm w/ nits s/[D/In]ependent/{D,Ind}ependent/ In sh: [abc] = matching one of "abc". X{foo,bar}Y = expand ...
3 years, 6 months ago (2017-05-29 04:49:53 UTC) #4
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/2903413003/20001
3 years, 6 months ago (2017-05-30 19:18:40 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/278847) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 6 months ago (2017-05-30 19:26:07 UTC) #9
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/2903413003/20001
3 years, 6 months ago (2017-05-30 20:53:03 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 00:24:35 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/12b75fd5be227207ef7382add4c9...

Powered by Google App Engine
This is Rietveld 408576698