Documentation ¶
Index ¶
- type AppConfig
- func (_m *AppConfig) BlockpitTxTypes() ([]common.TxDisplayName, error)
- func (_m *AppConfig) EXPECT() *AppConfig_Expecter
- func (_m *AppConfig) SetCointracking2BlockpitMapping(ctTxType string, bpTxType string) error
- func (_m *AppConfig) SetSwapHandling(handling string) error
- func (_m *AppConfig) SetTimezone(tz string) error
- func (_m *AppConfig) SwapHandling() string
- func (_m *AppConfig) Timezone() string
- func (_m *AppConfig) TxTypeMappings() ([]common.Ct2BpTxMapping, error)
- type AppConfig_BlockpitTxTypes_Call
- func (_c *AppConfig_BlockpitTxTypes_Call) Return(_a0 []common.TxDisplayName, _a1 error) *AppConfig_BlockpitTxTypes_Call
- func (_c *AppConfig_BlockpitTxTypes_Call) Run(run func()) *AppConfig_BlockpitTxTypes_Call
- func (_c *AppConfig_BlockpitTxTypes_Call) RunAndReturn(run func() ([]common.TxDisplayName, error)) *AppConfig_BlockpitTxTypes_Call
- type AppConfig_Expecter
- func (_e *AppConfig_Expecter) BlockpitTxTypes() *AppConfig_BlockpitTxTypes_Call
- func (_e *AppConfig_Expecter) SetCointracking2BlockpitMapping(ctTxType interface{}, bpTxType interface{}) *AppConfig_SetCointracking2BlockpitMapping_Call
- func (_e *AppConfig_Expecter) SetSwapHandling(handling interface{}) *AppConfig_SetSwapHandling_Call
- func (_e *AppConfig_Expecter) SetTimezone(tz interface{}) *AppConfig_SetTimezone_Call
- func (_e *AppConfig_Expecter) SwapHandling() *AppConfig_SwapHandling_Call
- func (_e *AppConfig_Expecter) Timezone() *AppConfig_Timezone_Call
- func (_e *AppConfig_Expecter) TxTypeMappings() *AppConfig_TxTypeMappings_Call
- type AppConfig_SetCointracking2BlockpitMapping_Call
- func (_c *AppConfig_SetCointracking2BlockpitMapping_Call) Return(_a0 error) *AppConfig_SetCointracking2BlockpitMapping_Call
- func (_c *AppConfig_SetCointracking2BlockpitMapping_Call) Run(run func(ctTxType string, bpTxType string)) *AppConfig_SetCointracking2BlockpitMapping_Call
- func (_c *AppConfig_SetCointracking2BlockpitMapping_Call) RunAndReturn(run func(string, string) error) *AppConfig_SetCointracking2BlockpitMapping_Call
- type AppConfig_SetSwapHandling_Call
- func (_c *AppConfig_SetSwapHandling_Call) Return(_a0 error) *AppConfig_SetSwapHandling_Call
- func (_c *AppConfig_SetSwapHandling_Call) Run(run func(handling string)) *AppConfig_SetSwapHandling_Call
- func (_c *AppConfig_SetSwapHandling_Call) RunAndReturn(run func(string) error) *AppConfig_SetSwapHandling_Call
- type AppConfig_SetTimezone_Call
- type AppConfig_SwapHandling_Call
- type AppConfig_Timezone_Call
- type AppConfig_TxTypeMappings_Call
- func (_c *AppConfig_TxTypeMappings_Call) Return(_a0 []common.Ct2BpTxMapping, _a1 error) *AppConfig_TxTypeMappings_Call
- func (_c *AppConfig_TxTypeMappings_Call) Run(run func()) *AppConfig_TxTypeMappings_Call
- func (_c *AppConfig_TxTypeMappings_Call) RunAndReturn(run func() ([]common.Ct2BpTxMapping, error)) *AppConfig_TxTypeMappings_Call
- type AppContext
- func (_m *AppContext) AddExportFile(file *common.ExportFileInfo)
- func (_m *AppContext) AllTxIDs() []string
- func (_m *AppContext) Context() context.Context
- func (_m *AppContext) EXPECT() *AppContext_Expecter
- func (_m *AppContext) ExportFiles() []*common.ExportFileInfo
- func (_m *AppContext) LastSelectedFileDir() string
- func (_m *AppContext) SetContext(ctx context.Context)
- func (_m *AppContext) SetLastSelectedFileDirFromFile(filepath string)
- type AppContext_AddExportFile_Call
- func (_c *AppContext_AddExportFile_Call) Return() *AppContext_AddExportFile_Call
- func (_c *AppContext_AddExportFile_Call) Run(run func(file *common.ExportFileInfo)) *AppContext_AddExportFile_Call
- func (_c *AppContext_AddExportFile_Call) RunAndReturn(run func(*common.ExportFileInfo)) *AppContext_AddExportFile_Call
- type AppContext_AllTxIDs_Call
- type AppContext_Context_Call
- type AppContext_Expecter
- func (_e *AppContext_Expecter) AddExportFile(file interface{}) *AppContext_AddExportFile_Call
- func (_e *AppContext_Expecter) AllTxIDs() *AppContext_AllTxIDs_Call
- func (_e *AppContext_Expecter) Context() *AppContext_Context_Call
- func (_e *AppContext_Expecter) ExportFiles() *AppContext_ExportFiles_Call
- func (_e *AppContext_Expecter) LastSelectedFileDir() *AppContext_LastSelectedFileDir_Call
- func (_e *AppContext_Expecter) SetContext(ctx interface{}) *AppContext_SetContext_Call
- func (_e *AppContext_Expecter) SetLastSelectedFileDirFromFile(filepath interface{}) *AppContext_SetLastSelectedFileDirFromFile_Call
- type AppContext_ExportFiles_Call
- func (_c *AppContext_ExportFiles_Call) Return(_a0 []*common.ExportFileInfo) *AppContext_ExportFiles_Call
- func (_c *AppContext_ExportFiles_Call) Run(run func()) *AppContext_ExportFiles_Call
- func (_c *AppContext_ExportFiles_Call) RunAndReturn(run func() []*common.ExportFileInfo) *AppContext_ExportFiles_Call
- type AppContext_LastSelectedFileDir_Call
- func (_c *AppContext_LastSelectedFileDir_Call) Return(_a0 string) *AppContext_LastSelectedFileDir_Call
- func (_c *AppContext_LastSelectedFileDir_Call) Run(run func()) *AppContext_LastSelectedFileDir_Call
- func (_c *AppContext_LastSelectedFileDir_Call) RunAndReturn(run func() string) *AppContext_LastSelectedFileDir_Call
- type AppContext_SetContext_Call
- type AppContext_SetLastSelectedFileDirFromFile_Call
- func (_c *AppContext_SetLastSelectedFileDirFromFile_Call) Return() *AppContext_SetLastSelectedFileDirFromFile_Call
- func (_c *AppContext_SetLastSelectedFileDirFromFile_Call) Run(run func(filepath string)) *AppContext_SetLastSelectedFileDirFromFile_Call
- func (_c *AppContext_SetLastSelectedFileDirFromFile_Call) RunAndReturn(run func(string)) *AppContext_SetLastSelectedFileDirFromFile_Call
- type BlockpitBackend
- type BlockpitBackend_Expecter
- type BlockpitBackend_ExportToBlockpitXlsx_Call
- func (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) Return(_a0 error) *BlockpitBackend_ExportToBlockpitXlsx_Call
- func (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) Run(run func()) *BlockpitBackend_ExportToBlockpitXlsx_Call
- func (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) RunAndReturn(run func() error) *BlockpitBackend_ExportToBlockpitXlsx_Call
- type BlockpitTxConverter
- type BlockpitTxConverter_Expecter
- type BlockpitTxConverter_FromCointrackingTx_Call
- func (_c *BlockpitTxConverter_FromCointrackingTx_Call) Return(_a0 []*interfaces.BlockpitTx, _a1 error) *BlockpitTxConverter_FromCointrackingTx_Call
- func (_c *BlockpitTxConverter_FromCointrackingTx_Call) Run(run func(ctTx *common.CointrackingTx)) *BlockpitTxConverter_FromCointrackingTx_Call
- func (_c *BlockpitTxConverter_FromCointrackingTx_Call) RunAndReturn(run func(*common.CointrackingTx) ([]*interfaces.BlockpitTx, error)) *BlockpitTxConverter_FromCointrackingTx_Call
- type CoinTrackingBackend
- type CoinTrackingBackend_Expecter
- type CoinTrackingBackend_OpenExportFile_Call
- func (_c *CoinTrackingBackend_OpenExportFile_Call) Return(_a0 string, _a1 error) *CoinTrackingBackend_OpenExportFile_Call
- func (_c *CoinTrackingBackend_OpenExportFile_Call) Run(run func(timezone string)) *CoinTrackingBackend_OpenExportFile_Call
- func (_c *CoinTrackingBackend_OpenExportFile_Call) RunAndReturn(run func(string) (string, error)) *CoinTrackingBackend_OpenExportFile_Call
- type CointrackingCsvReader
- type CointrackingCsvReader_Expecter
- type CointrackingCsvReader_ReadFile_Call
- func (_c *CointrackingCsvReader_ReadFile_Call) Return(_a0 *common.ExportFileInfo, _a1 error) *CointrackingCsvReader_ReadFile_Call
- func (_c *CointrackingCsvReader_ReadFile_Call) Run(run func(filepath string, loc *time.Location, existingTxIDs []string)) *CointrackingCsvReader_ReadFile_Call
- func (_c *CointrackingCsvReader_ReadFile_Call) RunAndReturn(run func(string, *time.Location, []string) (*common.ExportFileInfo, error)) *CointrackingCsvReader_ReadFile_Call
- type Initializer
- type Initializer_Expecter
- type Initializer_Init_Call
- type TransactionsFileWriter
- type TransactionsFileWriter_Expecter
- type TransactionsFileWriter_WriteTransactionsToFile_Call
- func (_c *TransactionsFileWriter_WriteTransactionsToFile_Call) Return(_a0 error) *TransactionsFileWriter_WriteTransactionsToFile_Call
- func (_c *TransactionsFileWriter_WriteTransactionsToFile_Call) Run(run func(filePath string, transactions []*common.CointrackingTx)) *TransactionsFileWriter_WriteTransactionsToFile_Call
- func (_c *TransactionsFileWriter_WriteTransactionsToFile_Call) RunAndReturn(run func(string, []*common.CointrackingTx) error) *TransactionsFileWriter_WriteTransactionsToFile_Call
- type TxTypeManager
- func (_m *TxTypeManager) BlockpitTxType(ctTxType cointrackingtxtype.CtTxType) (common.TxDisplayName, error)
- func (_m *TxTypeManager) BlockpitTxTypes() ([]common.TxDisplayName, error)
- func (_m *TxTypeManager) EXPECT() *TxTypeManager_Expecter
- func (_m *TxTypeManager) GetMapping() ([]common.Ct2BpTxMapping, error)
- func (_m *TxTypeManager) SetMapping(ctTxType cointrackingtxtype.CtTxType, bpTxType blockpittxtype.BpTxType) error
- type TxTypeManager_BlockpitTxType_Call
- func (_c *TxTypeManager_BlockpitTxType_Call) Return(_a0 common.TxDisplayName, _a1 error) *TxTypeManager_BlockpitTxType_Call
- func (_c *TxTypeManager_BlockpitTxType_Call) Run(run func(ctTxType cointrackingtxtype.CtTxType)) *TxTypeManager_BlockpitTxType_Call
- func (_c *TxTypeManager_BlockpitTxType_Call) RunAndReturn(run func(cointrackingtxtype.CtTxType) (common.TxDisplayName, error)) *TxTypeManager_BlockpitTxType_Call
- type TxTypeManager_BlockpitTxTypes_Call
- func (_c *TxTypeManager_BlockpitTxTypes_Call) Return(_a0 []common.TxDisplayName, _a1 error) *TxTypeManager_BlockpitTxTypes_Call
- func (_c *TxTypeManager_BlockpitTxTypes_Call) Run(run func()) *TxTypeManager_BlockpitTxTypes_Call
- func (_c *TxTypeManager_BlockpitTxTypes_Call) RunAndReturn(run func() ([]common.TxDisplayName, error)) *TxTypeManager_BlockpitTxTypes_Call
- type TxTypeManager_Expecter
- func (_e *TxTypeManager_Expecter) BlockpitTxType(ctTxType interface{}) *TxTypeManager_BlockpitTxType_Call
- func (_e *TxTypeManager_Expecter) BlockpitTxTypes() *TxTypeManager_BlockpitTxTypes_Call
- func (_e *TxTypeManager_Expecter) GetMapping() *TxTypeManager_GetMapping_Call
- func (_e *TxTypeManager_Expecter) SetMapping(ctTxType interface{}, bpTxType interface{}) *TxTypeManager_SetMapping_Call
- type TxTypeManager_GetMapping_Call
- func (_c *TxTypeManager_GetMapping_Call) Return(_a0 []common.Ct2BpTxMapping, _a1 error) *TxTypeManager_GetMapping_Call
- func (_c *TxTypeManager_GetMapping_Call) Run(run func()) *TxTypeManager_GetMapping_Call
- func (_c *TxTypeManager_GetMapping_Call) RunAndReturn(run func() ([]common.Ct2BpTxMapping, error)) *TxTypeManager_GetMapping_Call
- type TxTypeManager_SetMapping_Call
- func (_c *TxTypeManager_SetMapping_Call) Return(_a0 error) *TxTypeManager_SetMapping_Call
- func (_c *TxTypeManager_SetMapping_Call) Run(...) *TxTypeManager_SetMapping_Call
- func (_c *TxTypeManager_SetMapping_Call) RunAndReturn(run func(cointrackingtxtype.CtTxType, blockpittxtype.BpTxType) error) *TxTypeManager_SetMapping_Call
- type WailsLogger
- func (_m *WailsLogger) EXPECT() *WailsLogger_Expecter
- func (_m *WailsLogger) LogDebug(ctx context.Context, message string)
- func (_m *WailsLogger) LogDebugf(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogError(ctx context.Context, message string)
- func (_m *WailsLogger) LogErrorf(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogFatal(ctx context.Context, message string)
- func (_m *WailsLogger) LogFatalf(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogInfo(ctx context.Context, message string)
- func (_m *WailsLogger) LogInfof(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogPrint(ctx context.Context, message string)
- func (_m *WailsLogger) LogPrintf(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogTrace(ctx context.Context, message string)
- func (_m *WailsLogger) LogTracef(ctx context.Context, format string, args ...interface{})
- func (_m *WailsLogger) LogWarning(ctx context.Context, message string)
- func (_m *WailsLogger) LogWarningf(ctx context.Context, format string, args ...interface{})
- type WailsLogger_Expecter
- func (_e *WailsLogger_Expecter) LogDebug(ctx interface{}, message interface{}) *WailsLogger_LogDebug_Call
- func (_e *WailsLogger_Expecter) LogDebugf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogDebugf_Call
- func (_e *WailsLogger_Expecter) LogError(ctx interface{}, message interface{}) *WailsLogger_LogError_Call
- func (_e *WailsLogger_Expecter) LogErrorf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogErrorf_Call
- func (_e *WailsLogger_Expecter) LogFatal(ctx interface{}, message interface{}) *WailsLogger_LogFatal_Call
- func (_e *WailsLogger_Expecter) LogFatalf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogFatalf_Call
- func (_e *WailsLogger_Expecter) LogInfo(ctx interface{}, message interface{}) *WailsLogger_LogInfo_Call
- func (_e *WailsLogger_Expecter) LogInfof(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogInfof_Call
- func (_e *WailsLogger_Expecter) LogPrint(ctx interface{}, message interface{}) *WailsLogger_LogPrint_Call
- func (_e *WailsLogger_Expecter) LogPrintf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogPrintf_Call
- func (_e *WailsLogger_Expecter) LogTrace(ctx interface{}, message interface{}) *WailsLogger_LogTrace_Call
- func (_e *WailsLogger_Expecter) LogTracef(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogTracef_Call
- func (_e *WailsLogger_Expecter) LogWarning(ctx interface{}, message interface{}) *WailsLogger_LogWarning_Call
- func (_e *WailsLogger_Expecter) LogWarningf(ctx interface{}, format interface{}, args ...interface{}) *WailsLogger_LogWarningf_Call
- type WailsLogger_LogDebug_Call
- type WailsLogger_LogDebugf_Call
- func (_c *WailsLogger_LogDebugf_Call) Return() *WailsLogger_LogDebugf_Call
- func (_c *WailsLogger_LogDebugf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogDebugf_Call
- func (_c *WailsLogger_LogDebugf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogDebugf_Call
- type WailsLogger_LogError_Call
- type WailsLogger_LogErrorf_Call
- func (_c *WailsLogger_LogErrorf_Call) Return() *WailsLogger_LogErrorf_Call
- func (_c *WailsLogger_LogErrorf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogErrorf_Call
- func (_c *WailsLogger_LogErrorf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogErrorf_Call
- type WailsLogger_LogFatal_Call
- type WailsLogger_LogFatalf_Call
- func (_c *WailsLogger_LogFatalf_Call) Return() *WailsLogger_LogFatalf_Call
- func (_c *WailsLogger_LogFatalf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogFatalf_Call
- func (_c *WailsLogger_LogFatalf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogFatalf_Call
- type WailsLogger_LogInfo_Call
- type WailsLogger_LogInfof_Call
- func (_c *WailsLogger_LogInfof_Call) Return() *WailsLogger_LogInfof_Call
- func (_c *WailsLogger_LogInfof_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogInfof_Call
- func (_c *WailsLogger_LogInfof_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogInfof_Call
- type WailsLogger_LogPrint_Call
- type WailsLogger_LogPrintf_Call
- func (_c *WailsLogger_LogPrintf_Call) Return() *WailsLogger_LogPrintf_Call
- func (_c *WailsLogger_LogPrintf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogPrintf_Call
- func (_c *WailsLogger_LogPrintf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogPrintf_Call
- type WailsLogger_LogTrace_Call
- type WailsLogger_LogTracef_Call
- func (_c *WailsLogger_LogTracef_Call) Return() *WailsLogger_LogTracef_Call
- func (_c *WailsLogger_LogTracef_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogTracef_Call
- func (_c *WailsLogger_LogTracef_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogTracef_Call
- type WailsLogger_LogWarning_Call
- func (_c *WailsLogger_LogWarning_Call) Return() *WailsLogger_LogWarning_Call
- func (_c *WailsLogger_LogWarning_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogWarning_Call
- func (_c *WailsLogger_LogWarning_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogWarning_Call
- type WailsLogger_LogWarningf_Call
- func (_c *WailsLogger_LogWarningf_Call) Return() *WailsLogger_LogWarningf_Call
- func (_c *WailsLogger_LogWarningf_Call) Run(run func(ctx context.Context, format string, args ...interface{})) *WailsLogger_LogWarningf_Call
- func (_c *WailsLogger_LogWarningf_Call) RunAndReturn(run func(context.Context, string, ...interface{})) *WailsLogger_LogWarningf_Call
- type WailsRuntime
- func (_m *WailsRuntime) EXPECT() *WailsRuntime_Expecter
- func (_m *WailsRuntime) EventsEmit(eventName string, optionalData ...interface{})
- func (_m *WailsRuntime) OpenFileDialog(dialogOptions frontend.OpenDialogOptions) (string, error)
- func (_m *WailsRuntime) SaveFileDialog(dialogOptions frontend.SaveDialogOptions) (string, error)
- type WailsRuntime_EventsEmit_Call
- func (_c *WailsRuntime_EventsEmit_Call) Return() *WailsRuntime_EventsEmit_Call
- func (_c *WailsRuntime_EventsEmit_Call) Run(run func(eventName string, optionalData ...interface{})) *WailsRuntime_EventsEmit_Call
- func (_c *WailsRuntime_EventsEmit_Call) RunAndReturn(run func(string, ...interface{})) *WailsRuntime_EventsEmit_Call
- type WailsRuntime_Expecter
- func (_e *WailsRuntime_Expecter) EventsEmit(eventName interface{}, optionalData ...interface{}) *WailsRuntime_EventsEmit_Call
- func (_e *WailsRuntime_Expecter) OpenFileDialog(dialogOptions interface{}) *WailsRuntime_OpenFileDialog_Call
- func (_e *WailsRuntime_Expecter) SaveFileDialog(dialogOptions interface{}) *WailsRuntime_SaveFileDialog_Call
- type WailsRuntime_OpenFileDialog_Call
- func (_c *WailsRuntime_OpenFileDialog_Call) Return(_a0 string, _a1 error) *WailsRuntime_OpenFileDialog_Call
- func (_c *WailsRuntime_OpenFileDialog_Call) Run(run func(dialogOptions frontend.OpenDialogOptions)) *WailsRuntime_OpenFileDialog_Call
- func (_c *WailsRuntime_OpenFileDialog_Call) RunAndReturn(run func(frontend.OpenDialogOptions) (string, error)) *WailsRuntime_OpenFileDialog_Call
- type WailsRuntime_SaveFileDialog_Call
- func (_c *WailsRuntime_SaveFileDialog_Call) Return(_a0 string, _a1 error) *WailsRuntime_SaveFileDialog_Call
- func (_c *WailsRuntime_SaveFileDialog_Call) Run(run func(dialogOptions frontend.SaveDialogOptions)) *WailsRuntime_SaveFileDialog_Call
- func (_c *WailsRuntime_SaveFileDialog_Call) RunAndReturn(run func(frontend.SaveDialogOptions) (string, error)) *WailsRuntime_SaveFileDialog_Call
- type XMLFile
- type XMLFileFactory
- type XMLFileFactory_Expecter
- type XMLFileFactory_NewXMLFile_Call
- func (_c *XMLFileFactory_NewXMLFile_Call) Return(_a0 interfaces.XMLFile) *XMLFileFactory_NewXMLFile_Call
- func (_c *XMLFileFactory_NewXMLFile_Call) Run(run func()) *XMLFileFactory_NewXMLFile_Call
- func (_c *XMLFileFactory_NewXMLFile_Call) RunAndReturn(run func() interfaces.XMLFile) *XMLFileFactory_NewXMLFile_Call
- type XMLFile_Close_Call
- type XMLFile_Expecter
- func (_e *XMLFile_Expecter) Close() *XMLFile_Close_Call
- func (_e *XMLFile_Expecter) SaveAs(filePath interface{}) *XMLFile_SaveAs_Call
- func (_e *XMLFile_Expecter) SetSheetHeader(sheetNr interface{}, headers interface{}) *XMLFile_SetSheetHeader_Call
- func (_e *XMLFile_Expecter) SetSheetRow(sheetNr interface{}, rowNr interface{}, data interface{}) *XMLFile_SetSheetRow_Call
- type XMLFile_SaveAs_Call
- type XMLFile_SetSheetHeader_Call
- func (_c *XMLFile_SetSheetHeader_Call) Return(_a0 error) *XMLFile_SetSheetHeader_Call
- func (_c *XMLFile_SetSheetHeader_Call) Run(run func(sheetNr int, headers []string)) *XMLFile_SetSheetHeader_Call
- func (_c *XMLFile_SetSheetHeader_Call) RunAndReturn(run func(int, []string) error) *XMLFile_SetSheetHeader_Call
- type XMLFile_SetSheetRow_Call
- func (_c *XMLFile_SetSheetRow_Call) Return(_a0 error) *XMLFile_SetSheetRow_Call
- func (_c *XMLFile_SetSheetRow_Call) Run(run func(sheetNr int, rowNr int, data []interface{})) *XMLFile_SetSheetRow_Call
- func (_c *XMLFile_SetSheetRow_Call) RunAndReturn(run func(int, int, []interface{}) error) *XMLFile_SetSheetRow_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
AppConfig is an autogenerated mock type for the AppConfig type
func NewAppConfig ¶
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 ¶
SetCointracking2BlockpitMapping provides a mock function with given fields: ctTxType, bpTxType
func (*AppConfig) SetSwapHandling ¶
SetSwapHandling provides a mock function with given fields: handling
func (*AppConfig) SetTimezone ¶
SetTimezone provides a mock function with given fields: tz
func (*AppConfig) SwapHandling ¶
SwapHandling 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 ¶
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 (_c *AppConfig_BlockpitTxTypes_Call) Return(_a0 []common.TxDisplayName, _a1 error) *AppConfig_BlockpitTxTypes_Call
func (*AppConfig_BlockpitTxTypes_Call) Run ¶
func (_c *AppConfig_BlockpitTxTypes_Call) Run(run func()) *AppConfig_BlockpitTxTypes_Call
func (*AppConfig_BlockpitTxTypes_Call) RunAndReturn ¶
func (_c *AppConfig_BlockpitTxTypes_Call) RunAndReturn(run func() ([]common.TxDisplayName, error)) *AppConfig_BlockpitTxTypes_Call
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 ¶
func (_e *AppConfig_Expecter) Timezone() *AppConfig_Timezone_Call
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 ¶
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 (_c *AppConfig_SetCointracking2BlockpitMapping_Call) Return(_a0 error) *AppConfig_SetCointracking2BlockpitMapping_Call
func (*AppConfig_SetCointracking2BlockpitMapping_Call) Run ¶
func (_c *AppConfig_SetCointracking2BlockpitMapping_Call) Run(run func(ctTxType string, bpTxType string)) *AppConfig_SetCointracking2BlockpitMapping_Call
func (*AppConfig_SetCointracking2BlockpitMapping_Call) RunAndReturn ¶
func (_c *AppConfig_SetCointracking2BlockpitMapping_Call) RunAndReturn(run func(string, string) error) *AppConfig_SetCointracking2BlockpitMapping_Call
type AppConfig_SetSwapHandling_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 (_c *AppConfig_SetSwapHandling_Call) Return(_a0 error) *AppConfig_SetSwapHandling_Call
func (*AppConfig_SetSwapHandling_Call) Run ¶
func (_c *AppConfig_SetSwapHandling_Call) Run(run func(handling string)) *AppConfig_SetSwapHandling_Call
func (*AppConfig_SetSwapHandling_Call) RunAndReturn ¶
func (_c *AppConfig_SetSwapHandling_Call) RunAndReturn(run func(string) error) *AppConfig_SetSwapHandling_Call
type AppConfig_SetTimezone_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 (_c *AppConfig_SetTimezone_Call) Return(_a0 error) *AppConfig_SetTimezone_Call
func (*AppConfig_SetTimezone_Call) Run ¶
func (_c *AppConfig_SetTimezone_Call) Run(run func(tz string)) *AppConfig_SetTimezone_Call
func (*AppConfig_SetTimezone_Call) RunAndReturn ¶
func (_c *AppConfig_SetTimezone_Call) RunAndReturn(run func(string) error) *AppConfig_SetTimezone_Call
type AppConfig_SwapHandling_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 (_c *AppConfig_SwapHandling_Call) Return(_a0 string) *AppConfig_SwapHandling_Call
func (*AppConfig_SwapHandling_Call) Run ¶
func (_c *AppConfig_SwapHandling_Call) Run(run func()) *AppConfig_SwapHandling_Call
func (*AppConfig_SwapHandling_Call) RunAndReturn ¶
func (_c *AppConfig_SwapHandling_Call) RunAndReturn(run func() string) *AppConfig_SwapHandling_Call
type AppConfig_Timezone_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 (_c *AppConfig_Timezone_Call) Return(_a0 string) *AppConfig_Timezone_Call
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 ¶
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 (_c *AppConfig_TxTypeMappings_Call) Return(_a0 []common.Ct2BpTxMapping, _a1 error) *AppConfig_TxTypeMappings_Call
func (*AppConfig_TxTypeMappings_Call) Run ¶
func (_c *AppConfig_TxTypeMappings_Call) Run(run func()) *AppConfig_TxTypeMappings_Call
func (*AppConfig_TxTypeMappings_Call) RunAndReturn ¶
func (_c *AppConfig_TxTypeMappings_Call) RunAndReturn(run func() ([]common.Ct2BpTxMapping, error)) *AppConfig_TxTypeMappings_Call
type AppContext ¶
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 ¶
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 (_c *AppContext_AddExportFile_Call) Return() *AppContext_AddExportFile_Call
func (*AppContext_AddExportFile_Call) Run ¶
func (_c *AppContext_AddExportFile_Call) Run(run func(file *common.ExportFileInfo)) *AppContext_AddExportFile_Call
func (*AppContext_AddExportFile_Call) RunAndReturn ¶
func (_c *AppContext_AddExportFile_Call) RunAndReturn(run func(*common.ExportFileInfo)) *AppContext_AddExportFile_Call
type AppContext_AllTxIDs_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 (_c *AppContext_AllTxIDs_Call) Return(_a0 []string) *AppContext_AllTxIDs_Call
func (*AppContext_AllTxIDs_Call) Run ¶
func (_c *AppContext_AllTxIDs_Call) Run(run func()) *AppContext_AllTxIDs_Call
func (*AppContext_AllTxIDs_Call) RunAndReturn ¶
func (_c *AppContext_AllTxIDs_Call) RunAndReturn(run func() []string) *AppContext_AllTxIDs_Call
type AppContext_Context_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 (_c *AppContext_Context_Call) Return(_a0 context.Context) *AppContext_Context_Call
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 ¶
func (_e *AppContext_Expecter) AllTxIDs() *AppContext_AllTxIDs_Call
AllTxIDs is a helper method to define mock.On call
func (*AppContext_Expecter) Context ¶
func (_e *AppContext_Expecter) Context() *AppContext_Context_Call
Context is a helper method to define mock.On call
func (*AppContext_Expecter) ExportFiles ¶
func (_e *AppContext_Expecter) ExportFiles() *AppContext_ExportFiles_Call
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 ¶
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 (_c *AppContext_ExportFiles_Call) Return(_a0 []*common.ExportFileInfo) *AppContext_ExportFiles_Call
func (*AppContext_ExportFiles_Call) Run ¶
func (_c *AppContext_ExportFiles_Call) Run(run func()) *AppContext_ExportFiles_Call
func (*AppContext_ExportFiles_Call) RunAndReturn ¶
func (_c *AppContext_ExportFiles_Call) RunAndReturn(run func() []*common.ExportFileInfo) *AppContext_ExportFiles_Call
type AppContext_LastSelectedFileDir_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 (_c *AppContext_LastSelectedFileDir_Call) Return(_a0 string) *AppContext_LastSelectedFileDir_Call
func (*AppContext_LastSelectedFileDir_Call) Run ¶
func (_c *AppContext_LastSelectedFileDir_Call) Run(run func()) *AppContext_LastSelectedFileDir_Call
func (*AppContext_LastSelectedFileDir_Call) RunAndReturn ¶
func (_c *AppContext_LastSelectedFileDir_Call) RunAndReturn(run func() string) *AppContext_LastSelectedFileDir_Call
type AppContext_SetContext_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 (_c *AppContext_SetContext_Call) Return() *AppContext_SetContext_Call
func (*AppContext_SetContext_Call) Run ¶
func (_c *AppContext_SetContext_Call) Run(run func(ctx context.Context)) *AppContext_SetContext_Call
func (*AppContext_SetContext_Call) RunAndReturn ¶
func (_c *AppContext_SetContext_Call) RunAndReturn(run func(context.Context)) *AppContext_SetContext_Call
type AppContext_SetLastSelectedFileDirFromFile_Call ¶
AppContext_SetLastSelectedFileDirFromFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLastSelectedFileDirFromFile'
func (*AppContext_SetLastSelectedFileDirFromFile_Call) Run ¶
func (_c *AppContext_SetLastSelectedFileDirFromFile_Call) Run(run func(filepath string)) *AppContext_SetLastSelectedFileDirFromFile_Call
func (*AppContext_SetLastSelectedFileDirFromFile_Call) RunAndReturn ¶
func (_c *AppContext_SetLastSelectedFileDirFromFile_Call) RunAndReturn(run func(string)) *AppContext_SetLastSelectedFileDirFromFile_Call
type BlockpitBackend ¶
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 (_m *BlockpitBackend) EXPECT() *BlockpitBackend_Expecter
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 ¶
func (_e *BlockpitBackend_Expecter) ExportToBlockpitXlsx() *BlockpitBackend_ExportToBlockpitXlsx_Call
ExportToBlockpitXlsx is a helper method to define mock.On call
type BlockpitBackend_ExportToBlockpitXlsx_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 (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) Return(_a0 error) *BlockpitBackend_ExportToBlockpitXlsx_Call
func (*BlockpitBackend_ExportToBlockpitXlsx_Call) Run ¶
func (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) Run(run func()) *BlockpitBackend_ExportToBlockpitXlsx_Call
func (*BlockpitBackend_ExportToBlockpitXlsx_Call) RunAndReturn ¶
func (_c *BlockpitBackend_ExportToBlockpitXlsx_Call) RunAndReturn(run func() error) *BlockpitBackend_ExportToBlockpitXlsx_Call
type BlockpitTxConverter ¶
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 (_m *BlockpitTxConverter) EXPECT() *BlockpitTxConverter_Expecter
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 ¶
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 (_c *BlockpitTxConverter_FromCointrackingTx_Call) Return(_a0 []*interfaces.BlockpitTx, _a1 error) *BlockpitTxConverter_FromCointrackingTx_Call
func (*BlockpitTxConverter_FromCointrackingTx_Call) Run ¶
func (_c *BlockpitTxConverter_FromCointrackingTx_Call) Run(run func(ctTx *common.CointrackingTx)) *BlockpitTxConverter_FromCointrackingTx_Call
func (*BlockpitTxConverter_FromCointrackingTx_Call) RunAndReturn ¶
func (_c *BlockpitTxConverter_FromCointrackingTx_Call) RunAndReturn(run func(*common.CointrackingTx) ([]*interfaces.BlockpitTx, error)) *BlockpitTxConverter_FromCointrackingTx_Call
type CoinTrackingBackend ¶
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 (_m *CoinTrackingBackend) EXPECT() *CoinTrackingBackend_Expecter
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 ¶
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 (_c *CoinTrackingBackend_OpenExportFile_Call) Return(_a0 string, _a1 error) *CoinTrackingBackend_OpenExportFile_Call
func (*CoinTrackingBackend_OpenExportFile_Call) Run ¶
func (_c *CoinTrackingBackend_OpenExportFile_Call) Run(run func(timezone string)) *CoinTrackingBackend_OpenExportFile_Call
func (*CoinTrackingBackend_OpenExportFile_Call) RunAndReturn ¶
func (_c *CoinTrackingBackend_OpenExportFile_Call) RunAndReturn(run func(string) (string, error)) *CoinTrackingBackend_OpenExportFile_Call
type CointrackingCsvReader ¶
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 (_m *CointrackingCsvReader) EXPECT() *CointrackingCsvReader_Expecter
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 ¶
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 (_c *CointrackingCsvReader_ReadFile_Call) Return(_a0 *common.ExportFileInfo, _a1 error) *CointrackingCsvReader_ReadFile_Call
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 ¶
func (_c *CointrackingCsvReader_ReadFile_Call) RunAndReturn(run func(string, *time.Location, []string) (*common.ExportFileInfo, error)) *CointrackingCsvReader_ReadFile_Call
type Initializer ¶
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 ¶
func (_e *Initializer_Expecter) Init() *Initializer_Init_Call
Init is a helper method to define mock.On call
type Initializer_Init_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 (_c *Initializer_Init_Call) Return(_a0 error) *Initializer_Init_Call
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 ¶
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 (_m *TransactionsFileWriter) EXPECT() *TransactionsFileWriter_Expecter
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 ¶
TransactionsFileWriter_WriteTransactionsToFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteTransactionsToFile'
func (*TransactionsFileWriter_WriteTransactionsToFile_Call) Run ¶
func (_c *TransactionsFileWriter_WriteTransactionsToFile_Call) Run(run func(filePath string, transactions []*common.CointrackingTx)) *TransactionsFileWriter_WriteTransactionsToFile_Call
func (*TransactionsFileWriter_WriteTransactionsToFile_Call) RunAndReturn ¶
func (_c *TransactionsFileWriter_WriteTransactionsToFile_Call) RunAndReturn(run func(string, []*common.CointrackingTx) error) *TransactionsFileWriter_WriteTransactionsToFile_Call
type TxTypeManager ¶
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 ¶
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 (_c *TxTypeManager_BlockpitTxType_Call) Return(_a0 common.TxDisplayName, _a1 error) *TxTypeManager_BlockpitTxType_Call
func (*TxTypeManager_BlockpitTxType_Call) Run ¶
func (_c *TxTypeManager_BlockpitTxType_Call) Run(run func(ctTxType cointrackingtxtype.CtTxType)) *TxTypeManager_BlockpitTxType_Call
func (*TxTypeManager_BlockpitTxType_Call) RunAndReturn ¶
func (_c *TxTypeManager_BlockpitTxType_Call) RunAndReturn(run func(cointrackingtxtype.CtTxType) (common.TxDisplayName, error)) *TxTypeManager_BlockpitTxType_Call
type TxTypeManager_BlockpitTxTypes_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 (_c *TxTypeManager_BlockpitTxTypes_Call) Return(_a0 []common.TxDisplayName, _a1 error) *TxTypeManager_BlockpitTxTypes_Call
func (*TxTypeManager_BlockpitTxTypes_Call) Run ¶
func (_c *TxTypeManager_BlockpitTxTypes_Call) Run(run func()) *TxTypeManager_BlockpitTxTypes_Call
func (*TxTypeManager_BlockpitTxTypes_Call) RunAndReturn ¶
func (_c *TxTypeManager_BlockpitTxTypes_Call) RunAndReturn(run func() ([]common.TxDisplayName, error)) *TxTypeManager_BlockpitTxTypes_Call
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 ¶
func (_e *TxTypeManager_Expecter) BlockpitTxTypes() *TxTypeManager_BlockpitTxTypes_Call
BlockpitTxTypes is a helper method to define mock.On call
func (*TxTypeManager_Expecter) GetMapping ¶
func (_e *TxTypeManager_Expecter) GetMapping() *TxTypeManager_GetMapping_Call
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 ¶
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 (_c *TxTypeManager_GetMapping_Call) Return(_a0 []common.Ct2BpTxMapping, _a1 error) *TxTypeManager_GetMapping_Call
func (*TxTypeManager_GetMapping_Call) Run ¶
func (_c *TxTypeManager_GetMapping_Call) Run(run func()) *TxTypeManager_GetMapping_Call
func (*TxTypeManager_GetMapping_Call) RunAndReturn ¶
func (_c *TxTypeManager_GetMapping_Call) RunAndReturn(run func() ([]common.Ct2BpTxMapping, error)) *TxTypeManager_GetMapping_Call
type TxTypeManager_SetMapping_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 (_c *TxTypeManager_SetMapping_Call) Return(_a0 error) *TxTypeManager_SetMapping_Call
func (*TxTypeManager_SetMapping_Call) Run ¶
func (_c *TxTypeManager_SetMapping_Call) Run(run func(ctTxType cointrackingtxtype.CtTxType, bpTxType blockpittxtype.BpTxType)) *TxTypeManager_SetMapping_Call
func (*TxTypeManager_SetMapping_Call) RunAndReturn ¶
func (_c *TxTypeManager_SetMapping_Call) RunAndReturn(run func(cointrackingtxtype.CtTxType, blockpittxtype.BpTxType) error) *TxTypeManager_SetMapping_Call
type WailsLogger ¶
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 ¶
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 (_c *WailsLogger_LogDebug_Call) Return() *WailsLogger_LogDebug_Call
func (*WailsLogger_LogDebug_Call) Run ¶
func (_c *WailsLogger_LogDebug_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogDebug_Call
func (*WailsLogger_LogDebug_Call) RunAndReturn ¶
func (_c *WailsLogger_LogDebug_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogDebug_Call
type WailsLogger_LogDebugf_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 (_c *WailsLogger_LogDebugf_Call) Return() *WailsLogger_LogDebugf_Call
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 ¶
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 (_c *WailsLogger_LogError_Call) Return() *WailsLogger_LogError_Call
func (*WailsLogger_LogError_Call) Run ¶
func (_c *WailsLogger_LogError_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogError_Call
func (*WailsLogger_LogError_Call) RunAndReturn ¶
func (_c *WailsLogger_LogError_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogError_Call
type WailsLogger_LogErrorf_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 (_c *WailsLogger_LogErrorf_Call) Return() *WailsLogger_LogErrorf_Call
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 ¶
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 (_c *WailsLogger_LogFatal_Call) Return() *WailsLogger_LogFatal_Call
func (*WailsLogger_LogFatal_Call) Run ¶
func (_c *WailsLogger_LogFatal_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogFatal_Call
func (*WailsLogger_LogFatal_Call) RunAndReturn ¶
func (_c *WailsLogger_LogFatal_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogFatal_Call
type WailsLogger_LogFatalf_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 (_c *WailsLogger_LogFatalf_Call) Return() *WailsLogger_LogFatalf_Call
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 ¶
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 (_c *WailsLogger_LogInfo_Call) Return() *WailsLogger_LogInfo_Call
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 ¶
func (_c *WailsLogger_LogInfo_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogInfo_Call
type WailsLogger_LogInfof_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 (_c *WailsLogger_LogInfof_Call) Return() *WailsLogger_LogInfof_Call
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 ¶
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 (_c *WailsLogger_LogPrint_Call) Return() *WailsLogger_LogPrint_Call
func (*WailsLogger_LogPrint_Call) Run ¶
func (_c *WailsLogger_LogPrint_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogPrint_Call
func (*WailsLogger_LogPrint_Call) RunAndReturn ¶
func (_c *WailsLogger_LogPrint_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogPrint_Call
type WailsLogger_LogPrintf_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 (_c *WailsLogger_LogPrintf_Call) Return() *WailsLogger_LogPrintf_Call
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 ¶
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 (_c *WailsLogger_LogTrace_Call) Return() *WailsLogger_LogTrace_Call
func (*WailsLogger_LogTrace_Call) Run ¶
func (_c *WailsLogger_LogTrace_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogTrace_Call
func (*WailsLogger_LogTrace_Call) RunAndReturn ¶
func (_c *WailsLogger_LogTrace_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogTrace_Call
type WailsLogger_LogTracef_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 (_c *WailsLogger_LogTracef_Call) Return() *WailsLogger_LogTracef_Call
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 ¶
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 (_c *WailsLogger_LogWarning_Call) Return() *WailsLogger_LogWarning_Call
func (*WailsLogger_LogWarning_Call) Run ¶
func (_c *WailsLogger_LogWarning_Call) Run(run func(ctx context.Context, message string)) *WailsLogger_LogWarning_Call
func (*WailsLogger_LogWarning_Call) RunAndReturn ¶
func (_c *WailsLogger_LogWarning_Call) RunAndReturn(run func(context.Context, string)) *WailsLogger_LogWarning_Call
type WailsLogger_LogWarningf_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 (_c *WailsLogger_LogWarningf_Call) Return() *WailsLogger_LogWarningf_Call
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 ¶
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 ¶
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 (_c *WailsRuntime_EventsEmit_Call) Return() *WailsRuntime_EventsEmit_Call
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 ¶
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 (_c *WailsRuntime_OpenFileDialog_Call) Return(_a0 string, _a1 error) *WailsRuntime_OpenFileDialog_Call
func (*WailsRuntime_OpenFileDialog_Call) Run ¶
func (_c *WailsRuntime_OpenFileDialog_Call) Run(run func(dialogOptions frontend.OpenDialogOptions)) *WailsRuntime_OpenFileDialog_Call
func (*WailsRuntime_OpenFileDialog_Call) RunAndReturn ¶
func (_c *WailsRuntime_OpenFileDialog_Call) RunAndReturn(run func(frontend.OpenDialogOptions) (string, error)) *WailsRuntime_OpenFileDialog_Call
type WailsRuntime_SaveFileDialog_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 (_c *WailsRuntime_SaveFileDialog_Call) Return(_a0 string, _a1 error) *WailsRuntime_SaveFileDialog_Call
func (*WailsRuntime_SaveFileDialog_Call) Run ¶
func (_c *WailsRuntime_SaveFileDialog_Call) Run(run func(dialogOptions frontend.SaveDialogOptions)) *WailsRuntime_SaveFileDialog_Call
func (*WailsRuntime_SaveFileDialog_Call) RunAndReturn ¶
func (_c *WailsRuntime_SaveFileDialog_Call) RunAndReturn(run func(frontend.SaveDialogOptions) (string, error)) *WailsRuntime_SaveFileDialog_Call
type XMLFile ¶
XMLFile is an autogenerated mock type for the XMLFile type
func NewXMLFile ¶
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) EXPECT ¶
func (_m *XMLFile) EXPECT() *XMLFile_Expecter
func (*XMLFile) SetSheetHeader ¶
SetSheetHeader provides a mock function with given fields: sheetNr, headers
type XMLFileFactory ¶
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 (_m *XMLFileFactory) EXPECT() *XMLFileFactory_Expecter
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 ¶
func (_e *XMLFileFactory_Expecter) NewXMLFile() *XMLFileFactory_NewXMLFile_Call
NewXMLFile is a helper method to define mock.On call
type XMLFileFactory_NewXMLFile_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 (_c *XMLFileFactory_NewXMLFile_Call) Return(_a0 interfaces.XMLFile) *XMLFileFactory_NewXMLFile_Call
func (*XMLFileFactory_NewXMLFile_Call) Run ¶
func (_c *XMLFileFactory_NewXMLFile_Call) Run(run func()) *XMLFileFactory_NewXMLFile_Call
func (*XMLFileFactory_NewXMLFile_Call) RunAndReturn ¶
func (_c *XMLFileFactory_NewXMLFile_Call) RunAndReturn(run func() interfaces.XMLFile) *XMLFileFactory_NewXMLFile_Call
type XMLFile_Close_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 ¶
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 (_c *XMLFile_SaveAs_Call) Return(_a0 error) *XMLFile_SaveAs_Call
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 ¶
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 (_c *XMLFile_SetSheetHeader_Call) Return(_a0 error) *XMLFile_SetSheetHeader_Call
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 ¶
func (_c *XMLFile_SetSheetHeader_Call) RunAndReturn(run func(int, []string) error) *XMLFile_SetSheetHeader_Call
type XMLFile_SetSheetRow_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 (_c *XMLFile_SetSheetRow_Call) Return(_a0 error) *XMLFile_SetSheetRow_Call
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