Documentation ¶
Index ¶
- type MockParserInterface
- type MockParserInterface_DecodeCLIXML_Call
- func (_c *MockParserInterface_DecodeCLIXML_Call) Return(_a0 string, _a1 error) *MockParserInterface_DecodeCLIXML_Call
- func (_c *MockParserInterface_DecodeCLIXML_Call) Run(run func(clixml string)) *MockParserInterface_DecodeCLIXML_Call
- func (_c *MockParserInterface_DecodeCLIXML_Call) RunAndReturn(run func(string) (string, error)) *MockParserInterface_DecodeCLIXML_Call
- type MockParserInterface_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockParserInterface ¶
MockParserInterface is an autogenerated mock type for the ParserInterface type
func NewMockParserInterface ¶
func NewMockParserInterface(t interface { mock.TestingT Cleanup(func()) }) *MockParserInterface
NewMockParserInterface creates a new instance of MockParserInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockParserInterface) DecodeCLIXML ¶
func (_m *MockParserInterface) DecodeCLIXML(clixml string) (string, error)
DecodeCLIXML provides a mock function with given fields: clixml
func (*MockParserInterface) EXPECT ¶
func (_m *MockParserInterface) EXPECT() *MockParserInterface_Expecter
type MockParserInterface_DecodeCLIXML_Call ¶
MockParserInterface_DecodeCLIXML_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeCLIXML'
func (*MockParserInterface_DecodeCLIXML_Call) Return ¶
func (_c *MockParserInterface_DecodeCLIXML_Call) Return(_a0 string, _a1 error) *MockParserInterface_DecodeCLIXML_Call
func (*MockParserInterface_DecodeCLIXML_Call) Run ¶
func (_c *MockParserInterface_DecodeCLIXML_Call) Run(run func(clixml string)) *MockParserInterface_DecodeCLIXML_Call
func (*MockParserInterface_DecodeCLIXML_Call) RunAndReturn ¶
func (_c *MockParserInterface_DecodeCLIXML_Call) RunAndReturn(run func(string) (string, error)) *MockParserInterface_DecodeCLIXML_Call
type MockParserInterface_Expecter ¶
type MockParserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockParserInterface_Expecter) DecodeCLIXML ¶
func (_e *MockParserInterface_Expecter) DecodeCLIXML(clixml interface{}) *MockParserInterface_DecodeCLIXML_Call
DecodeCLIXML is a helper method to define mock.On call
- clixml string
Click to show internal directories.
Click to hide internal directories.