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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp

Issue 2894393002: [DMC #10] Add type cast for TextMatchMarkerListImpl (Closed)
Patch Set: Rebase Created 3 years, 7 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/markers/TextMatchMarkerListImpl.h ('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/markers/TextMatchMarkerListImplTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
index 5b7f98c48e96e55b57b6405c9108027db7057bfc..ed7c35081925c1b1e7e3471f169cfba26e84b19b 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImplTest.cpp
@@ -21,6 +21,10 @@ class TextMatchMarkerListImplTest : public EditingTestBase {
Persistent<TextMatchMarkerListImpl> marker_list_;
};
+TEST_F(TextMatchMarkerListImplTest, MarkerType) {
+ EXPECT_EQ(DocumentMarker::kTextMatch, marker_list_->MarkerType());
+}
+
TEST_F(TextMatchMarkerListImplTest, Add) {
EXPECT_EQ(0u, marker_list_->GetMarkers().size());
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698