mocks

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 5 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) NewLogger added in v0.4.13

func (mock *MockSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *logging.SimpleLogger

func (*MockSimpleLogging) Underlying

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

func (*MockSimpleLogging) VerifyWasCalled

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

func (*MockSimpleLogging) VerifyWasCalledEventually added in v0.4.13

func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *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_NewLogger_OngoingVerification added in v0.4.13

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

func (*SimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments added in v0.4.13

func (c *SimpleLogging_NewLogger_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []bool, _param2 []logging.LogLevel)

func (*SimpleLogging_NewLogger_OngoingVerification) GetCapturedArguments added in v0.4.13

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) NewLogger added in v0.4.13

func (verifier *VerifierSimpleLogging) NewLogger(_param0 string, _param1 bool, _param2 logging.LogLevel) *SimpleLogging_NewLogger_OngoingVerification

func (*VerifierSimpleLogging) Underlying

func (*VerifierSimpleLogging) Warn

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

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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