Commit 889d1e54 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Conform to the unittest naming convention.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/644973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5a4578cc
......@@ -9,7 +9,7 @@
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));
......@@ -22,7 +22,7 @@ TEST(UnicodePredicatesTest, WhiteSpace) {
}
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
......@@ -41,7 +41,7 @@ TEST(UnicodePredicatesTest, WhiteSpaceOrLineTerminator) {
}
TEST(UnicodePredicatesTest, IdentifierStart) {
TEST(CharPredicatesTest, IdentifierStart) {
EXPECT_TRUE(IdentifierStart::Is('$'));
EXPECT_TRUE(IdentifierStart::Is('_'));
EXPECT_TRUE(IdentifierStart::Is('\\'));
......@@ -59,7 +59,7 @@ TEST(UnicodePredicatesTest, IdentifierStart) {
}
TEST(UnicodePredicatesTest, IdentifierPart) {
TEST(CharPredicatesTest, IdentifierPart) {
EXPECT_TRUE(IdentifierPart::Is('$'));
EXPECT_TRUE(IdentifierPart::Is('_'));
EXPECT_TRUE(IdentifierPart::Is('\\'));
......@@ -88,7 +88,7 @@ TEST(UnicodePredicatesTest, IdentifierPart) {
#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));
......
......@@ -35,6 +35,7 @@
'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',
......@@ -58,7 +59,6 @@
'run-all-unittests.cc',
'test-utils.h',
'test-utils.cc',
'unicode/unicode-predicates-unittest.cc',
],
'conditions': [
['v8_target_arch=="arm"', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment