mock_ensurefile

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ensurefile is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoaderIface

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

MockLoaderIface is a mock of the LoaderIface interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/ensurefile.

func NewMockLoaderIface

func NewMockLoaderIface(ctrl *gomock.Controller) *MockLoaderIface

NewMockLoaderIface creates a new mock instance.

func (*MockLoaderIface) EXPECT

EXPECT returns a struct that allows setting up expectations.

func (*MockLoaderIface) LoadConfig

func (m *MockLoaderIface) LoadConfig(_pwd string) (*ensurefile.Config, error)

LoadConfig mocks LoadConfig on LoaderIface.

func (*MockLoaderIface) NEW

NEW creates a MockLoaderIface. This method is used internally by ensure.

type MockLoaderIfaceMockRecorder

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

MockLoaderIfaceMockRecorder is the mock recorder for MockLoaderIface.

func (*MockLoaderIfaceMockRecorder) LoadConfig

func (mr *MockLoaderIfaceMockRecorder) LoadConfig(_pwd interface{}) *gomock.Call

LoadConfig sets up expectations for calls to LoadConfig. Calling this method multiple times allows expecting multiple calls to LoadConfig with a variety of parameters.

Inputs:

pwd string

Outputs:

*ensurefile.Config
error

Jump to

Keyboard shortcuts

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