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

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

Issue 784623004: Remove old instrumentation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
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:analyzer/src/generated/engine.dart';
10 import 'package:typed_mock/typed_mock.dart'; 9 import 'package:typed_mock/typed_mock.dart';
11 10
12 11
13 class MockContextCodec extends TypedMock implements ContextCodec { 12 class MockContextCodec extends TypedMock implements ContextCodec {
14 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 13 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
15 } 14 }
16 15
17 16
18 class MockElementCodec extends TypedMock implements ElementCodec { 17 class MockElementCodec extends TypedMock implements ElementCodec {
19 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 18 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
20 } 19 }
21 20
22 21
23 class MockInstrumentedAnalysisContextImpl extends TypedMock implements
24 InstrumentedAnalysisContextImpl {
25 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
26 }
27
28
29 class MockLocation extends TypedMock implements Location { 22 class MockLocation extends TypedMock implements Location {
30 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 23 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
31 } 24 }
32 25
33 26
34 class MockRelationshipCodec extends TypedMock implements RelationshipCodec { 27 class MockRelationshipCodec extends TypedMock implements RelationshipCodec {
35 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 28 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
36 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698