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

Unified Diff: runtime/vm/class_finalizer_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/class_finalizer.cc ('k') | runtime/vm/class_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer_test.cc
diff --git a/runtime/vm/class_finalizer_test.cc b/runtime/vm/class_finalizer_test.cc
index d2acc4a731724422677f9dc76fbf27946e6da3fc..2ccd1d0eec2196bc3a3afc6606307e8ae4443513 100644
--- a/runtime/vm/class_finalizer_test.cc
+++ b/runtime/vm/class_finalizer_test.cc
@@ -2,14 +2,13 @@
// 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/class_finalizer.h"
+#include "platform/assert.h"
#include "vm/symbols.h"
#include "vm/unit_test.h"
namespace dart {
-
static RawClass* CreateTestClass(const char* name) {
const String& class_name =
String::Handle(Symbols::New(Thread::Current(), name));
@@ -22,7 +21,6 @@ static RawClass* CreateTestClass(const char* name) {
return cls.raw();
}
-
TEST_CASE(ClassFinalizer) {
Zone* zone = thread->zone();
Isolate* isolate = thread->isolate();
@@ -53,7 +51,6 @@ TEST_CASE(ClassFinalizer) {
EXPECT(ClassFinalizer::ProcessPendingClasses());
}
-
TEST_CASE(ClassFinalize_Cycles) {
Zone* zone = thread->zone();
Isolate* isolate = thread->isolate();
@@ -73,13 +70,11 @@ TEST_CASE(ClassFinalize_Cycles) {
EXPECT(!ClassFinalizer::ProcessPendingClasses());
}
-
static RawLibrary* NewLib(const char* url_chars) {
String& url = String::ZoneHandle(Symbols::New(Thread::Current(), url_chars));
return Library::New(url);
}
-
TEST_CASE(ClassFinalize_Resolve) {
Zone* zone = thread->zone();
Isolate* isolate = thread->isolate();
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/class_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698