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

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

Issue 2664443002: Fixing adding isHandleVisible to |SelectionTemplate| (Closed)
Patch Set: fixing selection test Created 3 years, 11 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 63abb12bded19359b7dfac213d78e424fb744c45..4c93cf1f439d2e2bb326f77d52cb494681a83a2b 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
@@ -64,4 +64,11 @@ TEST_F(SelectionTest, range) {
EXPECT_EQ(extent, selection.extent());
}
+TEST_F(SelectionTest, setIsHandleVisible) {
+ SelectionInDOMTree::Builder builder;
+ builder.setIsHandleVisible(true);
+ const SelectionInDOMTree& selection = builder.build();
+ EXPECT_TRUE(selection.isHandleVisible());
+}
+
} // namespace blink
« 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