package const_length

import "github.com/golang/mock/mockgen/internal/tests/const_array_length"

Package const_length is a generated GoMock package.

Index

Constants

const C = 2

Types

type I

type I interface {
	Foo() [C]int
	Bar() [2]int
	Baz() [math.MaxInt8]int
	Qux() [1 + 2]int
	Quux() [(1 + 2)]int
	Corge() [math.MaxInt8 - 120]int
}

type MockI

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

MockI is a mock of I interface.

func NewMockI

func NewMockI(ctrl *gomock.Controller) *MockI

NewMockI creates a new mock instance.

func (*MockI) Bar

func (m *MockI) Bar() [2]int

Bar mocks base method.

func (*MockI) Baz

func (m *MockI) Baz() [127]int

Baz mocks base method.

func (*MockI) Corge

func (m *MockI) Corge() [7]int

Corge mocks base method.

func (*MockI) EXPECT

func (m *MockI) EXPECT() *MockIMockRecorder

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

func (*MockI) Foo

func (m *MockI) Foo() [2]int

Foo mocks base method.

func (*MockI) Quux

func (m *MockI) Quux() [3]int

Quux mocks base method.

func (*MockI) Qux

func (m *MockI) Qux() [3]int

Qux mocks base method.

type MockIMockRecorder

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

MockIMockRecorder is the mock recorder for MockI.

func (*MockIMockRecorder) Bar

func (mr *MockIMockRecorder) Bar() *gomock.Call

Bar indicates an expected call of Bar.

func (*MockIMockRecorder) Baz

func (mr *MockIMockRecorder) Baz() *gomock.Call

Baz indicates an expected call of Baz.

func (*MockIMockRecorder) Corge

func (mr *MockIMockRecorder) Corge() *gomock.Call

Corge indicates an expected call of Corge.

func (*MockIMockRecorder) Foo

func (mr *MockIMockRecorder) Foo() *gomock.Call

Foo indicates an expected call of Foo.

func (*MockIMockRecorder) Quux

func (mr *MockIMockRecorder) Quux() *gomock.Call

Quux indicates an expected call of Quux.

func (*MockIMockRecorder) Qux

func (mr *MockIMockRecorder) Qux() *gomock.Call

Qux indicates an expected call of Qux.

Source Files

input.go mock.go

Version
v1.7.0-rc.1
Published
May 12, 2022
Platform
windows/amd64
Imports
3 packages
Last checked
4 minutes ago

Tools for package owners.