mocks

package
v0.0.0-...-eb5064c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	mock.Mock
}

AppConfig is an autogenerated mock type for the AppConfig type

func NewAppConfig

func NewAppConfig(t interface {
	mock.TestingT
	Cleanup(func())
}) *AppConfig

NewAppConfig creates a new instance of AppConfig. 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 (*AppConfig) BlockpitTxTypes

func (_m *AppConfig) BlockpitTxTypes() ([]common.TxDisplayName, error)

BlockpitTxTypes provides a mock function with given fields:

func (*AppConfig) EXPECT

func (_m *AppConfig) EXPECT() *AppConfig_Expecter

func (*AppConfig) SetCointracking2BlockpitMapping

func (_m *AppConfig) SetCointracking2BlockpitMapping(ctTxType string, bpTxType string) error

SetCointracking2BlockpitMapping provides a mock function with given fields: ctTxType, bpTxType

func (*AppConfig) SetSwapHandling

func (_m *AppConfig) SetSwapHandling(handling string) error

SetSwapHandling provides a mock function with given fields: handling

func (*AppConfig) SetTimezone

func (_m *AppConfig) SetTimezone(tz string) error

SetTimezone provides a mock function with given fields: tz

func (*AppConfig) SwapHandling

func (_m *AppConfig) SwapHandling() string

SwapHandling provides a mock function with given fields:

func (*AppConfig) Timezone

func (_m *AppConfig) Timezone() string

Timezone provides a mock function with given fields:

func (*AppConfig) TxTypeMappings

func (_m *AppConfig) TxTypeMappings() ([]common.Ct2BpTxMapping, error)

TxTypeMappings provides a mock function with given fields:

type AppConfig_BlockpitTxTypes_Call

type AppConfig_BlockpitTxTypes_Call struct {
	*mock.Call
}

AppConfig_BlockpitTxTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockpitTxTypes'

func (*AppConfig_BlockpitTxTypes_Call) Return

func (*AppConfig_BlockpitTxTypes_Call) Run

func (*AppConfig_BlockpitTxTypes_Call) RunAndReturn

type AppConfig_Expecter

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

func (*AppConfig_Expecter) BlockpitTxTypes

func (_e *AppConfig_Expecter) BlockpitTxTypes() *AppConfig_BlockpitTxTypes_Call

BlockpitTxTypes is a helper method to define mock.On call

func (*AppConfig_Expecter) SetCointracking2BlockpitMapping

func (_e *AppConfig_Expecter) SetCointracking2BlockpitMapping(ctTxType interface{}, bpTxType interface{}) *AppConfig_SetCointracking2BlockpitMapping_Call

SetCointracking2BlockpitMapping is a helper method to define mock.On call

  • ctTxType string
  • bpTxType string

func (*AppConfig_Expecter) SetSwapHandling

func (_e *AppConfig_Expecter) SetSwapHandling(handling interface{}) *AppConfig_SetSwapHandling_Call

SetSwapHandling is a helper method to define mock.On call

  • handling string

func (*AppConfig_Expecter) SetTimezone

func (_e *AppConfig_Expecter) SetTimezone(tz interface{}) *AppConfig_SetTimezone_Call

SetTimezone is a helper method to define mock.On call

  • tz string

func (*AppConfig_Expecter) SwapHandling

func (_e *AppConfig_Expecter) SwapHandling() *AppConfig_SwapHandling_Call

SwapHandling is a helper method to define mock.On call

func (*AppConfig_Expecter) Timezone

Timezone is a helper method to define mock.On call

func (*AppConfig_Expecter) TxTypeMappings

func (_e *AppConfig_Expecter) TxTypeMappings() *AppConfig_TxTypeMappings_Call

TxTypeMappings is a helper method to define mock.On call

type AppConfig_SetCointracking2BlockpitMapping_Call

type AppConfig_SetCointracking2BlockpitMapping_Call struct {
	*mock.Call
}

AppConfig_SetCointracking2BlockpitMapping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCointracking2BlockpitMapping'

func (*AppConfig_SetCointracking2BlockpitMapping_Call) Return

func (*AppConfig_SetCointracking2BlockpitMapping_Call) Run

func (*AppConfig_SetCointracking2BlockpitMapping_Call) RunAndReturn

type AppConfig_SetSwapHandling_Call

type AppConfig_SetSwapHandling_Call struct {
	*mock.Call
}

AppConfig_SetSwapHandling_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSwapHandling'

func (*AppConfig_SetSwapHandling_Call) Return

func (*AppConfig_SetSwapHandling_Call) Run

func (*AppConfig_SetSwapHandling_Call) RunAndReturn

type AppConfig_SetTimezone_Call

type AppConfig_SetTimezone_Call struct {
	*mock.Call
}

AppConfig_SetTimezone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTimezone'

func (*AppConfig_SetTimezone_Call) Return

func (*AppConfig_SetTimezone_Call) Run

func (*AppConfig_SetTimezone_Call) RunAndReturn

type AppConfig_SwapHandling_Call

type AppConfig_SwapHandling_Call struct {
	*mock.Call
}

AppConfig_SwapHandling_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwapHandling'

func (*AppConfig_SwapHandling_Call) Return

func (*AppConfig_SwapHandling_Call) Run

func (*AppConfig_SwapHandling_Call) RunAndReturn

func (_c *AppConfig_SwapHandling_Call) RunAndReturn(run func() string) *AppConfig_SwapHandling_Call

type AppConfig_Timezone_Call

type AppConfig_Timezone_Call struct {
	*mock.Call
}

