Documentation ¶
Index ¶
- type MockEngine
- func (e *MockEngine) ClearEvents()
- func (e *MockEngine) GetProperties(symbol string) (map[string]any, error)
- func (e *MockEngine) HasInterface(id string) bool
- func (e *MockEngine) HasSequence(name string) bool
- func (e *MockEngine) InvokeOperation(symbol string, name string, args []any) (any, error)
- func (e *MockEngine) LastEvent() MockEvent
- func (e *MockEngine) PlayAllSequences(ctx context.Context) error
- func (e *MockEngine) PlaySequence(ctx context.Context, name string) error
- func (e *MockEngine) SetProperties(symbol string, params map[string]any) error
- func (e *MockEngine) StopAllSequences()
- func (e *MockEngine) StopSequence(name string) error
- type MockEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEngine ¶
func NewMockEngine ¶
func NewMockEngine() *MockEngine
func (*MockEngine) ClearEvents ¶
func (e *MockEngine) ClearEvents()
func (*MockEngine) GetProperties ¶
func (e *MockEngine) GetProperties(symbol string) (map[string]any, error)
func (*MockEngine) HasInterface ¶
func (e *MockEngine) HasInterface(id string) bool
func (*MockEngine) HasSequence ¶
func (e *MockEngine) HasSequence(name string) bool
func (*MockEngine) InvokeOperation ¶
func (*MockEngine) LastEvent ¶
func (e *MockEngine) LastEvent() MockEvent
func (*MockEngine) PlayAllSequences ¶
func (e *MockEngine) PlayAllSequences(ctx context.Context) error
func (*MockEngine) PlaySequence ¶
func (e *MockEngine) PlaySequence(ctx context.Context, name string) error
func (*MockEngine) SetProperties ¶
func (e *MockEngine) SetProperties(symbol string, params map[string]any) error
func (*MockEngine) StopAllSequences ¶
func (e *MockEngine) StopAllSequences()
func (*MockEngine) StopSequence ¶
func (e *MockEngine) StopSequence(name string) error
Click to show internal directories.
Click to hide internal directories.