Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockScriptApi
- func (m *MockScriptApi) CreateFromAsm(asm string) (*types.Script, error)
- func (m *MockScriptApi) CreateFromAsmStrings(asmStrings []string) (*types.Script, error)
- func (m *MockScriptApi) CreateMultisig(pubkeys []types.Pubkey, requireSigNum uint32) (*types.Script, error)
- func (m *MockScriptApi) EXPECT() *MockScriptApiMockRecorder
- func (m *MockScriptApi) Parse(script *types.Script) ([]string, error)
- func (m *MockScriptApi) ParseMultisig(script *types.Script) ([]types.Pubkey, uint32, error)
- type MockScriptApiMockRecorder
- func (mr *MockScriptApiMockRecorder) CreateFromAsm(asm interface{}) *gomock.Call
- func (mr *MockScriptApiMockRecorder) CreateFromAsmStrings(asmStrings interface{}) *gomock.Call
- func (mr *MockScriptApiMockRecorder) CreateMultisig(pubkeys, requireSigNum interface{}) *gomock.Call
- func (mr *MockScriptApiMockRecorder) Parse(script interface{}) *gomock.Call
- func (mr *MockScriptApiMockRecorder) ParseMultisig(script interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScriptApi ¶
type MockScriptApi struct {
// contains filtered or unexported fields
}
MockScriptApi is a mock of ScriptApi interface.
func NewMockScriptApi ¶
func NewMockScriptApi(ctrl *gomock.Controller) *MockScriptApi
NewMockScriptApi creates a new mock instance.
func (*MockScriptApi) CreateFromAsm ¶
func (m *MockScriptApi) CreateFromAsm(asm string) (*types.Script, error)
CreateFromAsm mocks base method.
func (*MockScriptApi) CreateFromAsmStrings ¶
func (m *MockScriptApi) CreateFromAsmStrings(asmStrings []string) (*types.Script, error)
CreateFromAsmStrings mocks base method.
func (*MockScriptApi) CreateMultisig ¶
func (m *MockScriptApi) CreateMultisig(pubkeys []types.Pubkey, requireSigNum uint32) (*types.Script, error)
CreateMultisig mocks base method.
func (*MockScriptApi) EXPECT ¶
func (m *MockScriptApi) EXPECT() *MockScriptApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScriptApi) Parse ¶
func (m *MockScriptApi) Parse(script *types.Script) ([]string, error)
Parse mocks base method.
func (*MockScriptApi) ParseMultisig ¶
ParseMultisig mocks base method.
type MockScriptApiMockRecorder ¶
type MockScriptApiMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptApiMockRecorder is the mock recorder for MockScriptApi.
func (*MockScriptApiMockRecorder) CreateFromAsm ¶
func (mr *MockScriptApiMockRecorder) CreateFromAsm(asm interface{}) *gomock.Call
CreateFromAsm indicates an expected call of CreateFromAsm.
func (*MockScriptApiMockRecorder) CreateFromAsmStrings ¶
func (mr *MockScriptApiMockRecorder) CreateFromAsmStrings(asmStrings interface{}) *gomock.Call
CreateFromAsmStrings indicates an expected call of CreateFromAsmStrings.
func (*MockScriptApiMockRecorder) CreateMultisig ¶
func (mr *MockScriptApiMockRecorder) CreateMultisig(pubkeys, requireSigNum interface{}) *gomock.Call
CreateMultisig indicates an expected call of CreateMultisig.
func (*MockScriptApiMockRecorder) Parse ¶
func (mr *MockScriptApiMockRecorder) Parse(script interface{}) *gomock.Call
Parse indicates an expected call of Parse.
func (*MockScriptApiMockRecorder) ParseMultisig ¶
func (mr *MockScriptApiMockRecorder) ParseMultisig(script interface{}) *gomock.Call
ParseMultisig indicates an expected call of ParseMultisig.