logicless

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionChunk

type ExecutionChunk struct {
	// contains filtered or unexported fields
}

type ExecutionChunkType

type ExecutionChunkType int
const (
	Start ExecutionChunkType = iota
	Continue
	Abort
)

func (ExecutionChunkType) String

func (t ExecutionChunkType) String() string

type ExecutionClassifyMock

type ExecutionClassifyMock struct {
	// contains filtered or unexported fields
}

func (*ExecutionClassifyMock) Get

func (m *ExecutionClassifyMock) Get(key interface{}) (*ExecutionClassifyMockInstance, bool)

func (*ExecutionClassifyMock) Set

type ExecutionClassifyMockInstance

type ExecutionClassifyMockInstance struct {
	// contains filtered or unexported fields
}

type ExecutionMock

type ExecutionMock struct {
	// contains filtered or unexported fields
}

func (*ExecutionMock) AddAbort

func (*ExecutionMock) AddContinue

func (*ExecutionMock) AddStart

type ExecutionMockAbortCheckFunc

type ExecutionMockAbortCheckFunc func()

type ExecutionMockContinueCheckFunc

type ExecutionMockContinueCheckFunc func(result []byte)

type ExecutionMockStartCheckFunc

type ExecutionMockStartCheckFunc func(ctx execution.Context)

type ServiceMock

type ServiceMock struct {
	// contains filtered or unexported fields
}

func NewServiceMock

func NewServiceMock(ctx context.Context, t minimock.Tester, keyConstructor func(execution execution.Context) interface{}) *ServiceMock

func (*ServiceMock) AddExecutionClassify

func (s *ServiceMock) AddExecutionClassify(key interface{}, v1 contract.MethodIsolation, v2 error)

func (*ServiceMock) AddExecutionMock

func (s *ServiceMock) AddExecutionMock(key interface{}) *ExecutionMock

func (*ServiceMock) CreateAdapter

func (s *ServiceMock) CreateAdapter(ctx context.Context) runner.ServiceAdapter

func (*ServiceMock) ExecutionAbort

func (s *ServiceMock) ExecutionAbort(run runner.RunState)

func (*ServiceMock) ExecutionClassify

func (s *ServiceMock) ExecutionClassify(execution execution.Context) (contract.MethodIsolation, error)

func (*ServiceMock) ExecutionContinue

func (s *ServiceMock) ExecutionContinue(run runner.RunState, outgoingResult requestresult.OutgoingExecutionResult)

func (*ServiceMock) ExecutionStart

func (s *ServiceMock) ExecutionStart(execution execution.Context) runner.RunState

func (*ServiceMock) MinimockFinish

func (s *ServiceMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ServiceMock) MinimockWait

func (s *ServiceMock) MinimockWait(timeout time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

Jump to

Keyboard shortcuts

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