AppConfig_Timezone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Timezone'

func (*AppConfig_Timezone_Call) Return

func (*AppConfig_Timezone_Call) Run

func (_c *AppConfig_Timezone_Call) Run(run func()) *AppConfig_Timezone_Call

func (*AppConfig_Timezone_Call) RunAndReturn

func (_c *AppConfig_Timezone_Call) RunAndReturn(run func() string) *AppConfig_Timezone_Call

type AppConfig_TxTypeMappings_Call

type AppConfig_TxTypeMappings_Call struct {
	*mock.Call
}

AppConfig_TxTypeMappings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxTypeMappings'

func (*AppConfig_TxTypeMappings_Call) Return

func (*AppConfig_TxTypeMappings_Call) Run

func (*AppConfig_TxTypeMappings_Call) RunAndReturn

type AppContext

type AppContext struct {
	mock.Mock
}

AppContext is an autogenerated mock type for the AppContext type

func NewAppContext

func NewAppContext(t interface {
	mock.TestingT
	Cleanup(func())
}) *AppContext

NewAppContext creates a new instance of AppContext. 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 (*AppContext) AddExportFile

func (_m *AppContext) AddExportFile(file *common.ExportFileInfo)

AddExportFile provides a mock function with given fields: file

func (*AppContext) AllTxIDs

func (_m *AppContext) AllTxIDs() []string

AllTxIDs provides a mock function with given fields:

func (*AppContext) Context

func (_m *AppContext) Context() context.Context

Context provides a mock function with given fields:

func (*AppContext) EXPECT

func (_m *AppContext) EXPECT() *AppContext_Expecter

func (*AppContext) ExportFiles

func (_m *AppContext) ExportFiles() []*common.ExportFileInfo

ExportFiles provides a mock function with given fields:

func (*AppContext) LastSelectedFileDir

func (_m *AppContext) LastSelectedFileDir() string

LastSelectedFileDir provides a mock function with given fields:

func (*AppContext) SetContext

func (_m *AppContext) SetContext(ctx context.Context)

SetContext provides a mock function with given fields: ctx

func (*AppContext) SetLastSelectedFileDirFromFile

func (_m *AppContext) SetLastSelectedFileDirFromFile(filepath string)

SetLastSelectedFileDirFromFile provides a mock function with given fields: filepath

type AppContext_AddExportFile_Call

type AppContext_AddExportFile_Call struct {
	*mock.Call
}

AppContext_AddExportFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddExportFile'

func (*AppContext_AddExportFile_Call) Return

func (*AppContext_AddExportFile_Call) Run

func (*AppContext_AddExportFile_Call) RunAndReturn

type AppContext_AllTxIDs_Call

type AppContext_AllTxIDs_Call struct {
	*mock.Call
}

AppContext_AllTxIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllTxIDs'

func (*AppContext_AllTxIDs_Call) Return

func (*AppContext_AllTxIDs_Call) Run

func (*AppContext_AllTxIDs_Call) RunAndReturn

func (_c *AppContext_AllTxIDs_Call) RunAndReturn(run func() []string) *AppContext_AllTxIDs_Call

type AppContext_Context_Call

type AppContext_Context_Call struct {
	*mock.Call
}

AppContext_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'

func (*AppContext_Context_Call) Return

func (*AppContext_Context_Call) Run

func (_c *AppContext_Context_Call) Run(run func()) *AppContext_Context_Call

func (*AppContext_Context_Call) RunAndReturn

func (_c *AppContext_Context_Call) RunAndReturn(run func() context.Context) *AppContext_Context_Call

type AppContext_Expecter

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

func (*AppContext_Expecter) AddExportFile

func (_e *AppContext_Expecter) AddExportFile(file interface{}) *AppContext_AddExportFile_Call

AddExportFile is a helper method to define mock.On call

  • file *common.ExportFileInfo

func (*AppContext_Expecter) AllTxIDs

AllTxIDs is a helper method to define mock.On call

func (*AppContext_Expecter) Context

Context is a helper method to define mock.On call

func (*AppContext_Expecter) ExportFiles

ExportFiles is a helper method to define mock.On call

func (*AppContext_Expecter) LastSelectedFileDir

func (_e *AppContext_Expecter) LastSelectedFileDir() *AppContext_LastSelectedFileDir_Call

LastSelectedFileDir is a helper method to define mock.On call

func (*AppContext_Expecter) SetContext

func (_e *AppContext_Expecter) SetContext(ctx interface{}) *AppContext_SetContext_Call

SetContext is a helper method to define mock.On call

  • ctx context.Context

func (*AppContext_Expecter) SetLastSelectedFileDirFromFile

func (_e *AppContext_Expecter) SetLastSelectedFileDirFromFile(filepath interface{}) *AppContext_SetLastSelectedFileDirFromFile_Call

SetLastSelectedFileDirFromFile is a helper method to define mock.On call

  • filepath string

type AppContext_ExportFiles_Call

type AppContext_ExportFiles_Call struct {
	*mock.Call
}

AppContext_ExportFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExportFiles'

func (*AppContext_ExportFiles_Call) Return

func (*AppContext_ExportFiles_Call) Run

func (*AppContext_ExportFiles_Call) RunAndReturn

type AppContext_LastSelectedFileDir_Call

type AppContext_LastSelectedFileDir_Call struct {
	*mock.Call
}

AppContext_LastSelectedFileDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastSelectedFileDir'

func (*AppContext_LastSelectedFileDir_Call) Return

func (*AppContext_LastSelectedFileDir_Call) Run

func (*AppContext_LastSelectedFileDir_Call) RunAndReturn

