mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext(t *testing.T) *Context

func (*Context) AssertExpectations

func (c *Context) AssertExpectations()

func (*Context) Commit

func (c *Context) Commit() error

func (*Context) ExpectCommit

func (c *Context) ExpectCommit()

func (*Context) ExpectForward

func (c *Context) ExpectForward(key, value interface{})

func (*Context) ExpectForwardToChild

func (c *Context) ExpectForwardToChild(key, value interface{}, index int)

func (*Context) Forward

func (c *Context) Forward(key, value interface{}) error

func (*Context) ForwardToChild

func (c *Context) ForwardToChild(key, value interface{}, index int) error

func (*Context) Logger

func (c *Context) Logger() log.Logger

func (*Context) ShouldError

func (c *Context) ShouldError()

func (*Context) Stats

func (c *Context) Stats() stats.Stats

Jump to

Keyboard shortcuts

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