| Index: test/cctest/test-object-observe.cc
|
| ===================================================================
|
| --- test/cctest/test-object-observe.cc (revision 15486)
|
| +++ test/cctest/test-object-observe.cc (working copy)
|
| @@ -54,6 +54,7 @@
|
| };
|
| }
|
|
|
| +
|
| TEST(PerIsolateState) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -94,6 +95,7 @@
|
| CHECK_EQ(3, CompileRun("count")->Int32Value());
|
| }
|
|
|
| +
|
| TEST(EndOfMicrotaskDelivery) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -107,6 +109,7 @@
|
| CHECK_EQ(1, CompileRun("count")->Int32Value());
|
| }
|
|
|
| +
|
| TEST(DeliveryOrdering) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -138,6 +141,7 @@
|
| CHECK_EQ(3, CompileRun("ordering[2]")->Int32Value());
|
| }
|
|
|
| +
|
| TEST(DeliveryOrderingReentrant) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -169,6 +173,7 @@
|
| CHECK_EQ(2, CompileRun("ordering[1]")->Int32Value());
|
| }
|
|
|
| +
|
| TEST(DeliveryOrderingDeliverChangeRecords) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -193,6 +198,7 @@
|
| CHECK_EQ(2, CompileRun("ordering[3]")->Int32Value());
|
| }
|
|
|
| +
|
| TEST(ObjectHashTableGrowth) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
| @@ -222,6 +228,7 @@
|
| CHECK(CompileRun("ran")->BooleanValue());
|
| }
|
|
|
| +
|
| TEST(GlobalObjectObservation) {
|
| HarmonyIsolate isolate;
|
| LocalContext context;
|
| @@ -290,6 +297,7 @@
|
| Handle<Value> old_value;
|
| };
|
|
|
| +
|
| // TODO(adamk): Use this helper elsewhere in this file.
|
| static void ExpectRecords(Handle<Value> records,
|
| const RecordExpectation expectations[],
|
| @@ -360,6 +368,7 @@
|
| EXPECT_RECORDS(CompileRun("records"), expected_records);
|
| }
|
|
|
| +
|
| TEST(HiddenPrototypeObservation) {
|
| HarmonyIsolate isolate;
|
| HandleScope scope(isolate.GetIsolate());
|
|
|