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

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

Issue 2321043002: Disable Math and Symbols segmentation, fix dotted circle sequence (Closed)
Patch Set: Fix comment wording Created 4 years, 3 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/OrientationIterator.h" 5 #include "platform/fonts/OrientationIterator.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include <string> 8 #include <string>
9 9
10 namespace blink { 10 namespace blink {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 TEST_F(OrientationIteratorTest, OneCharLatin) 76 TEST_F(OrientationIteratorTest, OneCharLatin)
77 { 77 {
78 CHECK_RUNS({ { "A", OrientationIterator::OrientationRotateSideways } }); 78 CHECK_RUNS({ { "A", OrientationIterator::OrientationRotateSideways } });
79 } 79 }
80 80
81 TEST_F(OrientationIteratorTest, OneAceOfSpades) 81 TEST_F(OrientationIteratorTest, OneAceOfSpades)
82 { 82 {
83 CHECK_RUNS({ { "πŸ‚‘", OrientationIterator::OrientationKeep } }); 83 CHECK_RUNS({ { "πŸ‚‘", OrientationIterator::OrientationKeep } });
84 } 84 }
85 85
86 TEST_F(OrientationIteratorTest, CombiningCircle)
87 {
88 CHECK_RUNS({ { "β—ŒΜβ—ŒΜ€β—ŒΜˆβ—ŒΜ‚β—ŒΜ„β—ŒΜŠ", OrientationIterator::OrientationKeep } });
89 }
90
86 TEST_F(OrientationIteratorTest, OneEthiopicSyllable) 91 TEST_F(OrientationIteratorTest, OneEthiopicSyllable)
87 { 92 {
88 CHECK_RUNS({ { "αŒ€", OrientationIterator::OrientationRotateSideways } }); 93 CHECK_RUNS({ { "αŒ€", OrientationIterator::OrientationRotateSideways } });
89 } 94 }
90 95
91 TEST_F(OrientationIteratorTest, JapaneseLetterlikeEnd) 96 TEST_F(OrientationIteratorTest, JapaneseLetterlikeEnd)
92 { 97 {
93 CHECK_RUNS({ { "いろは", OrientationIterator::OrientationKeep }, 98 CHECK_RUNS({ { "いろは", OrientationIterator::OrientationKeep },
94 { "ℐℒℐℒℐℒℐℒℐℒℐℒℐℒ", OrientationIterator::OrientationRotateSideways } }); 99 { "ℐℒℐℒℐℒℐℒℐℒℐℒℐℒ", OrientationIterator::OrientationRotateSideways } });
95 } 100 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 { "ほへと", OrientationIterator::OrientationKeep }, 171 { "ほへと", OrientationIterator::OrientationKeep },
167 { "Xyz", OrientationIterator::OrientationRotateSideways } }); 172 { "Xyz", OrientationIterator::OrientationRotateSideways } });
168 } 173 }
169 174
170 TEST_F(OrientationIteratorTest, JapaneseMahjonggMixed) 175 TEST_F(OrientationIteratorTest, JapaneseMahjonggMixed)
171 { 176 {
172 CHECK_RUNS({ { "γ„γ‚γ―γ«πŸ€€γ»γΈγ¨", OrientationIterator::OrientationKeep } }); 177 CHECK_RUNS({ { "γ„γ‚γ―γ«πŸ€€γ»γΈγ¨", OrientationIterator::OrientationKeep } });
173 } 178 }
174 179
175 } // namespace blink 180 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698