mock_ifacereader

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_ifacereader is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockReadable

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

MockReadable is a mock of the Readable interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/ifacereader.

func NewMockReadable

func NewMockReadable(ctrl *gomock.Controller) *MockReadable

NewMockReadable creates a new mock instance.

func (*MockReadable) EXPECT

EXPECT returns a struct that allows setting up expectations.

func (*MockReadable) NEW

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

func (*MockReadable) ReadPackages

func (m *MockReadable) ReadPackages(_pkgDetails []*ifacereader.PackageDetails, _pkgNameGen ifacereader.PackageNameGenerator) ([]*ifacereader.Package, error)

ReadPackages mocks ReadPackages on Readable.

type MockReadableMockRecorder

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

MockReadableMockRecorder is the mock recorder for MockReadable.

func (*MockReadableMockRecorder) ReadPackages

func (mr *MockReadableMockRecorder) ReadPackages(_pkgDetails interface{}, _pkgNameGen interface{}) *gomock.Call

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

Inputs:

pkgDetails []*ifacereader.PackageDetails
pkgNameGen ifacereader.PackageNameGenerator

Outputs:

[]*ifacereader.Package
error

Jump to

Keyboard shortcuts

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