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

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

Issue 1398293002: Move the wire protocol support into the public API (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add missed files Created 5 years, 2 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 3dd1842c6a9004a3108bea11ad9a0ef39b70400e..761c647972b98969faf9fc7da5db1406e0a8f341 100644
--- a/pkg/analysis_server/benchmark/perf/performance_tests.dart
+++ b/pkg/analysis_server/benchmark/perf/performance_tests.dart
@@ -6,7 +6,7 @@ library server.performance;
import 'dart:async';
-import 'package:analysis_server/src/protocol.dart';
+import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:unittest/unittest.dart';
import '../../test/integration/integration_tests.dart';
@@ -29,16 +29,6 @@ abstract class AbstractAnalysisServerPerformanceTest
sendAnalysisSetAnalysisRoots([sourceDirectory.path], []);
/**
- * Enable [SERVER_STATUS] notifications so that [analysisFinished]
- * can be used.
- */
- Future subscribeToStatusNotifications() {
- List<Future> futures = <Future>[];
- futures.add(sendServerSetSubscriptions([ServerService.STATUS]));
- return Future.wait(futures);
- }
-
- /**
* The server is automatically started before every test.
*/
@override
@@ -65,6 +55,16 @@ abstract class AbstractAnalysisServerPerformanceTest
}
/**
+ * Enable [SERVER_STATUS] notifications so that [analysisFinished]
+ * can be used.
+ */
+ Future subscribeToStatusNotifications() {
+ List<Future> futures = <Future>[];
+ futures.add(sendServerSetSubscriptions([ServerService.STATUS]));
+ return Future.wait(futures);
+ }
+
+ /**
* After every test, the server is stopped.
*/
@override

Powered by Google App Engine
This is Rietveld 408576698