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

Side by Side Diff: third_party/WebKit/Source/platform/text/CharacterTest.cpp

Issue 1847853004: Move Character.h from platform/fonts to platform/text (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/Character.h" 5 #include "platform/text/Character.h"
6 6
7 #include "platform/Logging.h" 7 #include "platform/Logging.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "wtf/text/CharacterNames.h" 9 #include "wtf/text/CharacterNames.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 static void TestSpecificUCharRange(UChar rangeStart, UChar rangeEnd) 13 static void TestSpecificUCharRange(UChar rangeStart, UChar rangeEnd)
14 { 14 {
15 UChar below[1]; 15 UChar below[1];
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 EXPECT_FALSE(Character::treatAsZeroWidthSpaceInComplexScript(testChar)); 421 EXPECT_FALSE(Character::treatAsZeroWidthSpaceInComplexScript(testChar));
422 422
423 testChar = base + 0xA; 423 testChar = base + 0xA;
424 EXPECT_FALSE(Character::isNormalizedCanvasSpaceCharacter(testChar)); 424 EXPECT_FALSE(Character::isNormalizedCanvasSpaceCharacter(testChar));
425 testChar = base + 0x9; 425 testChar = base + 0x9;
426 EXPECT_FALSE(Character::isNormalizedCanvasSpaceCharacter(testChar)); 426 EXPECT_FALSE(Character::isNormalizedCanvasSpaceCharacter(testChar));
427 427
428 } 428 }
429 429
430 } // namespace blink 430 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698