namespace v8 {
namespace internal {
-TEST(UnicodePredicatesTest, WhiteSpace) {
+TEST(CharPredicatesTest, WhiteSpace) {
// As of Unicode 6.3.0, \u180E is no longer a white space. We still consider
// it to be one though, since JS recognizes all white spaces in Unicode 5.1.
EXPECT_TRUE(WhiteSpace::Is(0x0009));
}
-TEST(UnicodePredicatesTest, WhiteSpaceOrLineTerminator) {
+TEST(CharPredicatesTest, WhiteSpaceOrLineTerminator) {
// As of Unicode 6.3.0, \u180E is no longer a white space. We still consider
// it to be one though, since JS recognizes all white spaces in Unicode 5.1.
// White spaces
}
-TEST(UnicodePredicatesTest, IdentifierStart) {
+TEST(CharPredicatesTest, IdentifierStart) {
EXPECT_TRUE(IdentifierStart::Is('$'));
EXPECT_TRUE(IdentifierStart::Is('_'));
EXPECT_TRUE(IdentifierStart::Is('\\'));
}
-TEST(UnicodePredicatesTest, IdentifierPart) {
+TEST(CharPredicatesTest, IdentifierPart) {
EXPECT_TRUE(IdentifierPart::Is('$'));
EXPECT_TRUE(IdentifierPart::Is('_'));
EXPECT_TRUE(IdentifierPart::Is('\\'));
#ifdef V8_I18N_SUPPORT
-TEST(UnicodePredicatesTest, SupplementaryPlaneIdentifiers) {
+TEST(CharPredicatesTest, SupplementaryPlaneIdentifiers) {
// Both ID_Start and ID_Continue.
EXPECT_TRUE(IdentifierStart::Is(0x10403)); // Category Lu
EXPECT_TRUE(IdentifierPart::Is(0x10403));
'base/platform/time-unittest.cc',
'base/sys-info-unittest.cc',
'base/utils/random-number-generator-unittest.cc',
+ 'char-predicates-unittest.cc',
'compiler/change-lowering-unittest.cc',
'compiler/common-operator-unittest.cc',
'compiler/compiler-test-utils.h',
'run-all-unittests.cc',
'test-utils.h',
'test-utils.cc',
- 'unicode/unicode-predicates-unittest.cc',
],
'conditions': [
['v8_target_arch=="arm"', {