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 {} |