Skip to content

Commit

Permalink
mocks: add account/watcher mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
positiveblue committed Dec 7, 2021
1 parent 7b53791 commit 7394985
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 0 deletions.
240 changes: 240 additions & 0 deletions account/watcher/mock_interface_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ package pool

//go:generate mockgen -source=sidecar/interfaces.go -package=sidecar -destination=sidecar/mock_interfaces.go
//go:generate mockgen -source=internal/test/interfaces.go -package=test -destination=internal/test/mock_interfaces.go
//go:generate mockgen -source=account/watcher/interfaces.go -package=watcher -destination=account/watcher/mock_interface_test.go
4 changes: 4 additions & 0 deletions internal/test/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ type SignerClient interface {
type WalletKitClient interface {
lndclient.WalletKitClient
}

type ChainNotifierClient interface {
lndclient.ChainNotifierClient
}
73 changes: 73 additions & 0 deletions internal/test/mock_interfaces.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7394985

Please sign in to comment.