Index: pkg/analysis_server/test/domain_completion_test.dart |
diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart |
index 0fd60c6031e7482398c19f714734f39b6b325bc6..e477ab2f12a1d726f1dcffd029a65d33d05e1b59 100644 |
--- a/pkg/analysis_server/test/domain_completion_test.dart |
+++ b/pkg/analysis_server/test/domain_completion_test.dart |
@@ -8,7 +8,6 @@ import 'dart:async'; |
import 'package:analysis_server/protocol/protocol.dart'; |
import 'package:analysis_server/protocol/protocol_generated.dart'; |
-import 'package:analysis_server/src/domain_completion.dart'; |
import 'package:analysis_server/src/plugin/plugin_manager.dart'; |
import 'package:analysis_server/src/provisional/completion/completion_core.dart'; |
import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; |
@@ -20,14 +19,12 @@ import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; |
import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'analysis_abstract.dart'; |
import 'domain_completion_util.dart'; |
import 'mocks.dart' show pumpEventQueue; |
main() { |
defineReflectiveSuite(() { |
defineReflectiveTests(CompletionDomainHandlerTest); |
- defineReflectiveTests(_NoSearchEngine); |
}); |
} |
@@ -787,27 +784,3 @@ class MockRelevancySorter implements DartContributionSorter { |
return new Future.value(); |
} |
} |
- |
-@reflectiveTest |
-class _NoSearchEngine extends AbstractAnalysisTest { |
- @override |
- void setUp() { |
- super.setUp(); |
- createProject(); |
- handler = new CompletionDomainHandler(server); |
- } |
- |
- test_noSearchEngine() async { |
- addTestFile(''' |
-main() { |
- ^ |
-} |
- '''); |
- await waitForTasksFinished(); |
- Request request = |
- new CompletionGetSuggestionsParams(testFile, 0).toRequest('0'); |
- Response response = handler.handleRequest(request); |
- expect(response.error, isNotNull); |
- expect(response.error.code, RequestErrorCode.NO_INDEX_GENERATED); |
- } |
-} |