Documentation
¶
Index ¶
- func Buffer(t *testing.T, v interface{}) *bytes.Buffer
- func Decode(t *testing.T, reader io.Reader, v interface{})
- func DecodeCursorResponse(t *testing.T, reader io.Reader, targetType interface{}) *query.Cursor
- func DecodeSingleResponse(t *testing.T, reader io.Reader, v interface{})
- func Encode(t *testing.T, v interface{}) []byte
- func GetAccount(handler http.Handler, addr string) *httptest.ResponseRecorder
- func GetAccounts(handler http.Handler) *httptest.ResponseRecorder
- func GetInfo(handler http.Handler) *httptest.ResponseRecorder
- func GetStats(handler http.Handler) *httptest.ResponseRecorder
- func GetTransaction(handler http.Handler, id int64) *httptest.ResponseRecorder
- func GetTransactions(handler http.Handler) *httptest.ResponseRecorder
- func LoadMapping(handler http.Handler) *httptest.ResponseRecorder
- func NewRequest(method, path string, body io.Reader) (*http.Request, *httptest.ResponseRecorder)
- func PostAccountMetadata(t *testing.T, handler http.Handler, addr string, m core.Metadata) *httptest.ResponseRecorder
- func PostTransaction(t *testing.T, handler http.Handler, tx core.TransactionData) *httptest.ResponseRecorder
- func PostTransactionMetadata(t *testing.T, handler http.Handler, id int64, m core.Metadata) *httptest.ResponseRecorder
- func PostTransactionPreview(t *testing.T, handler http.Handler, tx core.TransactionData) *httptest.ResponseRecorder
- func RunSubTest(t *testing.T, name string, fn interface{})
- func RunTest(t *testing.T, fn interface{})
- func SaveMapping(t *testing.T, handler http.Handler, m core.Mapping) *httptest.ResponseRecorder
- func WithNewModule(t *testing.T, options ...fx.Option)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeCursorResponse ¶
func DecodeSingleResponse ¶
func GetAccount ¶
func GetAccount(handler http.Handler, addr string) *httptest.ResponseRecorder
func GetAccounts ¶
func GetAccounts(handler http.Handler) *httptest.ResponseRecorder
func GetTransaction ¶
func GetTransaction(handler http.Handler, id int64) *httptest.ResponseRecorder
func GetTransactions ¶
func GetTransactions(handler http.Handler) *httptest.ResponseRecorder
func LoadMapping ¶
func LoadMapping(handler http.Handler) *httptest.ResponseRecorder
func NewRequest ¶
func PostAccountMetadata ¶
func PostTransaction ¶
func PostTransaction(t *testing.T, handler http.Handler, tx core.TransactionData) *httptest.ResponseRecorder
func PostTransactionMetadata ¶
func PostTransactionPreview ¶ added in v1.1.0
func PostTransactionPreview(t *testing.T, handler http.Handler, tx core.TransactionData) *httptest.ResponseRecorder
func RunSubTest ¶
func SaveMapping ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.