Documentation ¶
Index ¶
- func AssertAPIResponse(t testing.TB, w *httptest.ResponseRecorder, want []util.KeyValue)
- func AssertAPIResponseBasic(t testing.TB, want, got io.Reader)
- func NewAbciQueryResponse(t testing.TB, keys [][]byte, m []weave.Persistent) md.AbciQueryResponse
- func SequenceID(n uint64) []byte
- func SerializePairs(t testing.TB, keys [][]byte, models []weave.Persistent) ([]byte, []byte)
- func TestBnsClientMock(t *testing.T)
- type BnsClientMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAPIResponse ¶
func NewAbciQueryResponse ¶
func NewAbciQueryResponse(t testing.TB, keys [][]byte, m []weave.Persistent) md.AbciQueryResponse
func SequenceID ¶
func SerializePairs ¶
func TestBnsClientMock ¶
Types ¶
type BnsClientMock ¶
type BnsClientMock struct { GetResults map[string]md.AbciQueryResponse PostResults map[string]map[string]md.AbciQueryResponse Err error }
Click to show internal directories.
Click to hide internal directories.