| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.operation.queue; | 5 library test.operation.queue; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/analysis_server.dart'; | 7 import 'package:analysis_server/src/analysis_server.dart'; |
| 8 import 'package:analysis_server/src/operation/operation_analysis.dart'; |
| 8 import 'package:analysis_server/src/operation/operation.dart'; | 9 import 'package:analysis_server/src/operation/operation.dart'; |
| 9 import 'package:analysis_server/src/operation/operation_queue.dart'; | 10 import 'package:analysis_server/src/operation/operation_queue.dart'; |
| 10 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 11 import 'package:typed_mock/typed_mock.dart'; | 12 import 'package:typed_mock/typed_mock.dart'; |
| 12 import 'package:unittest/unittest.dart'; | 13 import 'package:unittest/unittest.dart'; |
| 13 | 14 |
| 14 main() { | 15 main() { |
| 15 groupSep = ' | '; | 16 groupSep = ' | '; |
| 16 | 17 |
| 17 group('ServerOperationQueue', () { | 18 group('ServerOperationQueue', () { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 114 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 114 } | 115 } |
| 115 | 116 |
| 116 class ServerOperationMock extends TypedMock implements ServerOperation { | 117 class ServerOperationMock extends TypedMock implements ServerOperation { |
| 117 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 118 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 118 } | 119 } |
| 119 | 120 |
| 120 class AnalysisServerMock extends TypedMock implements AnalysisServer { | 121 class AnalysisServerMock extends TypedMock implements AnalysisServer { |
| 121 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 122 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 122 } | 123 } |
| OLD | NEW |