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