mocks

package
v1.10.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func NewORM

func NewORM(t mockConstructorTestingTNewORM) *ORM

NewORM creates a new instance of ORM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ORM) CreateRequest

func (_m *ORM) CreateRequest(contractRequestID [32]byte, receivedAt time.Time, requestTxHash *common.Hash) (int64, error)

CreateRequest provides a mock function with given fields: contractRequestID, receivedAt, requestTxHash

func (*ORM) SetConfirmed

func (_m *ORM) SetConfirmed(contractRequestID [32]byte) error

SetConfirmed provides a mock function with given fields: contractRequestID

func (*ORM) SetError

func (_m *ORM) SetError(id int64, runID int64, errorType directrequestocr.ErrType, computationError string, readyAt time.Time) error

SetError provides a mock function with given fields: id, runID, errorType, computationError, readyAt

func (*ORM) SetResult

func (_m *ORM) SetResult(id int64, runID int64, computationResult []byte, readyAt time.Time) error

SetResult provides a mock function with given fields: id, runID, computationResult, readyAt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL