test

package
v1.30.0-dexcom-api-v2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider added in v1.27.0

type Provider struct {
	VersionReporterInvocations int
	VersionReporterStub        func() version.Reporter
	VersionReporterOutputs     []version.Reporter
	VersionReporterOutput      *version.Reporter
	ConfigReporterInvocations  int
	ConfigReporterStub         func() config.Reporter
	ConfigReporterOutputs      []config.Reporter
	ConfigReporterOutput       *config.Reporter
	LoggerInvocations          int
	LoggerStub                 func() log.Logger
	LoggerOutputs              []log.Logger
	LoggerOutput               *log.Logger
	PrefixInvocations          int
	PrefixStub                 func() string
	PrefixOutputs              []string
	PrefixOutput               *string
	NameInvocations            int
	NameStub                   func() string
	NameOutputs                []string
	NameOutput                 *string
	UserAgentInvocations       int
	UserAgentStub              func() string
	UserAgentOutputs           []string
	UserAgentOutput            *string
}

func NewProvider added in v1.27.0

func NewProvider() *Provider

func NewProviderWithDefaults added in v1.27.0

func NewProviderWithDefaults() *Provider

func (*Provider) AssertOutputsEmpty added in v1.27.0

func (p *Provider) AssertOutputsEmpty()

func (*Provider) ConfigReporter added in v1.27.0

func (p *Provider) ConfigReporter() config.Reporter

func (*Provider) Logger added in v1.27.0

func (p *Provider) Logger() log.Logger

func (*Provider) Name added in v1.27.0

func (p *Provider) Name() string

func (*Provider) Prefix added in v1.27.0

func (p *Provider) Prefix() string

func (*Provider) UserAgent added in v1.27.0

func (p *Provider) UserAgent() string

func (*Provider) VersionReporter added in v1.27.0

func (p *Provider) VersionReporter() version.Reporter

type Runner

type Runner struct {
	InitializeInvocations int
	InitializeInputs      []application.Provider
	InitializeStub        func(provider application.Provider) error
	InitializeOutputs     []error
	InitializeOutput      *error
	TerminateInvocations  int
	TerminateStub         func()
	RunInvocations        int
	RunStub               func() error
	RunOutputs            []error
	RunOutput             *error
}

func NewRunner

func NewRunner() *Runner

func (*Runner) AssertOutputsEmpty added in v1.27.0

func (r *Runner) AssertOutputsEmpty()

func (*Runner) Initialize

func (r *Runner) Initialize(provider application.Provider) error

func (*Runner) Run

func (r *Runner) Run() error

func (*Runner) Terminate

func (r *Runner) Terminate()

Jump to

Keyboard shortcuts

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