mock_parser

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_parser is a generated GoMock package.

Package mock_parser is a generated GoMock package.

Package mock_parser is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCsvInterface

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

MockCsvInterface is a mock of CsvInterface interface.

func NewMockCsvInterface

func NewMockCsvInterface(ctrl *gomock.Controller) *MockCsvInterface

NewMockCsvInterface creates a new mock instance.

func (*MockCsvInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCsvInterface) Marshal

func (m *MockCsvInterface) Marshal(orig any) ([]byte, error)

Marshal mocks base method.

func (*MockCsvInterface) MarshalWithoutHeaders

func (m *MockCsvInterface) MarshalWithoutHeaders(orig any) ([]byte, error)

MarshalWithoutHeaders mocks base method.

func (*MockCsvInterface) SetOptionsRead

func (m *MockCsvInterface) SetOptionsRead(opt parser.CsvOptions)

SetOptionsRead mocks base method.

func (*MockCsvInterface) SetOptionsWrite

func (m *MockCsvInterface) SetOptionsWrite(opt parser.CsvOptions)

SetOptionsWrite mocks base method.

func (*MockCsvInterface) Unmarshal

func (m *MockCsvInterface) Unmarshal(blob []byte, dest any) error

Unmarshal mocks base method.

type MockCsvInterfaceMockRecorder

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

MockCsvInterfaceMockRecorder is the mock recorder for MockCsvInterface.

func (*MockCsvInterfaceMockRecorder) Marshal

func (mr *MockCsvInterfaceMockRecorder) Marshal(orig any) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockCsvInterfaceMockRecorder) MarshalWithoutHeaders

func (mr *MockCsvInterfaceMockRecorder) MarshalWithoutHeaders(orig any) *gomock.Call

MarshalWithoutHeaders indicates an expected call of MarshalWithoutHeaders.

func (*MockCsvInterfaceMockRecorder) SetOptionsRead

func (mr *MockCsvInterfaceMockRecorder) SetOptionsRead(opt any) *gomock.Call

SetOptionsRead indicates an expected call of SetOptionsRead.

func (*MockCsvInterfaceMockRecorder) SetOptionsWrite

func (mr *MockCsvInterfaceMockRecorder) SetOptionsWrite(opt any) *gomock.Call

SetOptionsWrite indicates an expected call of SetOptionsWrite.

func (*MockCsvInterfaceMockRecorder) Unmarshal

func (mr *MockCsvInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

type MockJsonInterface

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

MockJsonInterface is a mock of JsonInterface interface.

func NewMockJsonInterface

func NewMockJsonInterface(ctrl *gomock.Controller) *MockJsonInterface

NewMockJsonInterface creates a new mock instance.

func (*MockJsonInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJsonInterface) Marshal

func (m *MockJsonInterface) Marshal(orig any) ([]byte, error)

Marshal mocks base method.

func (*MockJsonInterface) MarshalWithSchemaValidation

func (m *MockJsonInterface) MarshalWithSchemaValidation(sch string, orig any) ([]byte, error)

MarshalWithSchemaValidation mocks base method.

func (*MockJsonInterface) Unmarshal

func (m *MockJsonInterface) Unmarshal(blob []byte, dest any) error

Unmarshal mocks base method.

func (*MockJsonInterface) UnmarshalWithSchemaValidation

func (m *MockJsonInterface) UnmarshalWithSchemaValidation(sch string, blob []byte, dest any) error

UnmarshalWithSchemaValidation mocks base method.

type MockJsonInterfaceMockRecorder

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

MockJsonInterfaceMockRecorder is the mock recorder for MockJsonInterface.

func (*MockJsonInterfaceMockRecorder) Marshal

func (mr *MockJsonInterfaceMockRecorder) Marshal(orig any) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockJsonInterfaceMockRecorder) MarshalWithSchemaValidation

func (mr *MockJsonInterfaceMockRecorder) MarshalWithSchemaValidation(sch, orig any) *gomock.Call

MarshalWithSchemaValidation indicates an expected call of MarshalWithSchemaValidation.

func (*MockJsonInterfaceMockRecorder) Unmarshal

func (mr *MockJsonInterfaceMockRecorder) Unmarshal(blob, dest any) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

func (*MockJsonInterfaceMockRecorder) UnmarshalWithSchemaValidation

func (mr *MockJsonInterfaceMockRecorder) UnmarshalWithSchemaValidation(sch, blob, dest any) *gomock.Call

UnmarshalWithSchemaValidation indicates an expected call of UnmarshalWithSchemaValidation.

type MockParser

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

MockParser is a mock of Parser interface.

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance.

func (*MockParser) CsvParser

func (m *MockParser) CsvParser() parser.CsvInterface

CsvParser mocks base method.

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockParser) JsonParser

func (m *MockParser) JsonParser() parser.JsonInterface

JsonParser mocks base method.

type MockParserMockRecorder

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

MockParserMockRecorder is the mock recorder for MockParser.

func (*MockParserMockRecorder) CsvParser

func (mr *MockParserMockRecorder) CsvParser() *gomock.Call

CsvParser indicates an expected call of CsvParser.

func (*MockParserMockRecorder) JsonParser

func (mr *MockParserMockRecorder) JsonParser() *gomock.Call

JsonParser indicates an expected call of JsonParser.

Jump to

Keyboard shortcuts

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