| Index: runtime/vm/object_id_ring_test.cc
|
| diff --git a/runtime/vm/object_id_ring_test.cc b/runtime/vm/object_id_ring_test.cc
|
| index f3081b4ba6a8f5622593db0ed13fa0fd24d9fd7c..84bd73f738fe2aed94422fcc89f3e47fe64a7c34 100644
|
| --- a/runtime/vm/object_id_ring_test.cc
|
| +++ b/runtime/vm/object_id_ring_test.cc
|
| @@ -2,12 +2,12 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -#include "platform/assert.h"
|
| -#include "vm/globals.h"
|
| #include "vm/object_id_ring.h"
|
| -#include "vm/unit_test.h"
|
| +#include "platform/assert.h"
|
| #include "vm/dart_api_impl.h"
|
| #include "vm/dart_api_state.h"
|
| +#include "vm/globals.h"
|
| +#include "vm/unit_test.h"
|
|
|
| namespace dart {
|
|
|
| @@ -48,7 +48,6 @@ class ObjectIdRingTestHelper {
|
| }
|
| };
|
|
|
| -
|
| // Test that serial number wrapping works.
|
| ISOLATE_UNIT_TEST_CASE(ObjectIdRingSerialWrapTest) {
|
| Isolate* isolate = Isolate::Current();
|
| @@ -120,7 +119,6 @@ ISOLATE_UNIT_TEST_CASE(ObjectIdRingSerialWrapTest) {
|
| ObjectIdRingTestHelper::ExpectIdIsInvalid(ring, 3);
|
| }
|
|
|
| -
|
| // Test that the ring table is updated when the scavenger moves an object.
|
| TEST_CASE(ObjectIdRingScavengeMoveTest) {
|
| const char* kScriptChars =
|
| @@ -188,7 +186,6 @@ TEST_CASE(ObjectIdRingScavengeMoveTest) {
|
| ring->GetIdForObject(raw_object_moved1, ObjectIdRing::kReuseId));
|
| }
|
|
|
| -
|
| // Test that the ring table is updated with nulls when the old GC collects.
|
| ISOLATE_UNIT_TEST_CASE(ObjectIdRingOldGCTest) {
|
| Isolate* isolate = thread->isolate();
|
| @@ -241,7 +238,6 @@ ISOLATE_UNIT_TEST_CASE(ObjectIdRingOldGCTest) {
|
| EXPECT_EQ(Object::null(), raw_object_moved2);
|
| }
|
|
|
| -
|
| // Test that the ring table correctly reports an entry as expired when it is
|
| // overridden by new entries.
|
| ISOLATE_UNIT_TEST_CASE(ObjectIdRingExpiredEntryTest) {
|
|
|