Index: test/cctest/test-heap-profiler.cc |
=================================================================== |
--- test/cctest/test-heap-profiler.cc (revision 15486) |
+++ test/cctest/test-heap-profiler.cc (working copy) |
@@ -340,6 +340,7 @@ |
CHECK_EQ(v8::HeapGraphNode::kHeapNumber, b->GetType()); |
} |
+ |
TEST(HeapSnapshotSlicedString) { |
LocalContext env; |
v8::HandleScope scope(env->GetIsolate()); |
@@ -364,6 +365,7 @@ |
CHECK_EQ(parent_string, parent); |
} |
+ |
TEST(HeapSnapshotInternalReferences) { |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
v8::HandleScope scope(isolate); |
@@ -481,6 +483,7 @@ |
CHECK_EQ_SNAPSHOT_OBJECT_ID(k1->GetId(), k2->GetId()); |
} |
+ |
TEST(HeapEntryIdsAndGC) { |
LocalContext env; |
v8::HandleScope scope(env->GetIsolate()); |
@@ -1017,6 +1020,7 @@ |
}; |
} |
+ |
TEST(TakeHeapSnapshotAborting) { |
LocalContext env; |
v8::HandleScope scope(env->GetIsolate()); |
@@ -1340,6 +1344,7 @@ |
} |
}; |
+ |
TEST(GlobalObjectName) { |
LocalContext env; |
v8::HandleScope scope(env->GetIsolate()); |
@@ -1606,6 +1611,7 @@ |
CHECK_NE(NULL, hidden_props); |
} |
+ |
bool HasWeakEdge(const v8::HeapGraphNode* node) { |
for (int i = 0; i < node->GetChildrenCount(); ++i) { |
const v8::HeapGraphEdge* handle_edge = node->GetChild(i); |