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

Unified Diff: third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp

Issue 2396833003: Reflow comments in //third_party/WebKit/Sourcecore/editing/state_machines (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/state_machines/StateMachineUtil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp b/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp
index 368c9728780313792b59a2695677f490c4b359a9..82a722026d384874f851f8d045adc38571c31dc7 100644
--- a/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp
+++ b/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp
@@ -764,7 +764,8 @@ TEST(BackspaceStateMachineTest, ZWJSequence) {
EXPECT_EQ(-8, machine.finalizeAndGetBoundaryOffset());
EXPECT_EQ(-8, machine.finalizeAndGetBoundaryOffset());
- // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ + ZWJ_EMOJI
+ // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ +
+ // ZWJ_EMOJI
// As an example, use MAN + ZWJ + heart + vs16 + ZWJ + MAN
machine.reset();
EXPECT_EQ(kNeedMoreCodeUnit, machine.feedPrecedingCodeUnit(manTrail));
@@ -812,7 +813,8 @@ TEST(BackspaceStateMachineTest, ZWJSequence) {
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
- // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI
+ // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI +
+ // ZWJ + ZWJ_EMOJI
// As an example, use MAN + ZWJ + MAN + ZWJ + boy + ZWJ + BOY
machine.reset();
EXPECT_EQ(kNeedMoreCodeUnit, machine.feedPrecedingCodeUnit(boyTrail));
@@ -848,7 +850,8 @@ TEST(BackspaceStateMachineTest, ZWJSequence) {
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
- // others + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI
+ // others + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ + ZWJ_EMOJI + ZWJ +
+ // ZWJ_EMOJI
// As an example, use MAN + ZWJ + heart + VS + ZWJ + KISS + ZWJ + MAN
machine.reset();
EXPECT_EQ(kNeedMoreCodeUnit, machine.feedPrecedingCodeUnit(manTrail));
@@ -866,7 +869,8 @@ TEST(BackspaceStateMachineTest, ZWJSequence) {
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
EXPECT_EQ(-11, machine.finalizeAndGetBoundaryOffset());
- // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI
+ // others(surrogate pairs) + ZWJ_EMOJI + ZWJ + ZWJ_EMOJI + VS + ZWJ +
+ // ZWJ_EMOJI + ZWJ + ZWJ_EMOJI
// As an example, use MAN + ZWJ + heart + VS + ZWJ + KISS + ZWJ + MAN
machine.reset();
EXPECT_EQ(kNeedMoreCodeUnit, machine.feedPrecedingCodeUnit(manTrail));
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/state_machines/StateMachineUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698