testmock

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package testmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnv

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

MockEnv is a mock of Env interface

func NewMockEnv

func NewMockEnv(ctrl *gomock.Controller) *MockEnv

NewMockEnv creates a new mock instance

func (*MockEnv) AddEnvDir

func (m *MockEnv) AddEnvDir(arg0 string) error

AddEnvDir mocks base method

func (*MockEnv) AddRootDir

func (m *MockEnv) AddRootDir(arg0 string) error

AddRootDir mocks base method

func (*MockEnv) EXPECT

func (m *MockEnv) EXPECT() *MockEnvMockRecorder

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

func (*MockEnv) Get

func (m *MockEnv) Get(arg0 string) string

Get mocks base method

func (*MockEnv) List

func (m *MockEnv) List() []string

List mocks base method

type MockEnvMockRecorder

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

MockEnvMockRecorder is the mock recorder for MockEnv

func (*MockEnvMockRecorder) AddEnvDir

func (mr *MockEnvMockRecorder) AddEnvDir(arg0 interface{}) *gomock.Call

AddEnvDir indicates an expected call of AddEnvDir

func (*MockEnvMockRecorder) AddRootDir

func (mr *MockEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call

AddRootDir indicates an expected call of AddRootDir

func (*MockEnvMockRecorder) Get

func (mr *MockEnvMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockEnvMockRecorder) List

func (mr *MockEnvMockRecorder) List() *gomock.Call

List indicates an expected call of List

Jump to

Keyboard shortcuts

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