eventfakes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2015 License: Apache-2.0 Imports: 3 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 FakeHub

type FakeHub struct {
	SubscribeStub func() (receptor.EventSource, error)

	EmitStub func(receptor.Event)

	CloseStub func() error

	RegisterCallbackStub func(func(count int))
	// contains filtered or unexported fields
}

func (*FakeHub) Close

func (fake *FakeHub) Close() error

func (*FakeHub) CloseCallCount

func (fake *FakeHub) CloseCallCount() int

func (*FakeHub) CloseReturns

func (fake *FakeHub) CloseReturns(result1 error)

func (*FakeHub) Emit

func (fake *FakeHub) Emit(arg1 receptor.Event)

func (*FakeHub) EmitArgsForCall

func (fake *FakeHub) EmitArgsForCall(i int) receptor.Event

func (*FakeHub) EmitCallCount

func (fake *FakeHub) EmitCallCount() int

func (*FakeHub) RegisterCallback

func (fake *FakeHub) RegisterCallback(arg1 func(count int))

func (*FakeHub) RegisterCallbackArgsForCall

func (fake *FakeHub) RegisterCallbackArgsForCall(i int) func(count int)

func (*FakeHub) RegisterCallbackCallCount

func (fake *FakeHub) RegisterCallbackCallCount() int

func (*FakeHub) Subscribe

func (fake *FakeHub) Subscribe() (receptor.EventSource, error)

func (*FakeHub) SubscribeCallCount

func (fake *FakeHub) SubscribeCallCount() int

func (*FakeHub) SubscribeReturns

func (fake *FakeHub) SubscribeReturns(result1 receptor.EventSource, result2 error)

Jump to

Keyboard shortcuts

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