mock_sample

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmbed

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

MockEmbed is a mock of Embed interface

func NewMockEmbed

func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed

NewMockEmbed creates a new mock instance

func (*MockEmbed) EXPECT

func (_m *MockEmbed) EXPECT() *MockEmbedMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEmbed) EmbeddedMethod

func (_m *MockEmbed) EmbeddedMethod()

EmbeddedMethod mocks base method

func (*MockEmbed) ForeignEmbeddedMethod

func (_m *MockEmbed) ForeignEmbeddedMethod() *bufio.Reader

ForeignEmbeddedMethod mocks base method

func (*MockEmbed) ImplicitPackage

func (_m *MockEmbed) ImplicitPackage(_param0 string, _param1 imp1.ImpT, _param2 []imp1.ImpT, _param3 *imp1.ImpT, _param4 chan imp1.ImpT)

ImplicitPackage mocks base method

func (*MockEmbed) RegularMethod

func (_m *MockEmbed) RegularMethod()

RegularMethod mocks base method

type MockEmbedMockRecorder

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

MockEmbedMockRecorder is the mock recorder for MockEmbed

func (*MockEmbedMockRecorder) EmbeddedMethod

func (_mr *MockEmbedMockRecorder) EmbeddedMethod() *gomock.Call

EmbeddedMethod indicates an expected call of EmbeddedMethod

func (*MockEmbedMockRecorder) ForeignEmbeddedMethod

func (_mr *MockEmbedMockRecorder) ForeignEmbeddedMethod() *gomock.Call

ForeignEmbeddedMethod indicates an expected call of ForeignEmbeddedMethod

func (*MockEmbedMockRecorder) ImplicitPackage

func (_mr *MockEmbedMockRecorder) ImplicitPackage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ImplicitPackage indicates an expected call of ImplicitPackage

func (*MockEmbedMockRecorder) RegularMethod

func (_mr *MockEmbedMockRecorder) RegularMethod() *gomock.Call

RegularMethod indicates an expected call of RegularMethod

type MockEmbedded

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

MockEmbedded is a mock of Embedded interface

func NewMockEmbedded

func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded

NewMockEmbedded creates a new mock instance

func (*MockEmbedded) EXPECT

func (_m *MockEmbedded) EXPECT() *MockEmbeddedMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEmbedded) EmbeddedMethod

func (_m *MockEmbedded) EmbeddedMethod()

EmbeddedMethod mocks base method

type MockEmbeddedMockRecorder

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

MockEmbeddedMockRecorder is the mock recorder for MockEmbedded

func (*MockEmbeddedMockRecorder) EmbeddedMethod

func (_mr *MockEmbeddedMockRecorder) EmbeddedMethod() *gomock.Call

EmbeddedMethod indicates an expected call of EmbeddedMethod

type MockIndex

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

MockIndex is a mock of Index interface

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance

func (*MockIndex) Anon

func (_m *MockIndex) Anon(_param0 string)

Anon mocks base method

func (*MockIndex) Chan

func (_m *MockIndex) Chan(_param0 chan int, _param1 chan<- hash.Hash)

Chan mocks base method

func (*MockIndex) ConcreteRet

func (_m *MockIndex) ConcreteRet() chan<- bool

ConcreteRet mocks base method

func (*MockIndex) EXPECT

func (_m *MockIndex) EXPECT() *MockIndexMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIndex) Ellip

func (_m *MockIndex) Ellip(_param0 string, _param1 ...interface{})

Ellip mocks base method

func (*MockIndex) EllipOnly

func (_m *MockIndex) EllipOnly(_param0 ...string)

EllipOnly mocks base method

func (*MockIndex) ForeignFour

func (_m *MockIndex) ForeignFour(_param0 imp4.Imp4)

ForeignFour mocks base method

func (*MockIndex) ForeignOne

func (_m *MockIndex) ForeignOne(_param0 imp1.Imp1)

ForeignOne mocks base method

func (*MockIndex) ForeignThree

func (_m *MockIndex) ForeignThree(_param0 imp3.Imp3)

ForeignThree mocks base method

func (*MockIndex) ForeignTwo

func (_m *MockIndex) ForeignTwo(_param0 imp2.Imp2)

ForeignTwo mocks base method

func (*MockIndex) Func

func (_m *MockIndex) Func(_param0 func(http.Request) (int, bool))

Func mocks base method

func (*MockIndex) Get

func (_m *MockIndex) Get(_param0 string) interface{}

Get mocks base method

func (*MockIndex) GetTwo

func (_m *MockIndex) GetTwo(_param0 string, _param1 string) (interface{}, interface{})

GetTwo mocks base method

func (*MockIndex) Map

func (_m *MockIndex) Map(_param0 map[int]hash.Hash)

Map mocks base method

func (*MockIndex) NillableRet

func (_m *MockIndex) NillableRet() error

NillableRet mocks base method

func (*MockIndex) Other

func (_m *MockIndex) Other() hash.Hash

Other mocks base method

func (*MockIndex) Ptr

