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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.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/SymbolsIterator.h" 5 #include "platform/fonts/SymbolsIterator.h"
6 6
7 #include <string>
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 #include <string>
9 9
10 namespace blink { 10 namespace blink {
11 11
12 struct TestRun { 12 struct TestRun {
13 std::string text; 13 std::string text;
14 FontFallbackPriority fontFallbackPriority; 14 FontFallbackPriority fontFallbackPriority;
15 }; 15 };
16 16
17 struct ExpectedRun { 17 struct ExpectedRun {
18 unsigned limit; 18 unsigned limit;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 TEST_F(SymbolsIteratorTest, Arrows) { 206 TEST_F(SymbolsIteratorTest, Arrows) {
207 CHECK_RUNS({{"x→←x←↑↓→", FontFallbackPriority::Text}}); 207 CHECK_RUNS({{"x→←x←↑↓→", FontFallbackPriority::Text}});
208 } 208 }
209 209
210 TEST_F(SymbolsIteratorTest, JudgePilot) { 210 TEST_F(SymbolsIteratorTest, JudgePilot) {
211 CHECK_RUNS({{"👨‍⚖️👩‍⚖️👨🏼‍⚖️👩🏼‍⚖️", 211 CHECK_RUNS({{"👨‍⚖️👩‍⚖️👨🏼‍⚖️👩🏼‍⚖️",
212 FontFallbackPriority::EmojiEmoji}}); 212 FontFallbackPriority::EmojiEmoji}});
213 } 213 }
214 214
215 } // namespace blink 215 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp ('k') | third_party/WebKit/Source/platform/fonts/VDMXParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698