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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of 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 "platform/fonts/shaping/RunSegmenter.h" 5 #include "platform/fonts/shaping/RunSegmenter.h"
6 6
7 #include <string>
7 #include "platform/fonts/OrientationIterator.h" 8 #include "platform/fonts/OrientationIterator.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 #include "wtf/Assertions.h" 10 #include "wtf/Assertions.h"
10 #include "wtf/Vector.h" 11 #include "wtf/Vector.h"
11 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
12 #include <string>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 struct SegmenterTestRun { 16 struct SegmenterTestRun {
17 std::string text; 17 std::string text;
18 UScriptCode script; 18 UScriptCode script;
19 OrientationIterator::RenderOrientation renderOrientation; 19 OrientationIterator::RenderOrientation renderOrientation;
20 FontFallbackPriority fontFallbackPriority; 20 FontFallbackPriority fontFallbackPriority;
21 }; 21 };
22 22
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 CHECK_RUNS_HORIZONTAL( 231 CHECK_RUNS_HORIZONTAL(
232 {{"աբգ", USCRIPT_ARMENIAN, OrientationIterator::OrientationKeep, 232 {{"աբգ", USCRIPT_ARMENIAN, OrientationIterator::OrientationKeep,
233 FontFallbackPriority::Text}, 233 FontFallbackPriority::Text},
234 {"αβγ", USCRIPT_GREEK, OrientationIterator::OrientationKeep, 234 {"αβγ", USCRIPT_GREEK, OrientationIterator::OrientationKeep,
235 FontFallbackPriority::Text}, 235 FontFallbackPriority::Text},
236 {"ԱԲԳ", USCRIPT_ARMENIAN, OrientationIterator::OrientationKeep, 236 {"ԱԲԳ", USCRIPT_ARMENIAN, OrientationIterator::OrientationKeep,
237 FontFallbackPriority::Text}}); 237 FontFallbackPriority::Text}});
238 } 238 }
239 239
240 } // namespace blink 240 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698