func (_m *MockIndex) Ptr(_param0 *int)

Ptr mocks base method

func (*MockIndex) Put

func (_m *MockIndex) Put(_param0 string, _param1 interface{})

Put mocks base method

func (*MockIndex) Slice

func (_m *MockIndex) Slice(_param0 []int, _param1 []byte) [3]int

Slice mocks base method

func (*MockIndex) Struct

func (_m *MockIndex) Struct(_param0 struct{})

Struct mocks base method

func (*MockIndex) StructChan

func (_m *MockIndex) StructChan(_param0 chan struct{})

StructChan mocks base method

func (*MockIndex) Summary

func (_m *MockIndex) Summary(_param0 *bytes.Buffer, _param1 io.Writer)

Summary mocks base method

func (*MockIndex) Templates

func (_m *MockIndex) Templates(_param0 template.CSS, _param1 template0.FuncMap)

Templates mocks base method

type MockIndexMockRecorder

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

MockIndexMockRecorder is the mock recorder for MockIndex

func (*MockIndexMockRecorder) Anon

func (_mr *MockIndexMockRecorder) Anon(arg0 interface{}) *gomock.Call

Anon indicates an expected call of Anon

func (*MockIndexMockRecorder) Chan

func (_mr *MockIndexMockRecorder) Chan(arg0, arg1 interface{}) *gomock.Call

Chan indicates an expected call of Chan

func (*MockIndexMockRecorder) ConcreteRet

func (_mr *MockIndexMockRecorder) ConcreteRet() *gomock.Call

ConcreteRet indicates an expected call of ConcreteRet

func (*MockIndexMockRecorder) Ellip

func (_mr *MockIndexMockRecorder) Ellip(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Ellip indicates an expected call of Ellip

func (*MockIndexMockRecorder) EllipOnly

func (_mr *MockIndexMockRecorder) EllipOnly(arg0 ...interface{}) *gomock.Call

EllipOnly indicates an expected call of EllipOnly

func (*MockIndexMockRecorder) ForeignFour

func (_mr *MockIndexMockRecorder) ForeignFour(arg0 interface{}) *gomock.Call

ForeignFour indicates an expected call of ForeignFour

func (*MockIndexMockRecorder) ForeignOne

func (_mr *MockIndexMockRecorder) ForeignOne(arg0 interface{}) *gomock.Call

ForeignOne indicates an expected call of ForeignOne

func (*MockIndexMockRecorder) ForeignThree

func (_mr *MockIndexMockRecorder) ForeignThree(arg0 interface{}) *gomock.Call

ForeignThree indicates an expected call of ForeignThree

func (*MockIndexMockRecorder) ForeignTwo

func (_mr *MockIndexMockRecorder) ForeignTwo(arg0 interface{}) *gomock.Call

ForeignTwo indicates an expected call of ForeignTwo

func (*MockIndexMockRecorder) Func

func (_mr *MockIndexMockRecorder) Func(arg0 interface{}) *gomock.Call

Func indicates an expected call of Func

func (*MockIndexMockRecorder) Get

func (_mr *MockIndexMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockIndexMockRecorder) GetTwo

func (_mr *MockIndexMockRecorder) GetTwo(arg0, arg1 interface{}) *gomock.Call

GetTwo indicates an expected call of GetTwo

func (*MockIndexMockRecorder) Map

func (_mr *MockIndexMockRecorder) Map(arg0 interface{}) *gomock.Call

Map indicates an expected call of Map

func (*MockIndexMockRecorder) NillableRet

func (_mr *MockIndexMockRecorder) NillableRet() *gomock.Call

NillableRet indicates an expected call of NillableRet

func (*MockIndexMockRecorder) Other

func (_mr *MockIndexMockRecorder) Other() *gomock.Call

Other indicates an expected call of Other

func (*MockIndexMockRecorder) Ptr

func (_mr *MockIndexMockRecorder) Ptr(arg0 interface{}) *gomock.Call

Ptr indicates an expected call of Ptr

func (*MockIndexMockRecorder) Put

func (_mr *MockIndexMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockIndexMockRecorder) Slice

func (_mr *MockIndexMockRecorder) Slice(arg0, arg1 interface{}) *gomock.Call

Slice indicates an expected call of Slice

func (*MockIndexMockRecorder) Struct

func (_mr *MockIndexMockRecorder) Struct(arg0 interface{}) *gomock.Call

Struct indicates an expected call of Struct

func (*MockIndexMockRecorder) StructChan

func (_mr *MockIndexMockRecorder) StructChan(arg0 interface{}) *gomock.Call

StructChan indicates an expected call of StructChan

func (*MockIndexMockRecorder) Summary

func (_mr *MockIndexMockRecorder) Summary(arg0, arg1 interface{}) *gomock.Call

Summary indicates an expected call of Summary

func (*MockIndexMockRecorder) Templates

func (_mr *MockIndexMockRecorder) Templates(arg0, arg1 interface{}) *gomock.Call

Templates indicates an expected call of Templates

Jump to

Keyboard shortcuts

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