mock_sample - ActiveState ActiveGo 1.8
...

Package mock_sample

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

Overview ▾

Index ▾

type MockEmbed
    func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed
    func (_m *MockEmbed) EXPECT() *MockEmbedMockRecorder
    func (_m *MockEmbed) EmbeddedMethod()
    func (_m *MockEmbed) ForeignEmbeddedMethod() *bufio.Reader
    func (_m *MockEmbed) ImplicitPackage(_param0 string, _param1 imp1.ImpT, _param2 []imp1.ImpT, _param3 *imp1.ImpT, _param4 chan imp1.ImpT)
    func (_m *MockEmbed) RegularMethod()
type MockEmbedMockRecorder
    func (_mr *MockEmbedMockRecorder) EmbeddedMethod() *gomock.Call
    func (_mr *MockEmbedMockRecorder) ForeignEmbeddedMethod() *gomock.Call
    func (_mr *MockEmbedMockRecorder) ImplicitPackage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
    func (_mr *MockEmbedMockRecorder) RegularMethod() *gomock.Call
type MockEmbedded
    func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded
    func (_m *MockEmbedded) EXPECT() *MockEmbeddedMockRecorder
    func (_m *MockEmbedded) EmbeddedMethod()
type MockEmbeddedMockRecorder
    func (_mr *MockEmbeddedMockRecorder) EmbeddedMethod() *gomock.Call
type MockIndex
    func NewMockIndex(ctrl *gomock.Controller) *MockIndex
    func (_m *MockIndex) Anon(_param0 string)
    func (_m *MockIndex) Chan(_param0 chan int, _param1 chan<- hash.Hash)
    func (_m *MockIndex) ConcreteRet() chan<- bool
    func (_m *MockIndex) EXPECT() *MockIndexMockRecorder
    func (_m *MockIndex) Ellip(_param0 string, _param1 ...interface{})
    func (_m *MockIndex) EllipOnly(_param0 ...string)
    func (_m *MockIndex) ForeignFour(_param0 imp4.Imp4)
    func (_m *MockIndex) ForeignOne(_param0 imp1.Imp1)
    func (_m *MockIndex) ForeignThree(_param0 imp3.Imp3)
    func (_m *MockIndex) ForeignTwo(_param0 imp2.Imp2)
    func (_m *MockIndex) Func(_param0 func(http.Request) (int, bool))
    func (_m *MockIndex) Get(_param0 string) interface{}
    func (_m *MockIndex) GetTwo(_param0 string, _param1 string) (interface{}, interface{})
    func (_m *MockIndex) Map(_param0 map[int]hash.Hash)
    func (_m *MockIndex) NillableRet() error
    func (_m *MockIndex) Other() hash.Hash
    func (_m *MockIndex) Ptr(_param0 *int)
    func (_m *MockIndex) Put(_param0 string, _param1 interface{})
    func (_m *MockIndex) Slice(_param0 []int, _param1 []byte) [3]int
    func (_m *MockIndex) Struct(_param0 struct{})
    func (_m *MockIndex) StructChan(_param0 chan struct{})
    func (_m *MockIndex) Summary(_param0 *bytes.Buffer, _param1 io.Writer)
    func (_m *MockIndex) Templates(_param0 template.CSS, _param1 template0.FuncMap)
type MockIndexMockRecorder
    func (_mr *MockIndexMockRecorder) Anon(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Chan(arg0, arg1 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) ConcreteRet() *gomock.Call
    func (_mr *MockIndexMockRecorder) Ellip(arg0 interface{}, arg1 ...interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) EllipOnly(arg0 ...interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) ForeignFour(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) ForeignOne(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) ForeignThree(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) ForeignTwo(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Func(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Get(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) GetTwo(arg0, arg1 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Map(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) NillableRet() *gomock.Call
    func (_mr *MockIndexMockRecorder) Other() *gomock.Call
    func (_mr *MockIndexMockRecorder) Ptr(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Slice(arg0, arg1 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Struct(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) StructChan(arg0 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Summary(arg0, arg1 interface{}) *gomock.Call
    func (_mr *MockIndexMockRecorder) Templates(arg0, arg1 interface{}) *gomock.Call

Package files

mock_user.go

type MockEmbed

MockEmbed is a mock of Embed interface

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

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

MockEmbedMockRecorder is the mock recorder for MockEmbed

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

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

MockEmbedded is a mock of Embedded interface

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

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

MockEmbeddedMockRecorder is the mock recorder for MockEmbedded

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

func (*MockEmbeddedMockRecorder) EmbeddedMethod

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

EmbeddedMethod indicates an expected call of EmbeddedMethod

type MockIndex

MockIndex is a mock of Index interface

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

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

MockIndexMockRecorder is the mock recorder for MockIndex

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

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