diffreviewer_mock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package diffreviewer_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffReviewer

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

DiffReviewer is a mock of DiffReviewer interface

func NewDiffReviewer

func NewDiffReviewer(ctrl *gomock.Controller) *DiffReviewer

NewDiffReviewer creates a new mock instance

func (*DiffReviewer) EXPECT

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

func (*DiffReviewer) GetDiff

func (m *DiffReviewer) GetDiff() ([]*diffreviewer.FileDiff, error)

GetDiff mocks base method

func (*DiffReviewer) GetLogger

func (m *DiffReviewer) GetLogger() logger.Logger

GetLogger mocks base method

func (*DiffReviewer) LoadConfig

func (m *DiffReviewer) LoadConfig(nightfallConfigFileName string) (*nightfallconfig.Config, error)

LoadConfig mocks base method

func (*DiffReviewer) WriteComments

func (m *DiffReviewer) WriteComments(comments []*diffreviewer.Comment) error

WriteComments mocks base method

type DiffReviewerMockRecorder

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

DiffReviewerMockRecorder is the mock recorder for DiffReviewer

func (*DiffReviewerMockRecorder) GetDiff

func (mr *DiffReviewerMockRecorder) GetDiff() *gomock.Call

GetDiff indicates an expected call of GetDiff

func (*DiffReviewerMockRecorder) GetLogger

func (mr *DiffReviewerMockRecorder) GetLogger() *gomock.Call

GetLogger indicates an expected call of GetLogger

func (*DiffReviewerMockRecorder) LoadConfig

func (mr *DiffReviewerMockRecorder) LoadConfig(nightfallConfigFileName interface{}) *gomock.Call

LoadConfig indicates an expected call of LoadConfig

func (*DiffReviewerMockRecorder) WriteComments

func (mr *DiffReviewerMockRecorder) WriteComments(comments interface{}) *gomock.Call

WriteComments indicates an expected call of WriteComments

Jump to

Keyboard shortcuts

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