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); |