mock_dependencies

package
v1.44.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistryKey

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

Mock of RegistryKey interface

func NewMockRegistryKey

func NewMockRegistryKey(ctrl *gomock.Controller) *MockRegistryKey

func (*MockRegistryKey) Close

func (_m *MockRegistryKey) Close() error

func (*MockRegistryKey) EXPECT

func (_m *MockRegistryKey) EXPECT() *_MockRegistryKeyRecorder

func (*MockRegistryKey) GetStringValue

func (_m *MockRegistryKey) GetStringValue(_param0 string) (string, uint32, error)

func (*MockRegistryKey) SetStringValue

func (_m *MockRegistryKey) SetStringValue(_param0 string, _param1 string) error

type MockWindowsRegistry

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

Mock of WindowsRegistry interface

func NewMockWindowsRegistry

func NewMockWindowsRegistry(ctrl *gomock.Controller) *MockWindowsRegistry

func (*MockWindowsRegistry) CreateKey

func (_m *MockWindowsRegistry) CreateKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, bool, error)

func (*MockWindowsRegistry) EXPECT

func (_m *MockWindowsRegistry) EXPECT() *_MockWindowsRegistryRecorder

func (*MockWindowsRegistry) OpenKey

func (_m *MockWindowsRegistry) OpenKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, error)

Jump to

Keyboard shortcuts

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