OLD | NEW |
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 } | |
OLD | NEW |