Index: pkg/analysis_server/test/operation/operation_queue_test.dart |
diff --git a/pkg/analysis_server/test/operation/operation_queue_test.dart b/pkg/analysis_server/test/operation/operation_queue_test.dart |
index 2fd710098a00a9c4f51a9d8ea9699527b5f106c1..09a8afd60033176f04f290973e42a61054fa5d3b 100644 |
--- a/pkg/analysis_server/test/operation/operation_queue_test.dart |
+++ b/pkg/analysis_server/test/operation/operation_queue_test.dart |
@@ -16,13 +16,11 @@ import 'package:unittest/unittest.dart'; |
import '../mocks.dart'; |
import '../reflective_tests.dart'; |
- |
main() { |
groupSep = ' | '; |
runReflectiveTests(ServerOperationQueueTest); |
} |
- |
/** |
* Return a [ServerOperation] mock with the given priority. |
*/ |
@@ -32,25 +30,21 @@ ServerOperation mockOperation(ServerOperationPriority priority) { |
return operation; |
} |
- |
class AnalysisContextMock extends TypedMock implements InternalAnalysisContext { |
List<Source> prioritySources = <Source>[]; |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
- |
class AnalysisServerMock extends TypedMock implements AnalysisServer { |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
- |
-class ServerContextManagerMock extends TypedMock implements ServerContextManager |
- { |
+class ServerContextManagerMock extends TypedMock |
+ implements ServerContextManager { |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
- |
@reflectiveTest |
class ServerOperationQueueTest { |
ServerOperationQueue queue = new ServerOperationQueue(); |
@@ -153,7 +147,6 @@ class ServerOperationQueueTest { |
} |
} |
- |
class _ServerOperationMock extends TypedMock implements ServerOperation { |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
@@ -162,8 +155,8 @@ class _SourceMock extends TypedMock implements Source { |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |
-class _SourceSensitiveOperationMock extends TypedMock implements |
- SourceSensitiveOperation { |
+class _SourceSensitiveOperationMock extends TypedMock |
+ implements SourceSensitiveOperation { |
final Source source; |
_SourceSensitiveOperationMock(this.source); |