| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |