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

Unified Diff: runtime/bin/run_vm_tests.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/bin/process_win.cc ('k') | runtime/bin/secure_socket_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/run_vm_tests.cc
diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc
index a2472dce56f28169503579da537b67c0b3977fac..00d2f8da3c8ea64595e707f8aa0979d014762e54 100644
--- a/runtime/bin/run_vm_tests.cc
+++ b/runtime/bin/run_vm_tests.cc
@@ -53,21 +53,18 @@ static const char* kernel_snapshot = NULL;
static int run_matches = 0;
-
void TestCase::Run() {
OS::Print("Running test: %s\n", name());
(*run_)();
OS::Print("Done: %s\n", name());
}
-
void RawTestCase::Run() {
OS::Print("Running test: %s\n", name());
(*run_)();
OS::Print("Done: %s\n", name());
}
-
void TestCaseBase::RunTest() {
if (strcmp(run_filter, this->name()) == 0) {
this->Run();
@@ -78,7 +75,6 @@ void TestCaseBase::RunTest() {
}
}
-
void Benchmark::RunBenchmark() {
if ((run_filter == kAllBenchmarks) ||
(strcmp(run_filter, this->name()) == 0)) {
@@ -92,7 +88,6 @@ void Benchmark::RunBenchmark() {
}
}
-
static void PrintUsage() {
OS::PrintErr(
"Usage: one of the following\n"
@@ -111,7 +106,6 @@ static void PrintUsage() {
return NULL; \
}
-
static Dart_Isolate CreateIsolateAndSetup(const char* script_uri,
const char* main,
const char* package_root,
@@ -275,7 +269,6 @@ static int Main(int argc, const char** argv) {
} // namespace dart
-
int main(int argc, const char** argv) {
dart::bin::Platform::Exit(dart::Main(argc, argv));
}
« no previous file with comments | « runtime/bin/process_win.cc ('k') | runtime/bin/secure_socket_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698