Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: runtime/vm/object_id_ring_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object_id_ring.cc ('k') | runtime/vm/object_reload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « runtime/vm/object_id_ring.cc ('k') | runtime/vm/object_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698