mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-20 07:14:22 +01:00
36 lines
484 B
Go
36 lines
484 B
Go
package itest
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/breez/lntest"
|
|
)
|
|
|
|
type testParams struct {
|
|
t *testing.T
|
|
h *lntest.TestHarness
|
|
m *lntest.Miner
|
|
c *breezClient
|
|
lsp LspNode
|
|
}
|
|
|
|
func (h *testParams) T() *testing.T {
|
|
return h.t
|
|
}
|
|
|
|
func (h *testParams) Miner() *lntest.Miner {
|
|
return h.m
|
|
}
|
|
|
|
func (h *testParams) Lsp() LspNode {
|
|
return h.lsp
|
|
}
|
|
|
|
func (h *testParams) Harness() *lntest.TestHarness {
|
|
return h.h
|
|
}
|
|
|
|
func (h *testParams) BreezClient() *breezClient {
|
|
return h.c
|
|
}
|