mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APMMock

type APMMock struct {
	mock.Mock
}

func (*APMMock) Channel

func (am *APMMock) Channel() apmz.TelemetryChannel

func (*APMMock) Track

func (am *APMMock) Track(telemetry apmz.Telemetry)

type PrinterMock

type PrinterMock struct {
	mock.Mock
}

func (*PrinterMock) ErrPrintf

func (pm *PrinterMock) ErrPrintf(format string, args ...interface{})

func (*PrinterMock) Print

func (pm *PrinterMock) Print(obj interface{}) error

func (*PrinterMock) Printf

func (pm *PrinterMock) Printf(format string, args ...interface{})

type ServiceMock

type ServiceMock struct {
	mock.Mock
	Printer *PrinterMock
	APM     *APMMock
}

func (*ServiceMock) GetAPMer

func (sm *ServiceMock) GetAPMer() (service.APMer, error)

func (*ServiceMock) GetKey

func (sm *ServiceMock) GetKey() string

func (*ServiceMock) GetPrinter

func (sm *ServiceMock) GetPrinter() format.Printer

Directories

Path Synopsis
Code generated for package bash_test by go-bindata DO NOT EDIT.
Code generated for package bash_test by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

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