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

Unified Diff: pkg/analyzer_cli/test/mocks.dart

Issue 1520673002: More mock cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | 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 794521c610ed97ee1c2631ac5795b730018f97af..7a62bda47c847d5af83aefab2530e68d00512ae6 100644
--- a/pkg/analyzer_cli/test/mocks.dart
+++ b/pkg/analyzer_cli/test/mocks.dart
@@ -10,42 +10,18 @@ import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer_cli/src/options.dart';
import 'package:typed_mock/typed_mock.dart';
-class MockAnalysisError extends TypedMock implements AnalysisError {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockAnalysisErrorInfo extends TypedMock implements AnalysisErrorInfo {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockCommandLineOptions extends TypedMock implements CommandLineOptions {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockErrorCode extends TypedMock implements ErrorCode {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockErrorType extends TypedMock implements ErrorType {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockLineInfo extends TypedMock implements LineInfo {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockLineInfo_Location extends TypedMock implements LineInfo_Location {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class MockSource extends TypedMock implements Source {
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
+class MockAnalysisError extends TypedMock implements AnalysisError {}
+
+class MockAnalysisErrorInfo extends TypedMock implements AnalysisErrorInfo {}
+
+class MockCommandLineOptions extends TypedMock implements CommandLineOptions {}
+
+class MockErrorCode extends TypedMock implements ErrorCode {}
+
+class MockErrorType extends TypedMock implements ErrorType {}
+
+class MockLineInfo extends TypedMock implements LineInfo {}
+
+class MockLineInfo_Location extends TypedMock implements LineInfo_Location {}
+
+class MockSource extends TypedMock implements Source {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698