fake_runner

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: MIT, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRunner

type FakeRunner struct {
	RunStub func(signals <-chan os.Signal, ready chan<- struct{}) error
	// contains filtered or unexported fields
}

func (*FakeRunner) Run

func (fake *FakeRunner) Run(signals <-chan os.Signal, ready chan<- struct{}) error

func (*FakeRunner) RunArgsForCall

func (fake *FakeRunner) RunArgsForCall(i int) (<-chan os.Signal, chan<- struct{})

func (*FakeRunner) RunCallCount

func (fake *FakeRunner) RunCallCount() int

func (*FakeRunner) RunReturns

func (fake *FakeRunner) RunReturns(result1 error)

type TestRunner

type TestRunner struct {
	*FakeRunner
	// contains filtered or unexported fields
}

func NewTestRunner

func NewTestRunner() *TestRunner

func (*TestRunner) EnsureExit

func (r *TestRunner) EnsureExit()

func (*TestRunner) TriggerExit

func (r *TestRunner) TriggerExit(err error)

func (*TestRunner) TriggerReady

func (r *TestRunner) TriggerReady()

func (*TestRunner) WaitForCall

func (r *TestRunner) WaitForCall() <-chan os.Signal

Jump to

Keyboard shortcuts

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