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

Side by Side Diff: pkg/analysis_server/test/services/index/store/mocks.dart

Issue 1507813004: Remove unnecessary 'noSuchMethod' declarations. (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.services.index.store.mocks; 5 library test.services.index.store.mocks;
6 6
7 import 'package:analysis_server/src/services/index/index.dart'; 7 import 'package:analysis_server/src/services/index/index.dart';
8 import 'package:analysis_server/src/services/index/store/codec.dart'; 8 import 'package:analysis_server/src/services/index/store/codec.dart';
9 import 'package:typed_mock/typed_mock.dart'; 9 import 'package:typed_mock/typed_mock.dart';
10 10
11 class MockContextCodec extends TypedMock implements ContextCodec { 11 class MockContextCodec extends TypedMock implements ContextCodec {}
12 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
13 }
14 12
15 class MockElementCodec extends TypedMock implements ElementCodec { 13 class MockElementCodec extends TypedMock implements ElementCodec {}
16 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
17 }
18 14
19 class MockLocation extends TypedMock implements LocationImpl { 15 class MockLocation extends TypedMock implements LocationImpl {}
20 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
21 }
22 16
23 class MockRelationshipCodec extends TypedMock implements RelationshipCodec { 17 class MockRelationshipCodec extends TypedMock implements RelationshipCodec {}
24 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698