package const_length
import "github.com/golang/mock/mockgen/internal/tests/const_array_length"
Package const_length is a generated GoMock package.
Index ¶
- Constants
- type I
- type MockI
- func NewMockI(ctrl *gomock.Controller) *MockI
- func (m *MockI) Bar() [2]int
- func (m *MockI) Baz() [127]int
- func (m *MockI) Corge() [7]int
- func (m *MockI) EXPECT() *MockIMockRecorder
- func (m *MockI) Foo() [2]int
- func (m *MockI) Quux() [3]int
- func (m *MockI) Qux() [3]int
- type MockIMockRecorder
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 ¶
Bar mocks base method.
func (*MockI) Baz ¶
Baz mocks base method.
func (*MockI) Corge ¶
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 ¶
Foo mocks base method.
func (*MockI) Quux ¶
Quux mocks base method.
func (*MockI) Qux ¶
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 ¶
- Version
- v1.7.0-rc.1
- Published
- May 12, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 hours ago –
Tools for package owners.