tests

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommonImpl

type MockCommonImpl struct {
	mock.Mock
}

MockCommonImpl is a mock of common.CommonImpl. All the methods are mocked using testify's mocking library.

func NewMockCommonImpl

func NewMockCommonImpl() *MockCommonImpl

New returns a pointer to a newly created struct. We return the pointer because we want to make sure the methods on mock.Mock stay accessible, e.g. m.On()

func (*MockCommonImpl) Hostname

func (m *MockCommonImpl) Hostname() string

type MockGCSClient

type MockGCSClient struct {
	mockgcsclient.MockGCSClient
}

func NewMockGCSClient

func NewMockGCSClient() *MockGCSClient

func (*MockGCSClient) DeleteAllFilesInFolder

func (m *MockGCSClient) DeleteAllFilesInFolder(folder string, processes int) error

func (*MockGCSClient) DownloadAllFuzzes

func (m *MockGCSClient) DownloadAllFuzzes(downloadToPath, category, revision, architecture, fuzzType string, processes int) ([]string, error)

func (*MockGCSClient) GetAllFuzzNamesInFolder

func (m *MockGCSClient) GetAllFuzzNamesInFolder(name string) ([]string, error)

Jump to

Keyboard shortcuts

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