OLD | NEW |
(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 // SpellingMarkerListImplTest.cpp. |
| 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 |
OLD | NEW |