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

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

Issue 1459683003: `analyzer_cli` move to SDK. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month 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/test/error_test.dart ('k') | pkg/analyzer_cli/test/options_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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analyzer_cli.test.mocks;
6
7 import 'package:analyzer/analyzer.dart';
8 import 'package:analyzer/src/generated/engine.dart';
9 import 'package:analyzer/src/generated/source.dart';
10 import 'package:analyzer_cli/src/options.dart';
11 import 'package:typed_mock/typed_mock.dart';
12
13 class MockAnalysisError extends TypedMock implements AnalysisError {
14 @override
15 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
16 }
17
18 class MockAnalysisErrorInfo extends TypedMock implements AnalysisErrorInfo {
19 @override
20 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
21 }
22
23 class MockCommandLineOptions extends TypedMock implements CommandLineOptions {
24 @override
25 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
26 }
27
28 class MockErrorCode extends TypedMock implements ErrorCode {
29 @override
30 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
31 }
32
33 class MockErrorType extends TypedMock implements ErrorType {
34 @override
35 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
36 }
37
38 class MockLineInfo extends TypedMock implements LineInfo {
39 @override
40 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
41 }
42
43 class MockLineInfo_Location extends TypedMock implements LineInfo_Location {
44 @override
45 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
46 }
47
48 class MockSource extends TypedMock implements Source {
49 @override
50 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
51 }
OLDNEW
« no previous file with comments | « pkg/analyzer_cli/test/error_test.dart ('k') | pkg/analyzer_cli/test/options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698