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

Unified Diff: runtime/vm/zone_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/zone.cc ('k') | runtime/vm/zone_text_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone_test.cc
diff --git a/runtime/vm/zone_test.cc b/runtime/vm/zone_test.cc
index b151d2d7957bae4e0430fbcacf55004558d4f7ce..4a3aeacea89dc25aa743ebf017a6540bf6d7d4e8 100644
--- a/runtime/vm/zone_test.cc
+++ b/runtime/vm/zone_test.cc
@@ -2,11 +2,11 @@
// 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/zone.h"
#include "platform/assert.h"
#include "vm/dart.h"
#include "vm/isolate.h"
#include "vm/unit_test.h"
-#include "vm/zone.h"
namespace dart {
@@ -71,7 +71,6 @@ VM_UNIT_TEST_CASE(AllocateZone) {
Dart_ShutdownIsolate();
}
-
VM_UNIT_TEST_CASE(AllocGeneric_Success) {
#if defined(DEBUG)
FLAG_trace_zones = true;
@@ -94,7 +93,6 @@ VM_UNIT_TEST_CASE(AllocGeneric_Success) {
Dart_ShutdownIsolate();
}
-
// This test is expected to crash.
VM_UNIT_TEST_CASE(AllocGeneric_Overflow) {
#if defined(DEBUG)
@@ -114,7 +112,6 @@ VM_UNIT_TEST_CASE(AllocGeneric_Overflow) {
Dart_ShutdownIsolate();
}
-
VM_UNIT_TEST_CASE(ZoneAllocated) {
#if defined(DEBUG)
FLAG_trace_zones = true;
@@ -162,14 +159,12 @@ VM_UNIT_TEST_CASE(ZoneAllocated) {
Dart_ShutdownIsolate();
}
-
TEST_CASE(PrintToString) {
StackZone zone(Thread::Current());
const char* result = zone.GetZone()->PrintToString("Hello %s!", "World");
EXPECT_STREQ("Hello World!", result);
}
-
VM_UNIT_TEST_CASE(NativeScopeZoneAllocation) {
ASSERT(ApiNativeScope::Current() == NULL);
ASSERT(Thread::Current() == NULL);
« no previous file with comments | « runtime/vm/zone.cc ('k') | runtime/vm/zone_text_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698