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

Side by Side Diff: third_party/WebKit/Source/core/editing/markers/GrammarMarkerListImplTest.cpp

Issue 2868413002: [DMC #5.55] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: GrammarMarkerListImplTest doesn't need CreateMarker() 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved. Use of
2 // this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "core/editing/markers/SpellCheckMarkerListImpl.h"
6
7 #include "core/editing/markers/GrammarMarkerListImpl.h"
8 #include "platform/heap/Handle.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace blink {
12
13 // Functionality implemented in SpellCheckMarkerListImpl is tested in
14 // GrammarMarkerListImplTest.cpp.
yosin_UTC9 2017/05/16 04:35:18 nit: s/GrammarMarkerListImplTest.cpp/SpellingMarke
15
16 class GrammarMarkerListImplTest : public ::testing::Test {
17 protected:
18 GrammarMarkerListImplTest() : marker_list_(new GrammarMarkerListImpl()) {}
19
20 Persistent<GrammarMarkerListImpl> marker_list_;
21 };
22
23 // Test cases for functionality implemented by GrammarMarkerListImpl.
24
25 TEST_F(GrammarMarkerListImplTest, MarkerType) {
26 EXPECT_EQ(DocumentMarker::kGrammar, marker_list_->MarkerType());
27 }
28
29 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698