| Index: pkg/analysis_server/test/analysis_abstract.dart
|
| diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
|
| index c42b3b22d5e4166dba790d848abc735ebdea5360..4e1e4101a096f82264410d46d116326ce0417f1a 100644
|
| --- a/pkg/analysis_server/test/analysis_abstract.dart
|
| +++ b/pkg/analysis_server/test/analysis_abstract.dart
|
| @@ -19,7 +19,6 @@ import 'package:unittest/unittest.dart';
|
| import 'mock_sdk.dart';
|
| import 'mocks.dart';
|
|
|
| -
|
| int findIdentifierLength(String search) {
|
| int length = 0;
|
| while (length < search.length) {
|
| @@ -34,7 +33,6 @@ int findIdentifierLength(String search) {
|
| return length;
|
| }
|
|
|
| -
|
| /**
|
| * An abstract base for all 'analysis' domain tests.
|
| */
|
| @@ -64,8 +62,8 @@ class AbstractAnalysisTest {
|
| }
|
| files.add(file);
|
| // set subscriptions
|
| - Request request =
|
| - new AnalysisSetSubscriptionsParams(analysisSubscriptions).toRequest('0');
|
| + Request request = new AnalysisSetSubscriptionsParams(analysisSubscriptions)
|
| + .toRequest('0');
|
| handleSuccessfulRequest(request);
|
| }
|
|
|
| @@ -81,13 +79,8 @@ class AbstractAnalysisTest {
|
| }
|
|
|
| AnalysisServer createAnalysisServer(Index index) {
|
| - return new AnalysisServer(
|
| - serverChannel,
|
| - resourceProvider,
|
| - packageMapProvider,
|
| - index,
|
| - new AnalysisServerOptions(),
|
| - new MockSdk(),
|
| + return new AnalysisServer(serverChannel, resourceProvider,
|
| + packageMapProvider, index, new AnalysisServerOptions(), new MockSdk(),
|
| InstrumentationService.NULL_SERVICE);
|
| }
|
|
|
|
|