blob: d940d2ba311f2ad09218cec623dc0b47f7afca04 [file] [log] [blame]
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library analyzer_cli.test.mocks;
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:mockito/mockito.dart';
class MockAnalysisError extends Mock implements AnalysisError {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockAnalysisErrorInfo extends Mock implements AnalysisErrorInfo {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockCommandLineOptions extends Mock implements CommandLineOptions {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockErrorCode extends Mock implements ErrorCode {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockErrorType extends Mock implements ErrorType {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockLineInfo extends Mock implements LineInfo {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockLineInfo_Location extends Mock implements LineInfo_Location {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
class MockSource extends Mock implements Source {
@override
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}