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

Unified Diff: pkg/analysis_server/test/mocks.dart

Issue 2957643002: Remove the unused operations queue (Closed)
Patch Set: Created 3 years, 6 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/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 {
« no previous file with comments | « pkg/analysis_server/test/analysis_server_test.dart ('k') | pkg/analysis_server/test/operation/operation_queue_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698