OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 library test.services.index.store.mocks; | |
6 | |
7 import 'package:analysis_services/index/index.dart'; | |
8 import 'package:analysis_services/src/index/store/codec.dart'; | |
9 import 'package:analyzer/src/generated/engine.dart'; | |
10 import 'package:typed_mock/typed_mock.dart'; | |
11 | |
12 | |
13 class MockContextCodec extends TypedMock implements ContextCodec { | |
14 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | |
15 } | |
16 | |
17 | |
18 class MockElementCodec extends TypedMock implements ElementCodec { | |
19 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | |
20 } | |
21 | |
22 | |
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 { | |
30 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | |
31 } | |
32 | |
33 | |
34 class MockRelationshipCodec extends TypedMock implements RelationshipCodec { | |
35 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | |
36 } | |
OLD | NEW |