mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSimpleLogging

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

func NewMockSimpleLogging

func NewMockSimpleLogging() *MockSimpleLogging

func (*MockSimpleLogging) Debug

func (mock *MockSimpleLogging) Debug(format string, a ...interface{})

func (*MockSimpleLogging) Err

func (mock *MockSimpleLogging) Err(format string, a ...interface{})

func (*MockSimpleLogging) GetLevel

func (mock *MockSimpleLogging) GetLevel() logging.LogLevel

func (*MockSimpleLogging) Info

func (mock *MockSimpleLogging) Info(format string, a ...interface{})

func (*MockSimpleLogging) Log

func (mock *MockSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{})

func (*MockSimpleLogging) Underlying

func (mock *MockSimpleLogging) Underlying() *log.Logger

func (*MockSimpleLogging) VerifyWasCalled

func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierSimpleLogging

func (*MockSimpleLogging) VerifyWasCalledInOrder

func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierSimpleLogging

func (*MockSimpleLogging) VerifyWasCalledOnce

func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierSimpleLogging

func (*MockSimpleLogging) Warn

func (mock *MockSimpleLogging) Warn(format string, a ...interface{})

type SimpleLogging_Debug_OngoingVerification

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

func (*SimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*SimpleLogging_Debug_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Debug_OngoingVerification) GetCapturedArguments() (string, []interface{})

type SimpleLogging_Err_OngoingVerification

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

func (*SimpleLogging_Err_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Err_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*SimpleLogging_Err_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Err_OngoingVerification) GetCapturedArguments() (string, []interface{})

type SimpleLogging_GetLevel_OngoingVerification

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

func (*SimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_GetLevel_OngoingVerification) GetAllCapturedArguments()

func (*SimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_GetLevel_OngoingVerification) GetCapturedArguments()

type SimpleLogging_Info_OngoingVerification

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

func (*SimpleLogging_Info_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Info_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*SimpleLogging_Info_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Info_OngoingVerification) GetCapturedArguments() (string, []interface{})

type SimpleLogging_Log_OngoingVerification

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

func (*SimpleLogging_Log_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Log_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel, _param1 []string, _param2 [][]interface{})

func (*SimpleLogging_Log_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Log_OngoingVerification) GetCapturedArguments() (logging.LogLevel, string, []interface{})

type SimpleLogging_Underlying_OngoingVerification

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

func (*SimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Underlying_OngoingVerification) GetAllCapturedArguments()

func (*SimpleLogging_Underlying_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Underlying_OngoingVerification) GetCapturedArguments()

type SimpleLogging_Warn_OngoingVerification

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

func (*SimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments

func (c *SimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*SimpleLogging_Warn_OngoingVerification) GetCapturedArguments

func (c *SimpleLogging_Warn_OngoingVerification) GetCapturedArguments() (string, []interface{})

type VerifierSimpleLogging

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

func (*VerifierSimpleLogging) Debug

func (verifier *VerifierSimpleLogging) Debug(format string, a ...interface{}) *SimpleLogging_Debug_OngoingVerification

func (*VerifierSimpleLogging) Err

func (verifier *VerifierSimpleLogging) Err(format string, a ...interface{}) *SimpleLogging_Err_OngoingVerification

func (*VerifierSimpleLogging) GetLevel

func (*VerifierSimpleLogging) Info

func (verifier *VerifierSimpleLogging) Info(format string, a ...interface{}) *SimpleLogging_Info_OngoingVerification

func (*VerifierSimpleLogging) Log

func (verifier *VerifierSimpleLogging) Log(level logging.LogLevel, format string, a ...interface{}) *SimpleLogging_Log_OngoingVerification

func (*VerifierSimpleLogging) Underlying

func (*VerifierSimpleLogging) Warn

func (verifier *VerifierSimpleLogging) Warn(format string, a ...interface{}) *SimpleLogging_Warn_OngoingVerification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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