test

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package test is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOSContext

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

MockOSContext is a mock of OSContext interface

func NewMockOSContext

func NewMockOSContext(ctrl *gomock.Controller) *MockOSContext

NewMockOSContext creates a new mock instance

func (*MockOSContext) EXPECT

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

func (*MockOSContext) GetHomeDir

func (m *MockOSContext) GetHomeDir() (string, error)

GetHomeDir mocks base method

func (*MockOSContext) RunCommand

func (m *MockOSContext) RunCommand(name string, args ...string) (bytes.Buffer, error)

RunCommand mocks base method

func (*MockOSContext) RunCommandBytes

func (m *MockOSContext) RunCommandBytes(name string, args ...string) ([]byte, error)

RunCommandBytes mocks base method

func (*MockOSContext) RunCommandString

func (m *MockOSContext) RunCommandString(name string, args ...string) (string, error)

RunCommandString mocks base method

type MockOSContextMockRecorder

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

MockOSContextMockRecorder is the mock recorder for MockOSContext

func (*MockOSContextMockRecorder) GetHomeDir

func (mr *MockOSContextMockRecorder) GetHomeDir() *gomock.Call

GetHomeDir indicates an expected call of GetHomeDir

func (*MockOSContextMockRecorder) RunCommand

func (mr *MockOSContextMockRecorder) RunCommand(name interface{}, args ...interface{}) *gomock.Call

RunCommand indicates an expected call of RunCommand

func (*MockOSContextMockRecorder) RunCommandBytes

func (mr *MockOSContextMockRecorder) RunCommandBytes(name interface{}, args ...interface{}) *gomock.Call

RunCommandBytes indicates an expected call of RunCommandBytes

func (*MockOSContextMockRecorder) RunCommandString

func (mr *MockOSContextMockRecorder) RunCommandString(name interface{}, args ...interface{}) *gomock.Call

RunCommandString indicates an expected call of RunCommandString

Jump to

Keyboard shortcuts

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