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

Side by Side Diff: pkg/analyzer_cli/test/mocks.dart

Issue 2989583003: Replace typed_mock with mockito in analyzer_cli. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « pkg/analyzer_cli/pubspec.yaml ('k') | pkg/analyzer_cli/test/reporter_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 analyzer_cli.test.mocks; 5 library analyzer_cli.test.mocks;
6 6
7 import 'package:analyzer/analyzer.dart'; 7 import 'package:analyzer/analyzer.dart';
8 import 'package:analyzer/src/generated/engine.dart'; 8 import 'package:analyzer/src/generated/engine.dart';
9 import 'package:analyzer/src/generated/source.dart'; 9 import 'package:analyzer/src/generated/source.dart';
10 import 'package:analyzer_cli/src/options.dart'; 10 import 'package:analyzer_cli/src/options.dart';
11 import 'package:typed_mock/typed_mock.dart'; 11 import 'package:mockito/mockito.dart';
12 12
13 class MockAnalysisError extends TypedMock implements AnalysisError {} 13 class MockAnalysisError extends Mock implements AnalysisError {}
14 14
15 class MockAnalysisErrorInfo extends TypedMock implements AnalysisErrorInfo {} 15 class MockAnalysisErrorInfo extends Mock implements AnalysisErrorInfo {}
16 16
17 class MockCommandLineOptions extends TypedMock implements CommandLineOptions {} 17 class MockCommandLineOptions extends Mock implements CommandLineOptions {}
18 18
19 class MockErrorCode extends TypedMock implements ErrorCode {} 19 class MockErrorCode extends Mock implements ErrorCode {}
20 20
21 class MockErrorType extends TypedMock implements ErrorType {} 21 class MockErrorType extends Mock implements ErrorType {}
22 22
23 class MockLineInfo extends TypedMock implements LineInfo {} 23 class MockLineInfo extends Mock implements LineInfo {}
24 24
25 class MockLineInfo_Location extends TypedMock implements LineInfo_Location {} 25 class MockLineInfo_Location extends Mock implements LineInfo_Location {}
26 26
27 class MockSource extends TypedMock implements Source {} 27 class MockSource extends Mock implements Source {}
OLDNEW
« no previous file with comments | « pkg/analyzer_cli/pubspec.yaml ('k') | pkg/analyzer_cli/test/reporter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698