mock: github.com/golang/mock/sample/mock_user Index | Files

package mock_sample

import "github.com/golang/mock/sample/mock_user"

Package mock_sample is a generated GoMock package.

Index

Package Files

mock_user.go

type MockEmbed Uses

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

MockEmbed is a mock of Embed interface

func NewMockEmbed Uses

func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed

NewMockEmbed creates a new mock instance

func (*MockEmbed) EXPECT Uses

func (m *MockEmbed) EXPECT() *MockEmbedMockRecorder

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

func (*MockEmbed) EmbeddedMethod Uses

func (m *MockEmbed) EmbeddedMethod()

EmbeddedMethod mocks base method

func (*MockEmbed) ForeignEmbeddedMethod Uses

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

ForeignEmbeddedMethod mocks base method

func (*MockEmbed) ImplicitPackage Uses

func (m *MockEmbed) ImplicitPackage(arg0 string, arg1 imp1.ImpT, arg2 []imp1.ImpT, arg3 *imp1.ImpT, arg4 chan imp1.ImpT)

ImplicitPackage mocks base method

func (*MockEmbed) RegularMethod Uses

func (m *MockEmbed) RegularMethod()

RegularMethod mocks base method

type MockEmbedMockRecorder Uses

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

MockEmbedMockRecorder is the mock recorder for MockEmbed

func (*MockEmbedMockRecorder) EmbeddedMethod Uses

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

EmbeddedMethod indicates an expected call of EmbeddedMethod

func (*MockEmbedMockRecorder) ForeignEmbeddedMethod Uses

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

ForeignEmbeddedMethod indicates an expected call of ForeignEmbeddedMethod

func (*MockEmbedMockRecorder) ImplicitPackage Uses

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

ImplicitPackage indicates an expected call of ImplicitPackage

func (*MockEmbedMockRecorder) RegularMethod Uses

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

RegularMethod indicates an expected call of RegularMethod

type MockEmbedded Uses

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

MockEmbedded is a mock of Embedded interface

func NewMockEmbedded Uses

func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded

NewMockEmbedded creates a new mock instance

func (*MockEmbedded) EXPECT Uses

func (m *MockEmbedded) EXPECT() *MockEmbeddedMockRecorder

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

func (*MockEmbedded) EmbeddedMethod Uses

func (m *MockEmbedded) EmbeddedMethod()

EmbeddedMethod mocks base method

type MockEmbeddedMockRecorder Uses

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

MockEmbeddedMockRecorder is the mock recorder for MockEmbedded

func (*MockEmbeddedMockRecorder) EmbeddedMethod Uses

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

EmbeddedMethod indicates an expected call of EmbeddedMethod

type MockIndex Uses

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

MockIndex is a mock of Index interface

func NewMockIndex Uses

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance

func (*MockIndex) Anon Uses

func (m *MockIndex) Anon(arg0 string)

Anon mocks base method

func (*MockIndex) Chan Uses

func (m *MockIndex) Chan(arg0 chan int, arg1 chan<- hash.Hash)

Chan mocks base method

func (*MockIndex) ConcreteRet Uses

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

ConcreteRet mocks base method

func (*MockIndex) EXPECT Uses

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

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

func (*MockIndex) Ellip Uses

func (m *MockIndex) Ellip(arg0 string, arg1 ...interface{})

Ellip mocks base method

func (*MockIndex) EllipOnly Uses

func (m *MockIndex) EllipOnly(arg0 ...string)

EllipOnly mocks base method

func (*MockIndex) ForeignFour Uses

func (m *MockIndex) ForeignFour(arg0 imp4.Imp4)

ForeignFour mocks base method

func (*MockIndex) ForeignOne Uses

func (m *MockIndex) ForeignOne(arg0 imp1.Imp1)

ForeignOne mocks base method

func (*MockIndex) ForeignThree Uses

func (m *MockIndex) ForeignThree(arg0 imp3.Imp3)

ForeignThree mocks base method

func (*MockIndex) ForeignTwo Uses

func (m *MockIndex) ForeignTwo(arg0 imp2.Imp2)

ForeignTwo mocks base method

func (*MockIndex) Func Uses

