mock_mockwrite

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_mockwrite is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWritable

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

MockWritable is a mock of the Writable interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/mockwrite.

func NewMockWritable

func NewMockWritable(ctrl *gomock.Controller) *MockWritable

NewMockWritable creates a new mock instance.

func (*MockWritable) EXPECT

EXPECT returns a struct that allows setting up expectations.

func (*MockWritable) NEW

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

func (*MockWritable) TidyMocks

func (m *MockWritable) TidyMocks(_config *ensurefile.Config, _packages []*ifacereader.Package) error

TidyMocks mocks TidyMocks on Writable.

func (*MockWritable) WriteMocks

func (m *MockWritable) WriteMocks(_config *ensurefile.Config, _mocks []*mockgen.PackageMock) error

WriteMocks mocks WriteMocks on Writable.

type MockWritableMockRecorder

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

MockWritableMockRecorder is the mock recorder for MockWritable.

func (*MockWritableMockRecorder) TidyMocks

func (mr *MockWritableMockRecorder) TidyMocks(_config interface{}, _packages interface{}) *gomock.Call

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

Inputs:

config *ensurefile.Config
packages []*ifacereader.Package

Outputs:

error

func (*MockWritableMockRecorder) WriteMocks

func (mr *MockWritableMockRecorder) WriteMocks(_config interface{}, _mocks interface{}) *gomock.Call

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

Inputs:

config *ensurefile.Config
mocks []*mockgen.PackageMock

Outputs:

error

Jump to

Keyboard shortcuts

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