mock

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegexpRepository

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

MockRegexpRepository is a mock of RegexpRepository interface

func NewMockRegexpRepository

func NewMockRegexpRepository(ctrl *gomock.Controller) *MockRegexpRepository

NewMockRegexpRepository creates a new mock instance

func (*MockRegexpRepository) CompilePatterns

func (m *MockRegexpRepository) CompilePatterns(patterns []string) error

CompilePatterns mocks base method

func (*MockRegexpRepository) EXPECT

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

func (*MockRegexpRepository) MatchAny

func (m *MockRegexpRepository) MatchAny(path string) bool

MatchAny mocks base method

type MockRegexpRepositoryMockRecorder

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

MockRegexpRepositoryMockRecorder is the mock recorder for MockRegexpRepository

func (*MockRegexpRepositoryMockRecorder) CompilePatterns

func (mr *MockRegexpRepositoryMockRecorder) CompilePatterns(patterns interface{}) *gomock.Call

CompilePatterns indicates an expected call of CompilePatterns

func (*MockRegexpRepositoryMockRecorder) MatchAny

func (mr *MockRegexpRepositoryMockRecorder) MatchAny(path interface{}) *gomock.Call

MatchAny indicates an expected call of MatchAny

type MockUseCase

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

MockUseCase is a mock of UseCase interface

func NewMockUseCase

func NewMockUseCase(ctrl *gomock.Controller) *MockUseCase

NewMockUseCase creates a new mock instance

func (*MockUseCase) EXPECT

func (m *MockUseCase) EXPECT() *MockUseCaseMockRecorder

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

func (*MockUseCase) LoadFiles

func (m *MockUseCase) LoadFiles(paths, ignorePatterns []string) (*generator.Entity, error)

LoadFiles mocks base method

type MockUseCaseMockRecorder

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

MockUseCaseMockRecorder is the mock recorder for MockUseCase

func (*MockUseCaseMockRecorder) LoadFiles

func (mr *MockUseCaseMockRecorder) LoadFiles(paths, ignorePatterns interface{}) *gomock.Call

LoadFiles indicates an expected call of LoadFiles

Jump to

Keyboard shortcuts

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