func (m *MockIndex) Func(arg0 func(http.Request) (int, bool))

Func mocks base method

func (*MockIndex) Get Uses

func (m *MockIndex) Get(arg0 string) interface{}

Get mocks base method

func (*MockIndex) GetTwo Uses

func (m *MockIndex) GetTwo(arg0, arg1 string) (interface{}, interface{})

GetTwo mocks base method

func (*MockIndex) Map Uses

func (m *MockIndex) Map(arg0 map[int]hash.Hash)

Map mocks base method

func (*MockIndex) NillableRet Uses

func (m *MockIndex) NillableRet() error

NillableRet mocks base method

func (*MockIndex) Other Uses

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

Other mocks base method

func (*MockIndex) Ptr Uses

func (m *MockIndex) Ptr(arg0 *int)

Ptr mocks base method

func (*MockIndex) Put Uses

func (m *MockIndex) Put(arg0 string, arg1 interface{})

Put mocks base method

func (*MockIndex) Slice Uses

func (m *MockIndex) Slice(arg0 []int, arg1 []byte) [3]int

Slice mocks base method

func (*MockIndex) Struct Uses

func (m *MockIndex) Struct(arg0 struct{})

Struct mocks base method

func (*MockIndex) StructChan Uses

func (m *MockIndex) StructChan(arg0 chan struct{})

StructChan mocks base method

func (*MockIndex) Summary Uses

func (m *MockIndex) Summary(arg0 *bytes.Buffer, arg1 io.Writer)

Summary mocks base method

func (*MockIndex) Templates Uses

func (m *MockIndex) Templates(arg0 template.CSS, arg1 template0.FuncMap)

Templates mocks base method

type MockIndexMockRecorder Uses

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

MockIndexMockRecorder is the mock recorder for MockIndex

func (*MockIndexMockRecorder) Anon Uses

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

Anon indicates an expected call of Anon

func (*MockIndexMockRecorder) Chan Uses

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

Chan indicates an expected call of Chan

func (*MockIndexMockRecorder) ConcreteRet Uses

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

ConcreteRet indicates an expected call of ConcreteRet

func (*MockIndexMockRecorder) Ellip Uses

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

Ellip indicates an expected call of Ellip

func (*MockIndexMockRecorder) EllipOnly Uses

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

EllipOnly indicates an expected call of EllipOnly

func (*MockIndexMockRecorder) ForeignFour Uses

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

ForeignFour indicates an expected call of ForeignFour

func (*MockIndexMockRecorder) ForeignOne Uses

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

ForeignOne indicates an expected call of ForeignOne

func (*MockIndexMockRecorder) ForeignThree Uses

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

ForeignThree indicates an expected call of ForeignThree

func (*MockIndexMockRecorder) ForeignTwo Uses

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

ForeignTwo indicates an expected call of ForeignTwo

func (*MockIndexMockRecorder) Func Uses

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

Func indicates an expected call of Func

func (*MockIndexMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockIndexMockRecorder) GetTwo Uses

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

GetTwo indicates an expected call of GetTwo

func (*MockIndexMockRecorder) Map Uses

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

Map indicates an expected call of Map

func (*MockIndexMockRecorder) NillableRet Uses

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

NillableRet indicates an expected call of NillableRet

func (*MockIndexMockRecorder) Other Uses

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

Other indicates an expected call of Other

func (*MockIndexMockRecorder) Ptr Uses

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

Ptr indicates an expected call of Ptr

func (*MockIndexMockRecorder) Put Uses

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

Put indicates an expected call of Put

func (*MockIndexMockRecorder) Slice Uses

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

Slice indicates an expected call of Slice

func (*MockIndexMockRecorder) Struct Uses

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

Struct indicates an expected call of Struct

func (*MockIndexMockRecorder) StructChan Uses

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

StructChan indicates an expected call of StructChan

func (*MockIndexMockRecorder) Summary Uses

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

Summary indicates an expected call of Summary

func (*MockIndexMockRecorder) Templates Uses

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

Templates indicates an expected call of Templates

Package mock_sample imports 13 packages (graph). Updated 2018-12-11. Refresh now. Tools for package owners.