Back to godoc.org

Package mock_sample

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Overview

Package mock_sample is a generated GoMock package.

Index

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(arg0 string, arg1 imp1.ImpT, arg2 []imp1.ImpT, arg3 *imp1.ImpT, arg4 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(arg0 string)

Anon mocks base method

func (*MockIndex) Chan

func (m *MockIndex) Chan(arg0 chan int, arg1 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(arg0 string, arg1 ...interface{})

Ellip mocks base method

func (*MockIndex) EllipOnly

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

EllipOnly mocks base method

func (*MockIndex) ForeignFour

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

ForeignFour mocks base method

func (*MockIndex) ForeignOne

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

ForeignOne mocks base method

func (*MockIndex) ForeignThree

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

ForeignThree mocks base method

func (*MockIndex) ForeignTwo

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

ForeignTwo mocks base method

func (*MockIndex) Func

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

Func mocks base method

func (*MockIndex) Get

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

Get mocks base method

func (*MockIndex) GetTwo

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

GetTwo mocks base method

func (*MockIndex) Map

func (m *MockIndex) Map(arg0 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(arg0 *int)

Ptr mocks base method

func (*MockIndex) Put

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

Put mocks base method

func (*MockIndex) Slice

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

Slice mocks base method

func (*MockIndex) Struct

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

Struct mocks base method

func (*MockIndex) StructChan

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

StructChan mocks base method

func (*MockIndex) Summary

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

Summary mocks base method

func (*MockIndex) Templates

func (m *MockIndex) Templates(arg0 template.CSS, arg1 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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier