ifrit: github.com/tedsuo/ifrit/fake_runner Index | Files

package fake_runner

import "github.com/tedsuo/ifrit/fake_runner"

fake_runner contains test fixtures.

This file was generated by counterfeiter

Index

Package Files

doc.go fake_runner.go test_runner.go

type FakeRunner Uses

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

func (*FakeRunner) Run Uses

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

func (*FakeRunner) RunArgsForCall Uses

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

func (*FakeRunner) RunCallCount Uses

func (fake *FakeRunner) RunCallCount() int

func (*FakeRunner) RunReturns Uses

func (fake *FakeRunner) RunReturns(result1 error)

type TestRunner Uses

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

func NewTestRunner Uses

func NewTestRunner() *TestRunner

func (*TestRunner) EnsureExit Uses

func (r *TestRunner) EnsureExit()

func (*TestRunner) TriggerExit Uses

func (r *TestRunner) TriggerExit(err error)

func (*TestRunner) TriggerReady Uses

func (r *TestRunner) TriggerReady()

func (*TestRunner) WaitForCall Uses

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

Package fake_runner imports 5 packages (graph). Updated 2016-07-16. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).