mock_gomock

package
v0.0.0-...-6215f49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package tdd is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

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

func (*A) IsOne

func (self *A) IsOne() bool

type Inf

type Inf interface {
	Bar() int
	IsGood(name string) bool
	IsOldPerson(p *People) bool
}

type MockInf

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

MockInf is a mock of Inf interface.

func NewMockInf

func NewMockInf(ctrl *gomock.Controller) *MockInf

NewMockInf creates a new mock instance.

func (*MockInf) Bar

func (m *MockInf) Bar() int

Bar mocks base method.

func (*MockInf) EXPECT

func (m *MockInf) EXPECT() *MockInfMockRecorder

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

func (*MockInf) IsGood

func (m *MockInf) IsGood(name string) bool

IsGood mocks base method.

func (*MockInf) IsOldPerson

func (m *MockInf) IsOldPerson(p *People) bool

IsOldPerson mocks base method.

type MockInfMockRecorder

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

MockInfMockRecorder is the mock recorder for MockInf.

func (*MockInfMockRecorder) Bar

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

Bar indicates an expected call of Bar.

func (*MockInfMockRecorder) IsGood

func (mr *MockInfMockRecorder) IsGood(name interface{}) *gomock.Call

IsGood indicates an expected call of IsGood.

func (*MockInfMockRecorder) IsOldPerson

func (mr *MockInfMockRecorder) IsOldPerson(p interface{}) *gomock.Call

IsOldPerson indicates an expected call of IsOldPerson.

type People

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL