Documentation ¶
Index ¶
- Variables
- type Registry
- func (r *Registry) AddAssert(method string, args []lua.LValue, called bool) error
- func (r *Registry) AddCall(method string, args []lua.LValue) error
- func (r *Registry) Clean()
- func (r *Registry) Register(anyValue, method string, callArgs, retArgs []lua.LValue) error
- func (r *Registry) Response(anyValue, method string, args []lua.LValue) ([]lua.LValue, error)
- func (r *Registry) Result() []modules.TestResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEntryIsNotRegistered represents EntryIsNotRegistered error ErrEntryIsNotRegistered = errors.New("response entry is not registered") )
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry for registration responses by method name and arguments and asserts with calls
func (*Registry) Result ¶
func (r *Registry) Result() []modules.TestResult
Result returns registry results
Click to show internal directories.
Click to hide internal directories.