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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
index fe7cd072b4006060ba4b1065b50797f452601957..3d1a45cb817792640c2d52f0e77d134a3dbdb737 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
@@ -82,8 +82,9 @@ TEST_F(EditingUtilitiesTest, enclosingBlock) {
Node* three = shadowRoot->getElementById("three");
EXPECT_EQ(host, enclosingBlock(Position(one, 0), CannotCrossEditingBoundary));
- EXPECT_EQ(three, enclosingBlock(PositionInFlatTree(one, 0),
- CannotCrossEditingBoundary));
+ EXPECT_EQ(
+ three,
+ enclosingBlock(PositionInFlatTree(one, 0), CannotCrossEditingBoundary));
}
TEST_F(EditingUtilitiesTest, enclosingNodeOfType) {
@@ -131,18 +132,21 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
Node* table = document().getElementById("table");
EXPECT_EQ(table, tableElementJustBefore(VisiblePosition::afterNode(table)));
- EXPECT_EQ(table, tableElementJustBefore(
- VisiblePositionInFlatTree::afterNode(table)));
+ EXPECT_EQ(
+ table,
+ tableElementJustBefore(VisiblePositionInFlatTree::afterNode(table)));
EXPECT_EQ(table,
tableElementJustBefore(VisiblePosition::lastPositionInNode(table)));
- EXPECT_EQ(table, tableElementJustBefore(createVisiblePosition(
- PositionInFlatTree::lastPositionInNode(table))));
+ EXPECT_EQ(table,
+ tableElementJustBefore(createVisiblePosition(
+ PositionInFlatTree::lastPositionInNode(table))));
EXPECT_EQ(nullptr,
tableElementJustBefore(createVisiblePosition(Position(host, 2))));
- EXPECT_EQ(table, tableElementJustBefore(
- createVisiblePosition(PositionInFlatTree(host, 2))));
+ EXPECT_EQ(table,
+ tableElementJustBefore(
+ createVisiblePosition(PositionInFlatTree(host, 2))));
EXPECT_EQ(nullptr, tableElementJustBefore(VisiblePosition::afterNode(host)));
EXPECT_EQ(nullptr,
@@ -150,8 +154,9 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
EXPECT_EQ(nullptr,
tableElementJustBefore(VisiblePosition::lastPositionInNode(host)));
- EXPECT_EQ(table, tableElementJustBefore(createVisiblePosition(
- PositionInFlatTree::lastPositionInNode(host))));
+ EXPECT_EQ(table,
+ tableElementJustBefore(createVisiblePosition(
+ PositionInFlatTree::lastPositionInNode(host))));
}
TEST_F(EditingUtilitiesTest, lastEditablePositionBeforePositionInRoot) {
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698