Index: pkg/analysis_server/test/mocks.dart |
diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart |
index 252123e1866191d82a2e3a1f86648646e6a6a195..8d0b290224d80104f1159570d0de4a61575c4120 100644 |
--- a/pkg/analysis_server/test/mocks.dart |
+++ b/pkg/analysis_server/test/mocks.dart |
@@ -9,8 +9,6 @@ import 'package:analysis_server/protocol/protocol.dart'; |
import 'package:analysis_server/protocol/protocol_generated.dart'; |
import 'package:analysis_server/src/analysis_server.dart'; |
import 'package:analysis_server/src/channel/channel.dart'; |
-import 'package:analysis_server/src/operation/operation.dart'; |
-import 'package:analysis_server/src/operation/operation_analysis.dart'; |
import 'package:analyzer/dart/element/element.dart'; |
import 'package:analyzer/file_system/file_system.dart' as resource; |
import 'package:analyzer/file_system/memory_file_system.dart' as resource; |
@@ -253,25 +251,6 @@ class MockServerChannel implements ServerCommunicationChannel { |
} |
/** |
- * A mock [ServerOperation] for testing [AnalysisServer]. |
- */ |
-class MockServerOperation implements PerformAnalysisOperation { |
- final ServerOperationPriority priority; |
- final MockServerOperationPerformFunction _perform; |
- |
- MockServerOperation(this.priority, this._perform); |
- |
- @override |
- AnalysisContext get context => null; |
- |
- @override |
- bool get isContinue => false; |
- |
- @override |
- void perform(AnalysisServer server) => this._perform(server); |
-} |
- |
-/** |
* A mock [WebSocket] for testing. |
*/ |
class MockSocket<T> implements WebSocket { |