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

Unified Diff: pkg/analysis_server/benchmark/perf/performance_tests.dart

Issue 1834423002: Sort the files in analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: pkg/analysis_server/benchmark/perf/performance_tests.dart
diff --git a/pkg/analysis_server/benchmark/perf/performance_tests.dart b/pkg/analysis_server/benchmark/perf/performance_tests.dart
index 62a752cd46e400f70d91bdadaea89f52beb92a6a..b784c0c04f1008db951687a5c98024cb9671a673 100644
--- a/pkg/analysis_server/benchmark/perf/performance_tests.dart
+++ b/pkg/analysis_server/benchmark/perf/performance_tests.dart
@@ -56,6 +56,11 @@ abstract class AbstractAnalysisServerPerformanceTest
}
/**
+ * After every test, the server is stopped.
+ */
+ Future shutdown() async => await shutdownIfNeeded();
+
+ /**
* Enable [SERVER_STATUS] notifications so that [analysisFinished]
* can be used.
*/
@@ -64,11 +69,6 @@ abstract class AbstractAnalysisServerPerformanceTest
futures.add(sendServerSetSubscriptions([ServerService.STATUS]));
return Future.wait(futures);
}
-
- /**
- * After every test, the server is stopped.
- */
- Future shutdown() async => await shutdownIfNeeded();
}
class AbstractTimingTest extends AbstractAnalysisServerPerformanceTest {

Powered by Google App Engine
This is Rietveld 408576698