mocks

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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