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

Unified Diff: runtime/vm/verified_memory_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/utils_test.cc ('k') | runtime/vm/verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/verified_memory_test.cc
diff --git a/runtime/vm/verified_memory_test.cc b/runtime/vm/verified_memory_test.cc
index 4ba1bdfb109a191ca5e6457f0a106a1c0cf42238..a78fe5dc193983ed68a0d54fc91b2e0b27b032a7 100644
--- a/runtime/vm/verified_memory_test.cc
+++ b/runtime/vm/verified_memory_test.cc
@@ -2,9 +2,9 @@
// 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 "vm/verified_memory.h"
#include "platform/assert.h"
#include "vm/unit_test.h"
-#include "vm/verified_memory.h"
namespace dart {
@@ -14,7 +14,6 @@ void Init() {
#endif
}
-
void Shutdown() {
#if defined(DEBUG)
// We must reset this to false to avoid checking some assumptions in
@@ -23,7 +22,6 @@ void Shutdown() {
#endif
}
-
VM_UNIT_TEST_CASE(VerifiedMemoryReserve) {
Init();
const intptr_t kReservationSize = 64 * KB;
@@ -33,7 +31,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryReserve) {
Shutdown();
}
-
VM_UNIT_TEST_CASE(VerifiedMemoryCommit) {
Init();
const intptr_t kReservationSize = 64 * KB;
@@ -44,7 +41,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryCommit) {
Shutdown();
}
-
VM_UNIT_TEST_CASE(VerifiedMemoryBasic) {
Init();
const intptr_t kReservationSize = 64 * KB;
@@ -67,7 +63,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryBasic) {
Shutdown();
}
-
VM_UNIT_TEST_CASE(VerifiedMemoryAccept) {
Init();
const intptr_t kReservationSize = 64 * KB;
@@ -87,7 +82,6 @@ VM_UNIT_TEST_CASE(VerifiedMemoryAccept) {
Shutdown();
}
-
// Negative tests below.
VM_UNIT_TEST_CASE(VerifyImplicit_Crash) {
@@ -102,7 +96,6 @@ VM_UNIT_TEST_CASE(VerifyImplicit_Crash) {
Shutdown();
}
-
VM_UNIT_TEST_CASE(VerifyExplicit_Crash) {
Init();
const intptr_t kReservationSize = 64 * KB;
« no previous file with comments | « runtime/vm/utils_test.cc ('k') | runtime/vm/verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698