-
Notifications
You must be signed in to change notification settings - Fork 15
/
.mockery.yml
48 lines (43 loc) · 1.16 KB
/
.mockery.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
with-expecter: true
mockname: '{{.InterfaceName}}'
filename: '{{.InterfaceName | snakecase}}.go'
outpkg: mocks
packages:
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3:
config:
# TODO Remove nesting
dir: test/mocks/pkg/api/v3
interfaces:
NodeService: ~
ConsensusService: ~
NetworkService: ~
MetricsService: ~
Querier: ~
Submitter: ~
Validator: ~
EventService: ~
Sequencer: ~
gitlab.com/accumulatenetwork/accumulate/internal/api/private:
config:
dir: test/mocks/api_v3
interfaces:
Sequencer: ~
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3/p2p/dial:
config: &inpkg_test
dir: '{{.InterfaceDir}}'
mockname: 'Mock{{.InterfaceName}}'
outpkg: '{{.PackageName}}'
filename: 'mock_{{.InterfaceName}}_test.go'
inpackage: true
interfaces:
Connector: ~
Discoverer: ~
MessageStreamHandler: ~
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3/message:
config: *inpkg_test
interfaces:
MultiDialer: ~
gitlab.com/accumulatenetwork/accumulate/internal/api/routing:
config: *inpkg_test
interfaces:
Router: ~