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

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

Issue 2973583002: Get rid of SelectionTemplate::has_trailing_whitespace_ (Closed)
Patch Set: 2017-07-05T15:40:09 Created 3 years, 5 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 | « third_party/WebKit/Source/core/editing/SelectionTemplate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp b/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
index a399cc2736bfb182a61fa712467a173252c5e01a..6d7e6f69375421b0e4e67e4d91165a4341857a0e 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
@@ -16,7 +16,6 @@ TEST_F(SelectionTest, defaultConstructor) {
EXPECT_EQ(TextAffinity::kDownstream, selection.Affinity());
EXPECT_EQ(kCharacterGranularity, selection.Granularity());
- EXPECT_FALSE(selection.HasTrailingWhitespace());
EXPECT_FALSE(selection.IsDirectional());
EXPECT_FALSE(selection.IsHandleVisible());
EXPECT_TRUE(selection.IsNone());
@@ -35,7 +34,6 @@ TEST_F(SelectionTest, caret) {
EXPECT_EQ(TextAffinity::kDownstream, selection.Affinity());
EXPECT_EQ(kCharacterGranularity, selection.Granularity());
- EXPECT_FALSE(selection.HasTrailingWhitespace());
EXPECT_FALSE(selection.IsDirectional());
EXPECT_FALSE(selection.IsHandleVisible());
EXPECT_FALSE(selection.IsNone());
@@ -56,7 +54,6 @@ TEST_F(SelectionTest, range) {
EXPECT_EQ(TextAffinity::kDownstream, selection.Affinity());
EXPECT_EQ(kCharacterGranularity, selection.Granularity());
- EXPECT_FALSE(selection.HasTrailingWhitespace());
EXPECT_FALSE(selection.IsDirectional());
EXPECT_FALSE(selection.IsHandleVisible());
EXPECT_FALSE(selection.IsNone());
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionTemplate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698