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

Side by Side Diff: pkg/analysis_server/test/operation/operation_queue_test.dart

Issue 311653002: Extract analysis/notifications into a separate operation/file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for the test method name. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698