Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spawn ¶
Spawn is an autogenerated mock type for the Spawn type
func NewSpawn ¶
NewSpawn creates a new instance of Spawn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Spawn) CurrentProcessIsSpawn ¶
CurrentProcessIsSpawn provides a mock function with given fields:
func (*Spawn) EXPECT ¶
func (_m *Spawn) EXPECT() *Spawn_Expecter
type Spawn_CurrentProcessIsSpawn_Call ¶
Spawn_CurrentProcessIsSpawn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentProcessIsSpawn'
func (*Spawn_CurrentProcessIsSpawn_Call) Return ¶
func (_c *Spawn_CurrentProcessIsSpawn_Call) Return(_a0 bool) *Spawn_CurrentProcessIsSpawn_Call
func (*Spawn_CurrentProcessIsSpawn_Call) Run ¶
func (_c *Spawn_CurrentProcessIsSpawn_Call) Run(run func()) *Spawn_CurrentProcessIsSpawn_Call
func (*Spawn_CurrentProcessIsSpawn_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Spawn_CurrentProcessIsSpawn_Call) RunAndReturn(run func() bool) *Spawn_CurrentProcessIsSpawn_Call
type Spawn_Expecter ¶
type Spawn_Expecter struct {
// contains filtered or unexported fields
}
func (*Spawn_Expecter) CurrentProcessIsSpawn ¶
func (_e *Spawn_Expecter) CurrentProcessIsSpawn() *Spawn_CurrentProcessIsSpawn_Call
CurrentProcessIsSpawn is a helper method to define mock.On call
func (*Spawn_Expecter) Spawn ¶
func (_e *Spawn_Expecter) Spawn(args ...interface{}) *Spawn_Spawn_Call
Spawn is a helper method to define mock.On call
- args ...string
type Spawn_Spawn_Call ¶
Spawn_Spawn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Spawn'
func (*Spawn_Spawn_Call) Return ¶
func (_c *Spawn_Spawn_Call) Return(_a0 error) *Spawn_Spawn_Call
func (*Spawn_Spawn_Call) Run ¶
func (_c *Spawn_Spawn_Call) Run(run func(args ...string)) *Spawn_Spawn_Call
func (*Spawn_Spawn_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Spawn_Spawn_Call) RunAndReturn(run func(...string) error) *Spawn_Spawn_Call