Index: test/cctest/test-javascript-a64.cc |
diff --git a/test/cctest/test-javascript-a64.cc b/test/cctest/test-javascript-a64.cc |
index ec4e4788a7b86fdf5036ca3bccc10cea650d5898..39f8aa166c94b43a9f33089dd7117824d70aaaae 100644 |
--- a/test/cctest/test-javascript-a64.cc |
+++ b/test/cctest/test-javascript-a64.cc |
@@ -67,20 +67,24 @@ static void ExpectBoolean(bool expected, Local<Value> result) { |
CHECK_EQ(expected, result->BooleanValue()); |
} |
+ |
static void ExpectInt32(int32_t expected, Local<Value> result) { |
CHECK(result->IsInt32()); |
CHECK_EQ(expected, result->Int32Value()); |
} |
+ |
static void ExpectNumber(double expected, Local<Value> result) { |
CHECK(result->IsNumber()); |
CHECK_EQ(expected, result->NumberValue()); |
} |
+ |
static void ExpectUndefined(Local<Value> result) { |
CHECK(result->IsUndefined()); |
} |
+ |
// Tests are sorted by order of implementation. |
TEST(simple_value) { |
@@ -171,6 +175,7 @@ static void if_comparison_helper( |
if_comparison_effectcontext_helper(op, "9", "7", expect_when_gt); |
} |
+ |
TEST(if_comparison) { |
v8::HandleScope scope; |
LocalContext env; |
@@ -185,6 +190,7 @@ TEST(if_comparison) { |
if_comparison_helper("!==", 1, 0, 1); |
} |
+ |
TEST(unary_plus) { |
v8::HandleScope scope; |
LocalContext env; |
@@ -206,6 +212,7 @@ TEST(unary_plus) { |
ExpectInt32(4321, result); |
} |
+ |
TEST(unary_minus) { |
v8::HandleScope scope; |
LocalContext env; |
@@ -222,6 +229,7 @@ TEST(unary_minus) { |
ExpectNumber(-1234.5, result); |
} |
+ |
TEST(unary_void) { |
v8::HandleScope scope; |
LocalContext env; |
@@ -234,6 +242,7 @@ TEST(unary_void) { |
ExpectUndefined(result); |
} |
+ |
TEST(unary_not) { |
v8::HandleScope scope; |
LocalContext env; |