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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/test/mocks.dart
diff --git a/pkg/analyzer_cli/test/mocks.dart b/pkg/analyzer_cli/test/mocks.dart
index 7a62bda47c847d5af83aefab2530e68d00512ae6..3cc6ebbddf73c0e10e00293e4cbcc70be2d4577f 100644
--- a/pkg/analyzer_cli/test/mocks.dart
+++ b/pkg/analyzer_cli/test/mocks.dart
@@ -8,20 +8,20 @@ import 'package:analyzer/analyzer.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer_cli/src/options.dart';
-import 'package:typed_mock/typed_mock.dart';
+import 'package:mockito/mockito.dart';
-class MockAnalysisError extends TypedMock implements AnalysisError {}
+class MockAnalysisError extends Mock implements AnalysisError {}
-class MockAnalysisErrorInfo extends TypedMock implements AnalysisErrorInfo {}
+class MockAnalysisErrorInfo extends Mock implements AnalysisErrorInfo {}
-class MockCommandLineOptions extends TypedMock implements CommandLineOptions {}
+class MockCommandLineOptions extends Mock implements CommandLineOptions {}
-class MockErrorCode extends TypedMock implements ErrorCode {}
+class MockErrorCode extends Mock implements ErrorCode {}
-class MockErrorType extends TypedMock implements ErrorType {}
+class MockErrorType extends Mock implements ErrorType {}
-class MockLineInfo extends TypedMock implements LineInfo {}
+class MockLineInfo extends Mock implements LineInfo {}
-class MockLineInfo_Location extends TypedMock implements LineInfo_Location {}
+class MockLineInfo_Location extends Mock implements LineInfo_Location {}
-class MockSource extends TypedMock implements Source {}
+class MockSource extends Mock implements Source {}
« 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