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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. Use of 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 2 // this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/editing/markers/SpellCheckMarkerListImpl.h" 5 #include "core/editing/markers/SpellCheckMarkerListImpl.h"
6 6
7 #include "core/editing/markers/SpellingMarker.h" 7 #include "core/editing/markers/SpellingMarker.h"
8 #include "core/editing/markers/SpellingMarkerListImpl.h" 8 #include "core/editing/markers/SpellingMarkerListImpl.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 {"word", "word2"}); 150 {"word", "word2"});
151 EXPECT_EQ(2u, marker_list_->GetMarkers().size()); 151 EXPECT_EQ(2u, marker_list_->GetMarkers().size());
152 152
153 EXPECT_EQ(0u, marker_list_->GetMarkers()[0]->StartOffset()); 153 EXPECT_EQ(0u, marker_list_->GetMarkers()[0]->StartOffset());
154 EXPECT_EQ(3u, marker_list_->GetMarkers()[0]->EndOffset()); 154 EXPECT_EQ(3u, marker_list_->GetMarkers()[0]->EndOffset());
155 155
156 EXPECT_EQ(9u, marker_list_->GetMarkers()[1]->StartOffset()); 156 EXPECT_EQ(9u, marker_list_->GetMarkers()[1]->StartOffset());
157 EXPECT_EQ(14u, marker_list_->GetMarkers()[1]->EndOffset()); 157 EXPECT_EQ(14u, marker_list_->GetMarkers()[1]->EndOffset());
158 } 158 }
159 159
160 } // namespace 160 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698