type AppContext_SetContext_Call

type AppContext_SetContext_Call struct {
	*mock.Call
}

AppContext_SetContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetContext'

func (*AppContext_SetContext_Call) Return

func (*AppContext_SetContext_Call) Run

func (*AppContext_SetContext_Call) RunAndReturn

type AppContext_SetLastSelectedFileDirFromFile_Call

type AppContext_SetLastSelectedFileDirFromFile_Call struct {
	*mock.Call
}

AppContext_SetLastSelectedFileDirFromFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLastSelectedFileDirFromFile'

func (*AppContext_SetLastSelectedFileDirFromFile_Call) Return

func (*AppContext_SetLastSelectedFileDirFromFile_Call) Run

func (*AppContext_SetLastSelectedFileDirFromFile_Call) RunAndReturn

type BlockpitBackend

type BlockpitBackend struct {
	mock.Mock
}

BlockpitBackend is an autogenerated mock type for the BlockpitBackend type

func NewBlockpitBackend

func NewBlockpitBackend(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlockpitBackend

NewBlockpitBackend creates a new instance of BlockpitBackend. 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 (*BlockpitBackend) EXPECT

func (*BlockpitBackend) ExportToBlockpitXlsx

func (_m *BlockpitBackend) ExportToBlockpitXlsx() error

ExportToBlockpitXlsx provides a mock function with given fields:

type BlockpitBackend_Expecter

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

func (*BlockpitBackend_Expecter) ExportToBlockpitXlsx

ExportToBlockpitXlsx is a helper method to define mock.On call

type BlockpitBackend_ExportToBlockpitXlsx_Call

type BlockpitBackend_ExportToBlockpitXlsx_Call struct {
	*mock.Call
}

BlockpitBackend_ExportToBlockpitXlsx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExportToBlockpitXlsx'

func (*BlockpitBackend_ExportToBlockpitXlsx_Call) Return

func (*BlockpitBackend_ExportToBlockpitXlsx_Call) Run

func (*BlockpitBackend_ExportToBlockpitXlsx_Call) RunAndReturn

type BlockpitTxConverter

type BlockpitTxConverter struct {
	mock.Mock
}

BlockpitTxConverter is an autogenerated mock type for the BlockpitTxConverter type

func NewBlockpitTxConverter

func NewBlockpitTxConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlockpitTxConverter

NewBlockpitTxConverter creates a new instance of BlockpitTxConverter. 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 (*BlockpitTxConverter) EXPECT

func (*BlockpitTxConverter) FromCointrackingTx

func (_m *BlockpitTxConverter) FromCointrackingTx(ctTx *common.CointrackingTx) ([]*interfaces.BlockpitTx, error)

FromCointrackingTx provides a mock function with given fields: ctTx

type BlockpitTxConverter_Expecter

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

func (*BlockpitTxConverter_Expecter) FromCointrackingTx

func (_e *BlockpitTxConverter_Expecter) FromCointrackingTx(ctTx interface{}) *BlockpitTxConverter_FromCointrackingTx_Call

FromCointrackingTx is a helper method to define mock.On call

  • ctTx *common.CointrackingTx

type BlockpitTxConverter_FromCointrackingTx_Call

type BlockpitTxConverter_FromCointrackingTx_Call struct {
	*mock.Call
}

BlockpitTxConverter_FromCointrackingTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FromCointrackingTx'

func (*BlockpitTxConverter_FromCointrackingTx_Call) Return

func (*BlockpitTxConverter_FromCointrackingTx_Call) Run

func (*BlockpitTxConverter_FromCointrackingTx_Call) RunAndReturn

type CoinTrackingBackend

type CoinTrackingBackend struct {
	mock.Mock
}

CoinTrackingBackend is an autogenerated mock type for the CoinTrackingBackend type

func NewCoinTrackingBackend

func NewCoinTrackingBackend(t interface {
	mock.TestingT
	Cleanup(func())
}) *CoinTrackingBackend

NewCoinTrackingBackend creates a new instance of CoinTrackingBackend. 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 (*CoinTrackingBackend) EXPECT

func (*CoinTrackingBackend) OpenExportFile

func (_m *CoinTrackingBackend) OpenExportFile(timezone string) (string, error)

OpenExportFile provides a mock function with given fields: timezone

type CoinTrackingBackend_Expecter

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

func (*CoinTrackingBackend_Expecter) OpenExportFile

func (_e *CoinTrackingBackend_Expecter) OpenExportFile(timezone interface{}) *CoinTrackingBackend_OpenExportFile_Call

OpenExportFile is a helper method to define mock.On call

  • timezone string

type CoinTrackingBackend_OpenExportFile_Call

type CoinTrackingBackend_OpenExportFile_Call struct {
	*mock.Call
}

CoinTrackingBackend_OpenExportFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenExportFile'

func (*CoinTrackingBackend_OpenExportFile_Call) Return

func (*CoinTrackingBackend_OpenExportFile_Call) Run

func (*CoinTrackingBackend_OpenExportFile_Call) RunAndReturn

type CointrackingCsvReader

type CointrackingCsvReader struct {
	mock.Mock
}

CointrackingCsvReader is an autogenerated mock type for the CointrackingCsvReader type

func NewCointrackingCsvReader

func NewCointrackingCsvReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *CointrackingCsvReader

NewCointrackingCsvReader creates a new instance of CointrackingCsvReader. 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 (*CointrackingCsvReader) EXPECT

func (*CointrackingCsvReader) ReadFile

func (_m *CointrackingCsvReader) ReadFile(filepath string, loc *time.Location, existingTxIDs []string) (*common.ExportFileInfo, error)

ReadFile provides a mock function with given fields: filepath, loc, existingTxIDs

type CointrackingCsvReader_Expecter

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

func (*CointrackingCsvReader_Expecter) ReadFile

func (_e *CointrackingCsvReader_Expecter) ReadFile(filepath interface{}, loc interface{}, existingTxIDs interface{}) *CointrackingCsvReader_ReadFile_Call

ReadFile is a helper method to define mock.On call

  • filepath string
  • loc *time.Location
  • existingTxIDs []string

type CointrackingCsvReader_ReadFile_Call

type CointrackingCsvReader_ReadFile_Call struct {
	*mock.Call
}

CointrackingCsvReader_ReadFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadFile'

func (*CointrackingCsvReader_ReadFile_Call) Return

func (*CointrackingCsvReader_ReadFile_Call) Run

func (_c *CointrackingCsvReader_ReadFile_Call) Run(run func(filepath string, loc *time.Location, existingTxIDs []string)) *CointrackingCsvReader_ReadFile_Call

func (*CointrackingCsvReader_ReadFile_Call) RunAndReturn

type Initializer

type Initializer struct {
	mock.Mock
}

Initializer is an autogenerated mock type for the Initializer type

func NewInitializer

func NewInitializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Initializer

NewInitializer creates a new instance of Initializer. 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 (*Initializer) EXPECT

func (_m *Initializer) EXPECT() *Initializer_Expecter

func (*Initializer) Init

func (_m *Initializer) Init() error

Init provides a mock function with given fields:

type Initializer_Expecter

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

func (*Initializer_Expecter) Init

Init is a helper method to define mock.On call

type Initializer_Init_Call

type Initializer_Init_Call struct {
	*mock.Call
}

Initializer_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'

func (*Initializer_Init_Call) Return

func (*Initializer_Init_Call) Run

func (_c *Initializer_Init_Call) Run(run func()) *Initializer_Init_Call

func (*Initializer_Init_Call) RunAndReturn

func (_c *Initializer_Init_Call) RunAndReturn(run func() error) *Initializer_Init_Call

type TransactionsFileWriter

type TransactionsFileWriter struct {
	mock.Mock
}

TransactionsFileWriter is an autogenerated mock type for the TransactionsFileWriter type

func NewTransactionsFileWriter

func NewTransactionsFileWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *TransactionsFileWriter

NewTransactionsFileWriter creates a new instance of TransactionsFileWriter. 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 (*TransactionsFileWriter) EXPECT

func (*TransactionsFileWriter) WriteTransactionsToFile

func (_m *TransactionsFileWriter) WriteTransactionsToFile(filePath string, transactions []*common.CointrackingTx) error

WriteTransactionsToFile provides a mock function with given fields: filePath, transactions

type TransactionsFileWriter_Expecter

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

func (*TransactionsFileWriter_Expecter) WriteTransactionsToFile

func (_e *TransactionsFileWriter_Expecter) WriteTransactionsToFile(filePath interface{}, transactions interface{}) *TransactionsFileWriter_WriteTransactionsToFile_Call

WriteTransactionsToFile is a helper method to define mock.On call

  • filePath string
  • transactions []*common.CointrackingTx

type TransactionsFileWriter_WriteTransactionsToFile_Call

type TransactionsFileWriter_WriteTransactionsToFile_Call struct {
	*mock.Call
}

TransactionsFileWriter_WriteTransactionsToFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteTransactionsToFile'

func (*TransactionsFileWriter_WriteTransactionsToFile_Call) Return

func (*TransactionsFileWriter_WriteTransactionsToFile_Call) Run

func (*TransactionsFileWriter_WriteTransactionsToFile_Call) RunAndReturn

type TxTypeManager

type TxTypeManager struct {
	mock.Mock
}

TxTypeManager is an autogenerated mock type for the TxTypeManager type

func NewTxTypeManager

func NewTxTypeManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *TxTypeManager

NewTxTypeManager creates a new instance of TxTypeManager. 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 (*TxTypeManager) BlockpitTxType

func (_m *TxTypeManager) BlockpitTxType(ctTxType cointrackingtxtype.CtTxType) (common.TxDisplayName, error)

BlockpitTxType provides a mock function with given fields: ctTxType

func (*TxTypeManager) BlockpitTxTypes

func (_m *TxTypeManager) BlockpitTxTypes() ([]common.TxDisplayName, error)

BlockpitTxTypes provides a mock function with given fields:

func (*TxTypeManager) EXPECT

func (_m *TxTypeManager) EXPECT() *TxTypeManager_Expecter

func (*TxTypeManager) GetMapping

func (_m *TxTypeManager) GetMapping() ([]common.Ct2BpTxMapping, error)

GetMapping provides a mock function with given fields:

func (*TxTypeManager) SetMapping

func (_m *TxTypeManager) SetMapping(ctTxType cointrackingtxtype.CtTxType, bpTxType blockpittxtype.BpTxType) error

SetMapping provides a mock function with given fields: ctTxType, bpTxType

type TxTypeManager_BlockpitTxType_Call

type TxTypeManager_BlockpitTxType_Call struct {
	*mock.Call
}

TxTypeManager_BlockpitTxType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockpitTxType'

func (*TxTypeManager_BlockpitTxType_Call) Return

func (*TxTypeManager_BlockpitTxType_Call) Run

func (*TxTypeManager_BlockpitTxType_Call) RunAndReturn

type TxTypeManager_BlockpitTxTypes_Call

type TxTypeManager_BlockpitTxTypes_Call struct {
	*mock.Call
}

TxTypeManager_BlockpitTxTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockpitTxTypes'

func (*TxTypeManager_BlockpitTxTypes_Call) Return

func (*TxTypeManager_BlockpitTxTypes_Call) Run

func (*TxTypeManager_BlockpitTxTypes_Call) RunAndReturn

type TxTypeManager_Expecter

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

func (*TxTypeManager_Expecter) BlockpitTxType

func (_e *TxTypeManager_Expecter) BlockpitTxType(ctTxType interface{}) *TxTypeManager_BlockpitTxType_Call

BlockpitTxType is a helper method to define mock.On call

  • ctTxType cointrackingtxtype.CtTxType

func (*TxTypeManager_Expecter) BlockpitTxTypes

BlockpitTxTypes is a helper method to define mock.On call

func (*TxTypeManager_Expecter) GetMapping

GetMapping is a helper method to define mock.On call

func (*TxTypeManager_Expecter) SetMapping

func (_e *TxTypeManager_Expecter) SetMapping(ctTxType interface{}, bpTxType interface{}) *TxTypeManager_SetMapping_Call

SetMapping is a helper method to define mock.On call

  • ctTxType cointrackingtxtype.CtTxType
  • bpTxType blockpittxtype.BpTxType

type TxTypeManager_GetMapping_Call

type TxTypeManager_GetMapping_Call struct {
	*mock.Call
}

TxTypeManager_GetMapping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMapping'

func (*TxTypeManager_GetMapping_Call) Return

func (*TxTypeManager_GetMapping_Call) Run

func (*TxTypeManager_GetMapping_Call) RunAndReturn

type TxTypeManager_SetMapping_Call

type TxTypeManager_SetMapping_Call struct {
	*mock.Call
}

TxTypeManager_SetMapping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMapping'

func (*TxTypeManager_SetMapping_Call) Return

func (*TxTypeManager_SetMapping_Call) Run

func (*TxTypeManager_SetMapping_Call) RunAndReturn

type WailsLogger

type WailsLogger struct {
	mock.Mock
}

WailsLogger is an autogenerated mock type for the WailsLogger type

func NewWailsLogger

func NewWailsLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *WailsLogger

NewWailsLogger creates a new instance of WailsLogger. 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 (*WailsLogger) EXPECT

func (_m *WailsLogger) EXPECT() *WailsLogger_Expecter

func (*WailsLogger) LogDebug

func (_m *WailsLogger) LogDebug(ctx context.Context, message string)

LogDebug provides a mock function with given fields: ctx, message

func (*WailsLogger) LogDebugf

func (_m *WailsLogger) LogDebugf(ctx context.Context, format string, args ...interface{})

LogDebugf provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogError

func (_m *WailsLogger) LogError(ctx context.Context, message string)

LogError provides a mock function with given fields: ctx, message

func (*WailsLogger) LogErrorf

func (_m *WailsLogger) LogErrorf(ctx context.Context, format string, args ...interface{})

LogErrorf provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogFatal

func (_m *WailsLogger) LogFatal(ctx context.Context, message string)

LogFatal provides a mock function with given fields: ctx, message

func (*WailsLogger) LogFatalf

func (_m *WailsLogger) LogFatalf(ctx context.Context, format string, args ...interface{})

LogFatalf provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogInfo

func (_m *WailsLogger) LogInfo(ctx context.Context, message string)

LogInfo provides a mock function with given fields: ctx, message

func (*WailsLogger) LogInfof

func (_m *WailsLogger) LogInfof(ctx context.Context, format string, args ...interface{})

LogInfof provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogPrint

func (_m *WailsLogger) LogPrint(ctx context.Context, message string)

LogPrint provides a mock function with given fields: ctx, message

func (*WailsLogger) LogPrintf

func (_m *WailsLogger) LogPrintf(ctx context.Context, format string, args ...interface{})

LogPrintf provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogTrace

func (_m *WailsLogger) LogTrace(ctx context.Context, message string)

LogTrace provides a mock function with given fields: ctx, message

func (*WailsLogger) LogTracef

func (_m *WailsLogger) LogTracef(ctx context.Context, format string, args ...interface{})

LogTracef provides a mock function with given fields: ctx, format, args

func (*WailsLogger) LogWarning

func (_m *WailsLogger) LogWarning(ctx context.Context, message string)

LogWarning provides a mock function with given fields: ctx, message

func (*WailsLogger) LogWarningf

func (_m *WailsLogger) LogWarningf(ctx context.Context, format string, args ...interface{})

LogWarningf provides a mock function with given fields: ctx, format, args

type WailsLogger_Expecter

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

func (*WailsLogger_Expecter) LogDebug

func (_e *WailsLogger_Expecter) LogDebug(ctx interface{}, message interface{}) *WailsLogger_LogDebug_Call

LogDebug is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogDebugf

func (_e *WailsLogger_Expecter) LogDebugf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogDebugf_Call

LogDebugf is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogError

func (_e *WailsLogger_Expecter) LogError(ctx interface{}, message interface{}) *WailsLogger_LogError_Call

LogError is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogErrorf

func (_e *WailsLogger_Expecter) LogErrorf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogErrorf_Call

LogErrorf is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogFatal

func (_e *WailsLogger_Expecter) LogFatal(ctx interface{}, message interface{}) *WailsLogger_LogFatal_Call

LogFatal is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogFatalf

func (_e *WailsLogger_Expecter) LogFatalf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogFatalf_Call

LogFatalf is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogInfo

func (_e *WailsLogger_Expecter) LogInfo(ctx interface{}, message interface{}) *WailsLogger_LogInfo_Call

LogInfo is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogInfof

func (_e *WailsLogger_Expecter) LogInfof(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogInfof_Call

LogInfof is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogPrint

func (_e *WailsLogger_Expecter) LogPrint(ctx interface{}, message interface{}) *WailsLogger_LogPrint_Call

LogPrint is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogPrintf

func (_e *WailsLogger_Expecter) LogPrintf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogPrintf_Call

LogPrintf is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogTrace

func (_e *WailsLogger_Expecter) LogTrace(ctx interface{}, message interface{}) *WailsLogger_LogTrace_Call

LogTrace is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogTracef

func (_e *WailsLogger_Expecter) LogTracef(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogTracef_Call

LogTracef is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

func (*WailsLogger_Expecter) LogWarning

func (_e *WailsLogger_Expecter) LogWarning(ctx interface{}, message interface{}) *WailsLogger_LogWarning_Call

LogWarning is a helper method to define mock.On call

  • ctx context.Context
  • message string

func (*WailsLogger_Expecter) LogWarningf

func (_e *WailsLogger_Expecter) LogWarningf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogWarningf_Call

LogWarningf is a helper method to define mock.On call

  • ctx context.Context
  • format string
  • args ...interface{}

type WailsLogger_LogDebug_Call

type WailsLogger_LogDebug_Call struct {
	*mock.Call
}

WailsLogger_LogDebug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogDebug'

func (*WailsLogger_LogDebug_Call) Return

func (*WailsLogger_LogDebug_Call) Run

func (*WailsLogger_LogDebug_Call) RunAndReturn

type WailsLogger_LogDebugf_Call

type WailsLogger_LogDebugf_Call struct {
	*mock.Call
}

WailsLogger_LogDebugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogDebugf'

func (*WailsLogger_LogDebugf_Call) Return

func (*WailsLogger_LogDebugf_Call) Run

func (_c *WailsLogger_LogDebugf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogDebugf_Call

func (*WailsLogger_LogDebugf_Call) RunAndReturn

func (_c *WailsLogger_LogDebugf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogDebugf_Call

type WailsLogger_LogError_Call

type WailsLogger_LogError_Call struct {
	*mock.Call
}

WailsLogger_LogError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogError'

func (*WailsLogger_LogError_Call) Return

func (*WailsLogger_LogError_Call) Run

func (*WailsLogger_LogError_Call) RunAndReturn

type WailsLogger_LogErrorf_Call

type WailsLogger_LogErrorf_Call struct {
	*mock.Call
}

WailsLogger_LogErrorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogErrorf'

func (*WailsLogger_LogErrorf_Call) Return

func (*WailsLogger_LogErrorf_Call) Run

func (_c *WailsLogger_LogErrorf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogErrorf_Call

func (*WailsLogger_LogErrorf_Call) RunAndReturn

func (_c *WailsLogger_LogErrorf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogErrorf_Call

type WailsLogger_LogFatal_Call

type WailsLogger_LogFatal_Call struct {
	*mock.Call
}

WailsLogger_LogFatal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogFatal'

func (*WailsLogger_LogFatal_Call) Return

func (*WailsLogger_LogFatal_Call) Run

func (*WailsLogger_LogFatal_Call) RunAndReturn

type WailsLogger_LogFatalf_Call

type WailsLogger_LogFatalf_Call struct {
	*mock.Call
}

WailsLogger_LogFatalf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogFatalf'

func (*WailsLogger_LogFatalf_Call) Return

func (*WailsLogger_LogFatalf_Call) Run

func (_c *WailsLogger_LogFatalf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogFatalf_Call

func (*WailsLogger_LogFatalf_Call) RunAndReturn

func (_c *WailsLogger_LogFatalf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogFatalf_Call

type WailsLogger_LogInfo_Call

type WailsLogger_LogInfo_Call struct {
	*mock.Call
}

WailsLogger_LogInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogInfo'

func (*WailsLogger_LogInfo_Call) Return

func (*WailsLogger_LogInfo_Call) Run

func (_c *WailsLogger_LogInfo_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogInfo_Call

func (*WailsLogger_LogInfo_Call) RunAndReturn

type WailsLogger_LogInfof_Call

type WailsLogger_LogInfof_Call struct {
	*mock.Call
}

WailsLogger_LogInfof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogInfof'

func (*WailsLogger_LogInfof_Call) Return

func (*WailsLogger_LogInfof_Call) Run

func (_c *WailsLogger_LogInfof_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogInfof_Call

func (*WailsLogger_LogInfof_Call) RunAndReturn

func (_c *WailsLogger_LogInfof_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogInfof_Call

type WailsLogger_LogPrint_Call

type WailsLogger_LogPrint_Call struct {
	*mock.Call
}

WailsLogger_LogPrint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogPrint'

func (*WailsLogger_LogPrint_Call) Return

func (*WailsLogger_LogPrint_Call) Run

func (*WailsLogger_LogPrint_Call) RunAndReturn

type WailsLogger_LogPrintf_Call

type WailsLogger_LogPrintf_Call struct {
	*mock.Call
}

WailsLogger_LogPrintf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogPrintf'

func (*WailsLogger_LogPrintf_Call) Return

func (*WailsLogger_LogPrintf_Call) Run

func (_c *WailsLogger_LogPrintf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogPrintf_Call

func (*WailsLogger_LogPrintf_Call) RunAndReturn

func (_c *WailsLogger_LogPrintf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogPrintf_Call

type WailsLogger_LogTrace_Call

type WailsLogger_LogTrace_Call struct {
	*mock.Call
}

WailsLogger_LogTrace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogTrace'

func (*WailsLogger_LogTrace_Call) Return

func (*WailsLogger_LogTrace_Call) Run

func (*WailsLogger_LogTrace_Call) RunAndReturn

type WailsLogger_LogTracef_Call

type WailsLogger_LogTracef_Call struct {
	*mock.Call
}

WailsLogger_LogTracef_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogTracef'

func (*WailsLogger_LogTracef_Call) Return

func (*WailsLogger_LogTracef_Call) Run

func (_c *WailsLogger_LogTracef_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogTracef_Call

func (*WailsLogger_LogTracef_Call) RunAndReturn

func (_c *WailsLogger_LogTracef_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogTracef_Call

type WailsLogger_LogWarning_Call

type WailsLogger_LogWarning_Call struct {
	*mock.Call
}

WailsLogger_LogWarning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogWarning'

func (*WailsLogger_LogWarning_Call) Return

func (*WailsLogger_LogWarning_Call) Run

func (*WailsLogger_LogWarning_Call) RunAndReturn

type WailsLogger_LogWarningf_Call

type WailsLogger_LogWarningf_Call struct {
	*mock.Call
}

WailsLogger_LogWarningf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogWarningf'

func (*WailsLogger_LogWarningf_Call) Return

func (*WailsLogger_LogWarningf_Call) Run

func (_c *WailsLogger_LogWarningf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogWarningf_Call

func (*WailsLogger_LogWarningf_Call) RunAndReturn

func (_c *WailsLogger_LogWarningf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogWarningf_Call

type WailsRuntime

type WailsRuntime struct {
	mock.Mock
}

WailsRuntime is an autogenerated mock type for the WailsRuntime type

func NewWailsRuntime

func NewWailsRuntime(t interface {
	mock.TestingT
	Cleanup(func())
}) *WailsRuntime

NewWailsRuntime creates a new instance of WailsRuntime. 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 (*WailsRuntime) EXPECT

func (_m *WailsRuntime) EXPECT() *WailsRuntime_Expecter

func (*WailsRuntime) EventsEmit

func (_m *WailsRuntime) EventsEmit(eventName string, optionalData ...interface{})

EventsEmit provides a mock function with given fields: eventName, optionalData

func (*WailsRuntime) OpenFileDialog

func (_m *WailsRuntime) OpenFileDialog(dialogOptions frontend.OpenDialogOptions) (string, error)

OpenFileDialog provides a mock function with given fields: dialogOptions

func (*WailsRuntime) SaveFileDialog

func (_m *WailsRuntime) SaveFileDialog(dialogOptions frontend.SaveDialogOptions) (string, error)

SaveFileDialog provides a mock function with given fields: dialogOptions

type WailsRuntime_EventsEmit_Call

type WailsRuntime_EventsEmit_Call struct {
	*mock.Call
}

WailsRuntime_EventsEmit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsEmit'

func (*WailsRuntime_EventsEmit_Call) Return

func (*WailsRuntime_EventsEmit_Call) Run

func (_c *WailsRuntime_EventsEmit_Call) Run(run func(eventName string, optionalData ...interface{})) *WailsRuntime_EventsEmit_Call

func (*WailsRuntime_EventsEmit_Call) RunAndReturn

func (_c *WailsRuntime_EventsEmit_Call) RunAndReturn(run func(string, ...interface{})) *WailsRuntime_EventsEmit_Call

type WailsRuntime_Expecter

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

func (*WailsRuntime_Expecter) EventsEmit

func (_e *WailsRuntime_Expecter) EventsEmit(eventName interface{}, optionalData ...interface{}) *WailsRuntime_EventsEmit_Call

EventsEmit is a helper method to define mock.On call

  • eventName string
  • optionalData ...interface{}

func (*WailsRuntime_Expecter) OpenFileDialog

func (_e *WailsRuntime_Expecter) OpenFileDialog(dialogOptions interface{}) *WailsRuntime_OpenFileDialog_Call

OpenFileDialog is a helper method to define mock.On call

  • dialogOptions frontend.OpenDialogOptions

func (*WailsRuntime_Expecter) SaveFileDialog

func (_e *WailsRuntime_Expecter) SaveFileDialog(dialogOptions interface{}) *WailsRuntime_SaveFileDialog_Call

SaveFileDialog is a helper method to define mock.On call

  • dialogOptions frontend.SaveDialogOptions

type WailsRuntime_OpenFileDialog_Call

type WailsRuntime_OpenFileDialog_Call struct {
	*mock.Call
}

WailsRuntime_OpenFileDialog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenFileDialog'

func (*WailsRuntime_OpenFileDialog_Call) Return

func (*WailsRuntime_OpenFileDialog_Call) Run

func (*WailsRuntime_OpenFileDialog_Call) RunAndReturn

type WailsRuntime_SaveFileDialog_Call

type WailsRuntime_SaveFileDialog_Call struct {
	*mock.Call
}

WailsRuntime_SaveFileDialog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveFileDialog'

func (*WailsRuntime_SaveFileDialog_Call) Return

func (*WailsRuntime_SaveFileDialog_Call) Run

func (*WailsRuntime_SaveFileDialog_Call) RunAndReturn

type XMLFile

type XMLFile struct {
	mock.Mock
}

XMLFile is an autogenerated mock type for the XMLFile type

func NewXMLFile

func NewXMLFile(t interface {
	mock.TestingT
	Cleanup(func())
}) *XMLFile

NewXMLFile creates a new instance of XMLFile. 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 (*XMLFile) Close

func (_m *XMLFile) Close() error

Close provides a mock function with given fields:

func (*XMLFile) EXPECT

func (_m *XMLFile) EXPECT() *XMLFile_Expecter

func (*XMLFile) SaveAs

func (_m *XMLFile) SaveAs(filePath string) error

SaveAs provides a mock function with given fields: filePath

func (*XMLFile) SetSheetHeader

func (_m *XMLFile) SetSheetHeader(sheetNr int, headers []string) error

SetSheetHeader provides a mock function with given fields: sheetNr, headers

func (*XMLFile) SetSheetRow

func (_m *XMLFile) SetSheetRow(sheetNr int, rowNr int, data []interface{}) error

SetSheetRow provides a mock function with given fields: sheetNr, rowNr, data

type XMLFileFactory

type XMLFileFactory struct {
	mock.Mock
}

XMLFileFactory is an autogenerated mock type for the XMLFileFactory type

func NewXMLFileFactory

func NewXMLFileFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *XMLFileFactory

NewXMLFileFactory creates a new instance of XMLFileFactory. 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 (*XMLFileFactory) EXPECT

func (*XMLFileFactory) NewXMLFile

func (_m *XMLFileFactory) NewXMLFile() interfaces.XMLFile

NewXMLFile provides a mock function with given fields:

type XMLFileFactory_Expecter

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

func (*XMLFileFactory_Expecter) NewXMLFile

NewXMLFile is a helper method to define mock.On call

type XMLFileFactory_NewXMLFile_Call

type XMLFileFactory_NewXMLFile_Call struct {
	*mock.Call
}

XMLFileFactory_NewXMLFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewXMLFile'

func (*XMLFileFactory_NewXMLFile_Call) Return

func (*XMLFileFactory_NewXMLFile_Call) Run

func (*XMLFileFactory_NewXMLFile_Call) RunAndReturn

type XMLFile_Close_Call

type XMLFile_Close_Call struct {
	*mock.Call
}

XMLFile_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*XMLFile_Close_Call) Return

func (_c *XMLFile_Close_Call) Return(_a0 error) *XMLFile_Close_Call

func (*XMLFile_Close_Call) Run

func (_c *XMLFile_Close_Call) Run(run func()) *XMLFile_Close_Call

func (*XMLFile_Close_Call) RunAndReturn

func (_c *XMLFile_Close_Call) RunAndReturn(run func() error) *XMLFile_Close_Call

type XMLFile_Expecter

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

func (*XMLFile_Expecter) Close

func (_e *XMLFile_Expecter) Close() *XMLFile_Close_Call

Close is a helper method to define mock.On call

func (*XMLFile_Expecter) SaveAs

func (_e *XMLFile_Expecter) SaveAs(filePath interface{}) *XMLFile_SaveAs_Call

SaveAs is a helper method to define mock.On call

  • filePath string

func (*XMLFile_Expecter) SetSheetHeader

func (_e *XMLFile_Expecter) SetSheetHeader(sheetNr interface{}, headers interface{}) *XMLFile_SetSheetHeader_Call

SetSheetHeader is a helper method to define mock.On call

  • sheetNr int
  • headers []string

func (*XMLFile_Expecter) SetSheetRow

func (_e *XMLFile_Expecter) SetSheetRow(sheetNr interface{}, rowNr interface{}, data interface{}) *XMLFile_SetSheetRow_Call

SetSheetRow is a helper method to define mock.On call

  • sheetNr int
  • rowNr int
  • data []interface{}

type XMLFile_SaveAs_Call

type XMLFile_SaveAs_Call struct {
	*mock.Call
}

XMLFile_SaveAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveAs'

func (*XMLFile_SaveAs_Call) Return

func (*XMLFile_SaveAs_Call) Run

func (_c *XMLFile_SaveAs_Call) Run(run func(filePath string)) *XMLFile_SaveAs_Call

func (*XMLFile_SaveAs_Call) RunAndReturn

func (_c *XMLFile_SaveAs_Call) RunAndReturn(run func(string) error) *XMLFile_SaveAs_Call

type XMLFile_SetSheetHeader_Call

type XMLFile_SetSheetHeader_Call struct {
	*mock.Call
}

XMLFile_SetSheetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSheetHeader'

func (*XMLFile_SetSheetHeader_Call) Return

func (*XMLFile_SetSheetHeader_Call) Run

func (_c *XMLFile_SetSheetHeader_Call) Run(run func(sheetNr int, headers []string)) *XMLFile_SetSheetHeader_Call

func (*XMLFile_SetSheetHeader_Call) RunAndReturn

type XMLFile_SetSheetRow_Call

type XMLFile_SetSheetRow_Call struct {
	*mock.Call
}

XMLFile_SetSheetRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSheetRow'

func (*XMLFile_SetSheetRow_Call) Return

func (*XMLFile_SetSheetRow_Call) Run

func (_c *XMLFile_SetSheetRow_Call) Run(run func(sheetNr int, rowNr int, data []interface{})) *XMLFile_SetSheetRow_Call

func (*XMLFile_SetSheetRow_Call) RunAndReturn

func (_c *XMLFile_SetSheetRow_Call) RunAndReturn(run func(int, int, []interface{}) error) *XMLFile_SetSheetRow_Call

Jump to

Keyboard shortcuts

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