Documentation
¶
Overview ¶
URLUnfurlingMode mocks base method.
Package mock_settings is a generated GoMock package.
Index ¶
- type MockDatabaseSettingsManager
- func (m *MockDatabaseSettingsManager) AutoMessageEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) BackupEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) BackupFetched() (bool, error)
- func (m *MockDatabaseSettingsManager) Bio() (string, error)
- func (m *MockDatabaseSettingsManager) CanSyncOnMobileNetwork() (bool, error)
- func (m *MockDatabaseSettingsManager) CanUseMailservers() (bool, error)
- func (m *MockDatabaseSettingsManager) CreateSettings(s settings.Settings, n params.NodeConfig) error
- func (m *MockDatabaseSettingsManager) DeleteMnemonic() error
- func (m *MockDatabaseSettingsManager) DeviceName() (string, error)
- func (m *MockDatabaseSettingsManager) DisplayName() (string, error)
- func (m *MockDatabaseSettingsManager) ENSName() (string, error)
- func (m *MockDatabaseSettingsManager) EXPECT() *MockDatabaseSettingsManagerMockRecorder
- func (m *MockDatabaseSettingsManager) GetChangesSubscriptions() []chan *settings.SyncSettingField
- func (m *MockDatabaseSettingsManager) GetCurrency() (string, error)
- func (m *MockDatabaseSettingsManager) GetCurrentStatus(status interface{}) error
- func (m *MockDatabaseSettingsManager) GetDB() *sql.DB
- func (m *MockDatabaseSettingsManager) GetDappsAddress() (types.Address, error)
- func (m *MockDatabaseSettingsManager) GetDefaultSyncPeriod() (uint32, error)
- func (m *MockDatabaseSettingsManager) GetDisplayAssetsBelowBalance() (bool, error)
- func (m *MockDatabaseSettingsManager) GetDisplayAssetsBelowBalanceThreshold() (uint64, error)
- func (m *MockDatabaseSettingsManager) GetEIP1581Address() (types.Address, error)
- func (m *MockDatabaseSettingsManager) GetFleet() (string, error)
- func (m *MockDatabaseSettingsManager) GetInstalledStickerPacks() (*json.RawMessage, error)
- func (m *MockDatabaseSettingsManager) GetIsSepoliaEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) GetLatestDerivedPath() (uint, error)
- func (m *MockDatabaseSettingsManager) GetMasterAddress() (types.Address, error)
- func (m *MockDatabaseSettingsManager) GetMessagesFromContactsOnly() (bool, error)
- func (m *MockDatabaseSettingsManager) GetMnemonicWasNotShown() (bool, error)
- func (m *MockDatabaseSettingsManager) GetNotificationsEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) GetNotifier() settings.Notifier
- func (m *MockDatabaseSettingsManager) GetPendingStickerPacks() (*json.RawMessage, error)
- func (m *MockDatabaseSettingsManager) GetPinnedMailservers() (map[string]string, error)
- func (m *MockDatabaseSettingsManager) GetPreferredUsername() (string, error)
- func (m *MockDatabaseSettingsManager) GetProfilePicturesShowTo() (int64, error)
- func (m *MockDatabaseSettingsManager) GetProfilePicturesVisibility() (int, error)
- func (m *MockDatabaseSettingsManager) GetPublicKey() (string, error)
- func (m *MockDatabaseSettingsManager) GetRecentStickers() (*json.RawMessage, error)
- func (m *MockDatabaseSettingsManager) GetSettingLastSynced(setting settings.SettingField) (uint64, error)
- func (m *MockDatabaseSettingsManager) GetSettings() (settings.Settings, error)
- func (m *MockDatabaseSettingsManager) GetSyncQueue() chan settings.SyncSettingField
- func (m *MockDatabaseSettingsManager) GetTelemetryServerURL() (string, error)
- func (m *MockDatabaseSettingsManager) GetTestNetworksEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) GetTokenGroupByCommunity() (bool, error)
- func (m *MockDatabaseSettingsManager) GetWalletRootAddress() (types.Address, error)
- func (m *MockDatabaseSettingsManager) GifAPIKey() (string, error)
- func (m *MockDatabaseSettingsManager) GifFavorites() (json.RawMessage, error)
- func (m *MockDatabaseSettingsManager) GifRecents() (json.RawMessage, error)
- func (m *MockDatabaseSettingsManager) LastBackup() (uint64, error)
- func (m *MockDatabaseSettingsManager) Mnemonic() (string, error)
- func (m *MockDatabaseSettingsManager) MnemonicRemoved() (bool, error)
- func (m *MockDatabaseSettingsManager) MnemonicWasShown() error
- func (m *MockDatabaseSettingsManager) MutualContactEnabled() (bool, error)
- func (m *MockDatabaseSettingsManager) ProfileMigrationNeeded() (bool, error)
- func (m *MockDatabaseSettingsManager) SaveSetting(setting string, value interface{}) error
- func (m *MockDatabaseSettingsManager) SaveSettingField(sf settings.SettingField, value interface{}) error
- func (m *MockDatabaseSettingsManager) SaveSyncSetting(setting settings.SettingField, value interface{}, clock uint64) error
- func (m *MockDatabaseSettingsManager) SetBackupFetched(fetched bool) error
- func (m *MockDatabaseSettingsManager) SetLastBackup(time uint64) error
- func (m *MockDatabaseSettingsManager) SetPinnedMailservers(mailservers map[string]string) error
- func (m *MockDatabaseSettingsManager) SetSettingLastSynced(setting settings.SettingField, clock uint64) error
- func (m *MockDatabaseSettingsManager) SetSettingsNotifier(n settings.Notifier)
- func (m *MockDatabaseSettingsManager) SetTokenGroupByCommunity(value bool) error
- func (m *MockDatabaseSettingsManager) SetUseMailservers(value bool) error
- func (m *MockDatabaseSettingsManager) ShouldBroadcastUserStatus() (bool, error)
- func (m *MockDatabaseSettingsManager) SubscribeToChanges() chan *settings.SyncSettingField
- func (m *MockDatabaseSettingsManager) URLUnfurlingMode() (int64, error)
- type MockDatabaseSettingsManagerMockRecorder
- func (mr *MockDatabaseSettingsManagerMockRecorder) AutoMessageEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) BackupEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) BackupFetched() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) Bio() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) CanSyncOnMobileNetwork() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) CanUseMailservers() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) CreateSettings(s, n interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) DeleteMnemonic() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) DeviceName() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) DisplayName() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) ENSName() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetChangesSubscriptions() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetCurrency() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetCurrentStatus(status interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetDB() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetDappsAddress() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetDefaultSyncPeriod() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalance() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalanceThreshold() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetEIP1581Address() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetFleet() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetInstalledStickerPacks() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetIsSepoliaEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetLatestDerivedPath() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetMasterAddress() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetMessagesFromContactsOnly() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetMnemonicWasNotShown() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetNotificationsEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetNotifier() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetPendingStickerPacks() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetPinnedMailservers() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetPreferredUsername() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesShowTo() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesVisibility() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetPublicKey() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetRecentStickers() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetSettingLastSynced(setting interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetSettings() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetSyncQueue() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetTelemetryServerURL() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetTestNetworksEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetTokenGroupByCommunity() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GetWalletRootAddress() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GifAPIKey() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GifFavorites() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) GifRecents() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) LastBackup() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) Mnemonic() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) MnemonicRemoved() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) MnemonicWasShown() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) MutualContactEnabled() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) ProfileMigrationNeeded() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSetting(setting, value interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSettingField(sf, value interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSyncSetting(setting, value, clock interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetBackupFetched(fetched interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetLastBackup(time interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetPinnedMailservers(mailservers interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetSettingLastSynced(setting, clock interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetSettingsNotifier(n interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetTokenGroupByCommunity(value interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SetUseMailservers(value interface{}) *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) ShouldBroadcastUserStatus() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) SubscribeToChanges() *gomock.Call
- func (mr *MockDatabaseSettingsManagerMockRecorder) URLUnfurlingMode() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatabaseSettingsManager ¶
type MockDatabaseSettingsManager struct {
// contains filtered or unexported fields
}
MockDatabaseSettingsManager is a mock of DatabaseSettingsManager interface.
func NewMockDatabaseSettingsManager ¶
func NewMockDatabaseSettingsManager(ctrl *gomock.Controller) *MockDatabaseSettingsManager
NewMockDatabaseSettingsManager creates a new mock instance.
func (*MockDatabaseSettingsManager) AutoMessageEnabled ¶
func (m *MockDatabaseSettingsManager) AutoMessageEnabled() (bool, error)
AutoMessageEnabled mocks base method.
func (*MockDatabaseSettingsManager) BackupEnabled ¶
func (m *MockDatabaseSettingsManager) BackupEnabled() (bool, error)
BackupEnabled mocks base method.
func (*MockDatabaseSettingsManager) BackupFetched ¶
func (m *MockDatabaseSettingsManager) BackupFetched() (bool, error)
BackupFetched mocks base method.
func (*MockDatabaseSettingsManager) Bio ¶
func (m *MockDatabaseSettingsManager) Bio() (string, error)
Bio mocks base method.
func (*MockDatabaseSettingsManager) CanSyncOnMobileNetwork ¶
func (m *MockDatabaseSettingsManager) CanSyncOnMobileNetwork() (bool, error)
CanSyncOnMobileNetwork mocks base method.
func (*MockDatabaseSettingsManager) CanUseMailservers ¶
func (m *MockDatabaseSettingsManager) CanUseMailservers() (bool, error)
CanUseMailservers mocks base method.
func (*MockDatabaseSettingsManager) CreateSettings ¶
func (m *MockDatabaseSettingsManager) CreateSettings(s settings.Settings, n params.NodeConfig) error
CreateSettings mocks base method.
func (*MockDatabaseSettingsManager) DeleteMnemonic ¶
func (m *MockDatabaseSettingsManager) DeleteMnemonic() error
DeleteMnemonic mocks base method.
func (*MockDatabaseSettingsManager) DeviceName ¶
func (m *MockDatabaseSettingsManager) DeviceName() (string, error)
DeviceName mocks base method.
func (*MockDatabaseSettingsManager) DisplayName ¶
func (m *MockDatabaseSettingsManager) DisplayName() (string, error)
DisplayName mocks base method.
func (*MockDatabaseSettingsManager) ENSName ¶
func (m *MockDatabaseSettingsManager) ENSName() (string, error)
ENSName mocks base method.
func (*MockDatabaseSettingsManager) EXPECT ¶
func (m *MockDatabaseSettingsManager) EXPECT() *MockDatabaseSettingsManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatabaseSettingsManager) GetChangesSubscriptions ¶
func (m *MockDatabaseSettingsManager) GetChangesSubscriptions() []chan *settings.SyncSettingField
GetChangesSubscriptions mocks base method.
func (*MockDatabaseSettingsManager) GetCurrency ¶
func (m *MockDatabaseSettingsManager) GetCurrency() (string, error)
GetCurrency mocks base method.
func (*MockDatabaseSettingsManager) GetCurrentStatus ¶
func (m *MockDatabaseSettingsManager) GetCurrentStatus(status interface{}) error
GetCurrentStatus mocks base method.
func (*MockDatabaseSettingsManager) GetDB ¶
func (m *MockDatabaseSettingsManager) GetDB() *sql.DB
GetDB mocks base method.
func (*MockDatabaseSettingsManager) GetDappsAddress ¶
func (m *MockDatabaseSettingsManager) GetDappsAddress() (types.Address, error)
GetDappsAddress mocks base method.
func (*MockDatabaseSettingsManager) GetDefaultSyncPeriod ¶
func (m *MockDatabaseSettingsManager) GetDefaultSyncPeriod() (uint32, error)
GetDefaultSyncPeriod mocks base method.
func (*MockDatabaseSettingsManager) GetDisplayAssetsBelowBalance ¶ added in v0.172.1
func (m *MockDatabaseSettingsManager) GetDisplayAssetsBelowBalance() (bool, error)
GetDisplayAssetsBelowBalance mocks base method.
func (*MockDatabaseSettingsManager) GetDisplayAssetsBelowBalanceThreshold ¶ added in v0.172.1
func (m *MockDatabaseSettingsManager) GetDisplayAssetsBelowBalanceThreshold() (uint64, error)
GetDisplayAssetsBelowBalanceThreshold mocks base method.
func (*MockDatabaseSettingsManager) GetEIP1581Address ¶
func (m *MockDatabaseSettingsManager) GetEIP1581Address() (types.Address, error)
GetEIP1581Address mocks base method.
func (*MockDatabaseSettingsManager) GetFleet ¶
func (m *MockDatabaseSettingsManager) GetFleet() (string, error)
GetFleet mocks base method.
func (*MockDatabaseSettingsManager) GetInstalledStickerPacks ¶
func (m *MockDatabaseSettingsManager) GetInstalledStickerPacks() (*json.RawMessage, error)
GetInstalledStickerPacks mocks base method.
func (*MockDatabaseSettingsManager) GetIsSepoliaEnabled ¶
func (m *MockDatabaseSettingsManager) GetIsSepoliaEnabled() (bool, error)
GetIsSepoliaEnabled mocks base method.
func (*MockDatabaseSettingsManager) GetLatestDerivedPath ¶
func (m *MockDatabaseSettingsManager) GetLatestDerivedPath() (uint, error)
GetLatestDerivedPath mocks base method.
func (*MockDatabaseSettingsManager) GetMasterAddress ¶
func (m *MockDatabaseSettingsManager) GetMasterAddress() (types.Address, error)
GetMasterAddress mocks base method.
func (*MockDatabaseSettingsManager) GetMessagesFromContactsOnly ¶
func (m *MockDatabaseSettingsManager) GetMessagesFromContactsOnly() (bool, error)
GetMessagesFromContactsOnly mocks base method.
func (*MockDatabaseSettingsManager) GetMnemonicWasNotShown ¶
func (m *MockDatabaseSettingsManager) GetMnemonicWasNotShown() (bool, error)
GetMnemonicWasNotShown mocks base method.
func (*MockDatabaseSettingsManager) GetNotificationsEnabled ¶
func (m *MockDatabaseSettingsManager) GetNotificationsEnabled() (bool, error)
GetNotificationsEnabled mocks base method.
func (*MockDatabaseSettingsManager) GetNotifier ¶
func (m *MockDatabaseSettingsManager) GetNotifier() settings.Notifier
GetNotifier mocks base method.
func (*MockDatabaseSettingsManager) GetPendingStickerPacks ¶
func (m *MockDatabaseSettingsManager) GetPendingStickerPacks() (*json.RawMessage, error)
GetPendingStickerPacks mocks base method.
func (*MockDatabaseSettingsManager) GetPinnedMailservers ¶
func (m *MockDatabaseSettingsManager) GetPinnedMailservers() (map[string]string, error)
GetPinnedMailservers mocks base method.
func (*MockDatabaseSettingsManager) GetPreferredUsername ¶
func (m *MockDatabaseSettingsManager) GetPreferredUsername() (string, error)
GetPreferredUsername mocks base method.
func (*MockDatabaseSettingsManager) GetProfilePicturesShowTo ¶
func (m *MockDatabaseSettingsManager) GetProfilePicturesShowTo() (int64, error)
GetProfilePicturesShowTo mocks base method.
func (*MockDatabaseSettingsManager) GetProfilePicturesVisibility ¶
func (m *MockDatabaseSettingsManager) GetProfilePicturesVisibility() (int, error)
GetProfilePicturesVisibility mocks base method.
func (*MockDatabaseSettingsManager) GetPublicKey ¶
func (m *MockDatabaseSettingsManager) GetPublicKey() (string, error)
GetPublicKey mocks base method.
func (*MockDatabaseSettingsManager) GetRecentStickers ¶
func (m *MockDatabaseSettingsManager) GetRecentStickers() (*json.RawMessage, error)
GetRecentStickers mocks base method.
func (*MockDatabaseSettingsManager) GetSettingLastSynced ¶
func (m *MockDatabaseSettingsManager) GetSettingLastSynced(setting settings.SettingField) (uint64, error)
GetSettingLastSynced mocks base method.
func (*MockDatabaseSettingsManager) GetSettings ¶
func (m *MockDatabaseSettingsManager) GetSettings() (settings.Settings, error)
GetSettings mocks base method.
func (*MockDatabaseSettingsManager) GetSyncQueue ¶
func (m *MockDatabaseSettingsManager) GetSyncQueue() chan settings.SyncSettingField
GetSyncQueue mocks base method.
func (*MockDatabaseSettingsManager) GetTelemetryServerURL ¶
func (m *MockDatabaseSettingsManager) GetTelemetryServerURL() (string, error)
GetTelemetryServerURL mocks base method.
func (*MockDatabaseSettingsManager) GetTestNetworksEnabled ¶
func (m *MockDatabaseSettingsManager) GetTestNetworksEnabled() (bool, error)
GetTestNetworksEnabled mocks base method.
func (*MockDatabaseSettingsManager) GetTokenGroupByCommunity ¶
func (m *MockDatabaseSettingsManager) GetTokenGroupByCommunity() (bool, error)
GetTokenGroupByCommunity mocks base method.
func (*MockDatabaseSettingsManager) GetWalletRootAddress ¶
func (m *MockDatabaseSettingsManager) GetWalletRootAddress() (types.Address, error)
GetWalletRootAddress mocks base method.
func (*MockDatabaseSettingsManager) GifAPIKey ¶
func (m *MockDatabaseSettingsManager) GifAPIKey() (string, error)
GifAPIKey mocks base method.
func (*MockDatabaseSettingsManager) GifFavorites ¶
func (m *MockDatabaseSettingsManager) GifFavorites() (json.RawMessage, error)
GifFavorites mocks base method.
func (*MockDatabaseSettingsManager) GifRecents ¶
func (m *MockDatabaseSettingsManager) GifRecents() (json.RawMessage, error)
GifRecents mocks base method.
func (*MockDatabaseSettingsManager) LastBackup ¶
func (m *MockDatabaseSettingsManager) LastBackup() (uint64, error)
LastBackup mocks base method.
func (*MockDatabaseSettingsManager) Mnemonic ¶
func (m *MockDatabaseSettingsManager) Mnemonic() (string, error)
Mnemonic mocks base method.
func (*MockDatabaseSettingsManager) MnemonicRemoved ¶
func (m *MockDatabaseSettingsManager) MnemonicRemoved() (bool, error)
MnemonicRemoved mocks base method.
func (*MockDatabaseSettingsManager) MnemonicWasShown ¶
func (m *MockDatabaseSettingsManager) MnemonicWasShown() error
MnemonicWasShown mocks base method.
func (*MockDatabaseSettingsManager) MutualContactEnabled ¶
func (m *MockDatabaseSettingsManager) MutualContactEnabled() (bool, error)
MutualContactEnabled mocks base method.
func (*MockDatabaseSettingsManager) ProfileMigrationNeeded ¶
func (m *MockDatabaseSettingsManager) ProfileMigrationNeeded() (bool, error)
ProfileMigrationNeeded mocks base method.
func (*MockDatabaseSettingsManager) SaveSetting ¶
func (m *MockDatabaseSettingsManager) SaveSetting(setting string, value interface{}) error
SaveSetting mocks base method.
func (*MockDatabaseSettingsManager) SaveSettingField ¶
func (m *MockDatabaseSettingsManager) SaveSettingField(sf settings.SettingField, value interface{}) error
SaveSettingField mocks base method.
func (*MockDatabaseSettingsManager) SaveSyncSetting ¶
func (m *MockDatabaseSettingsManager) SaveSyncSetting(setting settings.SettingField, value interface{}, clock uint64) error
SaveSyncSetting mocks base method.
func (*MockDatabaseSettingsManager) SetBackupFetched ¶
func (m *MockDatabaseSettingsManager) SetBackupFetched(fetched bool) error
SetBackupFetched mocks base method.
func (*MockDatabaseSettingsManager) SetLastBackup ¶
func (m *MockDatabaseSettingsManager) SetLastBackup(time uint64) error
SetLastBackup mocks base method.
func (*MockDatabaseSettingsManager) SetPinnedMailservers ¶
func (m *MockDatabaseSettingsManager) SetPinnedMailservers(mailservers map[string]string) error
SetPinnedMailservers mocks base method.
func (*MockDatabaseSettingsManager) SetSettingLastSynced ¶
func (m *MockDatabaseSettingsManager) SetSettingLastSynced(setting settings.SettingField, clock uint64) error
SetSettingLastSynced mocks base method.
func (*MockDatabaseSettingsManager) SetSettingsNotifier ¶
func (m *MockDatabaseSettingsManager) SetSettingsNotifier(n settings.Notifier)
SetSettingsNotifier mocks base method.
func (*MockDatabaseSettingsManager) SetTokenGroupByCommunity ¶
func (m *MockDatabaseSettingsManager) SetTokenGroupByCommunity(value bool) error
SetTokenGroupByCommunity mocks base method.
func (*MockDatabaseSettingsManager) SetUseMailservers ¶
func (m *MockDatabaseSettingsManager) SetUseMailservers(value bool) error
SetUseMailservers mocks base method.
func (*MockDatabaseSettingsManager) ShouldBroadcastUserStatus ¶
func (m *MockDatabaseSettingsManager) ShouldBroadcastUserStatus() (bool, error)
ShouldBroadcastUserStatus mocks base method.
func (*MockDatabaseSettingsManager) SubscribeToChanges ¶
func (m *MockDatabaseSettingsManager) SubscribeToChanges() chan *settings.SyncSettingField
SubscribeToChanges mocks base method.
func (*MockDatabaseSettingsManager) URLUnfurlingMode ¶
func (m *MockDatabaseSettingsManager) URLUnfurlingMode() (int64, error)
URLUnfurlingMode mocks base method.
type MockDatabaseSettingsManagerMockRecorder ¶
type MockDatabaseSettingsManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseSettingsManagerMockRecorder is the mock recorder for MockDatabaseSettingsManager.
func (*MockDatabaseSettingsManagerMockRecorder) AutoMessageEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) AutoMessageEnabled() *gomock.Call
AutoMessageEnabled indicates an expected call of AutoMessageEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) BackupEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) BackupEnabled() *gomock.Call
BackupEnabled indicates an expected call of BackupEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) BackupFetched ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) BackupFetched() *gomock.Call
BackupFetched indicates an expected call of BackupFetched.
func (*MockDatabaseSettingsManagerMockRecorder) Bio ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) Bio() *gomock.Call
Bio indicates an expected call of Bio.
func (*MockDatabaseSettingsManagerMockRecorder) CanSyncOnMobileNetwork ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) CanSyncOnMobileNetwork() *gomock.Call
CanSyncOnMobileNetwork indicates an expected call of CanSyncOnMobileNetwork.
func (*MockDatabaseSettingsManagerMockRecorder) CanUseMailservers ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) CanUseMailservers() *gomock.Call
CanUseMailservers indicates an expected call of CanUseMailservers.
func (*MockDatabaseSettingsManagerMockRecorder) CreateSettings ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) CreateSettings(s, n interface{}) *gomock.Call
CreateSettings indicates an expected call of CreateSettings.
func (*MockDatabaseSettingsManagerMockRecorder) DeleteMnemonic ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) DeleteMnemonic() *gomock.Call
DeleteMnemonic indicates an expected call of DeleteMnemonic.
func (*MockDatabaseSettingsManagerMockRecorder) DeviceName ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) DeviceName() *gomock.Call
DeviceName indicates an expected call of DeviceName.
func (*MockDatabaseSettingsManagerMockRecorder) DisplayName ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) DisplayName() *gomock.Call
DisplayName indicates an expected call of DisplayName.
func (*MockDatabaseSettingsManagerMockRecorder) ENSName ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) ENSName() *gomock.Call
ENSName indicates an expected call of ENSName.
func (*MockDatabaseSettingsManagerMockRecorder) GetChangesSubscriptions ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetChangesSubscriptions() *gomock.Call
GetChangesSubscriptions indicates an expected call of GetChangesSubscriptions.
func (*MockDatabaseSettingsManagerMockRecorder) GetCurrency ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetCurrency() *gomock.Call
GetCurrency indicates an expected call of GetCurrency.
func (*MockDatabaseSettingsManagerMockRecorder) GetCurrentStatus ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetCurrentStatus(status interface{}) *gomock.Call
GetCurrentStatus indicates an expected call of GetCurrentStatus.
func (*MockDatabaseSettingsManagerMockRecorder) GetDB ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetDB() *gomock.Call
GetDB indicates an expected call of GetDB.
func (*MockDatabaseSettingsManagerMockRecorder) GetDappsAddress ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetDappsAddress() *gomock.Call
GetDappsAddress indicates an expected call of GetDappsAddress.
func (*MockDatabaseSettingsManagerMockRecorder) GetDefaultSyncPeriod ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetDefaultSyncPeriod() *gomock.Call
GetDefaultSyncPeriod indicates an expected call of GetDefaultSyncPeriod.
func (*MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalance ¶ added in v0.172.1
func (mr *MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalance() *gomock.Call
GetDisplayAssetsBelowBalance indicates an expected call of GetDisplayAssetsBelowBalance.
func (*MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalanceThreshold ¶ added in v0.172.1
func (mr *MockDatabaseSettingsManagerMockRecorder) GetDisplayAssetsBelowBalanceThreshold() *gomock.Call
GetDisplayAssetsBelowBalanceThreshold indicates an expected call of GetDisplayAssetsBelowBalanceThreshold.
func (*MockDatabaseSettingsManagerMockRecorder) GetEIP1581Address ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetEIP1581Address() *gomock.Call
GetEIP1581Address indicates an expected call of GetEIP1581Address.
func (*MockDatabaseSettingsManagerMockRecorder) GetFleet ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetFleet() *gomock.Call
GetFleet indicates an expected call of GetFleet.
func (*MockDatabaseSettingsManagerMockRecorder) GetInstalledStickerPacks ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetInstalledStickerPacks() *gomock.Call
GetInstalledStickerPacks indicates an expected call of GetInstalledStickerPacks.
func (*MockDatabaseSettingsManagerMockRecorder) GetIsSepoliaEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetIsSepoliaEnabled() *gomock.Call
GetIsSepoliaEnabled indicates an expected call of GetIsSepoliaEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) GetLatestDerivedPath ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetLatestDerivedPath() *gomock.Call
GetLatestDerivedPath indicates an expected call of GetLatestDerivedPath.
func (*MockDatabaseSettingsManagerMockRecorder) GetMasterAddress ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetMasterAddress() *gomock.Call
GetMasterAddress indicates an expected call of GetMasterAddress.
func (*MockDatabaseSettingsManagerMockRecorder) GetMessagesFromContactsOnly ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetMessagesFromContactsOnly() *gomock.Call
GetMessagesFromContactsOnly indicates an expected call of GetMessagesFromContactsOnly.
func (*MockDatabaseSettingsManagerMockRecorder) GetMnemonicWasNotShown ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetMnemonicWasNotShown() *gomock.Call
GetMnemonicWasNotShown indicates an expected call of GetMnemonicWasNotShown.
func (*MockDatabaseSettingsManagerMockRecorder) GetNotificationsEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetNotificationsEnabled() *gomock.Call
GetNotificationsEnabled indicates an expected call of GetNotificationsEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) GetNotifier ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetNotifier() *gomock.Call
GetNotifier indicates an expected call of GetNotifier.
func (*MockDatabaseSettingsManagerMockRecorder) GetPendingStickerPacks ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetPendingStickerPacks() *gomock.Call
GetPendingStickerPacks indicates an expected call of GetPendingStickerPacks.
func (*MockDatabaseSettingsManagerMockRecorder) GetPinnedMailservers ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetPinnedMailservers() *gomock.Call
GetPinnedMailservers indicates an expected call of GetPinnedMailservers.
func (*MockDatabaseSettingsManagerMockRecorder) GetPreferredUsername ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetPreferredUsername() *gomock.Call
GetPreferredUsername indicates an expected call of GetPreferredUsername.
func (*MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesShowTo ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesShowTo() *gomock.Call
GetProfilePicturesShowTo indicates an expected call of GetProfilePicturesShowTo.
func (*MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesVisibility ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetProfilePicturesVisibility() *gomock.Call
GetProfilePicturesVisibility indicates an expected call of GetProfilePicturesVisibility.
func (*MockDatabaseSettingsManagerMockRecorder) GetPublicKey ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetPublicKey() *gomock.Call
GetPublicKey indicates an expected call of GetPublicKey.
func (*MockDatabaseSettingsManagerMockRecorder) GetRecentStickers ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetRecentStickers() *gomock.Call
GetRecentStickers indicates an expected call of GetRecentStickers.
func (*MockDatabaseSettingsManagerMockRecorder) GetSettingLastSynced ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetSettingLastSynced(setting interface{}) *gomock.Call
GetSettingLastSynced indicates an expected call of GetSettingLastSynced.
func (*MockDatabaseSettingsManagerMockRecorder) GetSettings ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetSettings() *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockDatabaseSettingsManagerMockRecorder) GetSyncQueue ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetSyncQueue() *gomock.Call
GetSyncQueue indicates an expected call of GetSyncQueue.
func (*MockDatabaseSettingsManagerMockRecorder) GetTelemetryServerURL ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetTelemetryServerURL() *gomock.Call
GetTelemetryServerURL indicates an expected call of GetTelemetryServerURL.
func (*MockDatabaseSettingsManagerMockRecorder) GetTestNetworksEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetTestNetworksEnabled() *gomock.Call
GetTestNetworksEnabled indicates an expected call of GetTestNetworksEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) GetTokenGroupByCommunity ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetTokenGroupByCommunity() *gomock.Call
GetTokenGroupByCommunity indicates an expected call of GetTokenGroupByCommunity.
func (*MockDatabaseSettingsManagerMockRecorder) GetWalletRootAddress ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GetWalletRootAddress() *gomock.Call
GetWalletRootAddress indicates an expected call of GetWalletRootAddress.
func (*MockDatabaseSettingsManagerMockRecorder) GifAPIKey ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GifAPIKey() *gomock.Call
GifAPIKey indicates an expected call of GifAPIKey.
func (*MockDatabaseSettingsManagerMockRecorder) GifFavorites ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GifFavorites() *gomock.Call
GifFavorites indicates an expected call of GifFavorites.
func (*MockDatabaseSettingsManagerMockRecorder) GifRecents ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) GifRecents() *gomock.Call
GifRecents indicates an expected call of GifRecents.
func (*MockDatabaseSettingsManagerMockRecorder) LastBackup ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) LastBackup() *gomock.Call
LastBackup indicates an expected call of LastBackup.
func (*MockDatabaseSettingsManagerMockRecorder) Mnemonic ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) Mnemonic() *gomock.Call
Mnemonic indicates an expected call of Mnemonic.
func (*MockDatabaseSettingsManagerMockRecorder) MnemonicRemoved ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) MnemonicRemoved() *gomock.Call
MnemonicRemoved indicates an expected call of MnemonicRemoved.
func (*MockDatabaseSettingsManagerMockRecorder) MnemonicWasShown ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) MnemonicWasShown() *gomock.Call
MnemonicWasShown indicates an expected call of MnemonicWasShown.
func (*MockDatabaseSettingsManagerMockRecorder) MutualContactEnabled ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) MutualContactEnabled() *gomock.Call
MutualContactEnabled indicates an expected call of MutualContactEnabled.
func (*MockDatabaseSettingsManagerMockRecorder) ProfileMigrationNeeded ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) ProfileMigrationNeeded() *gomock.Call
ProfileMigrationNeeded indicates an expected call of ProfileMigrationNeeded.
func (*MockDatabaseSettingsManagerMockRecorder) SaveSetting ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSetting(setting, value interface{}) *gomock.Call
SaveSetting indicates an expected call of SaveSetting.
func (*MockDatabaseSettingsManagerMockRecorder) SaveSettingField ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSettingField(sf, value interface{}) *gomock.Call
SaveSettingField indicates an expected call of SaveSettingField.
func (*MockDatabaseSettingsManagerMockRecorder) SaveSyncSetting ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SaveSyncSetting(setting, value, clock interface{}) *gomock.Call
SaveSyncSetting indicates an expected call of SaveSyncSetting.
func (*MockDatabaseSettingsManagerMockRecorder) SetBackupFetched ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetBackupFetched(fetched interface{}) *gomock.Call
SetBackupFetched indicates an expected call of SetBackupFetched.
func (*MockDatabaseSettingsManagerMockRecorder) SetLastBackup ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetLastBackup(time interface{}) *gomock.Call
SetLastBackup indicates an expected call of SetLastBackup.
func (*MockDatabaseSettingsManagerMockRecorder) SetPinnedMailservers ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetPinnedMailservers(mailservers interface{}) *gomock.Call
SetPinnedMailservers indicates an expected call of SetPinnedMailservers.
func (*MockDatabaseSettingsManagerMockRecorder) SetSettingLastSynced ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetSettingLastSynced(setting, clock interface{}) *gomock.Call
SetSettingLastSynced indicates an expected call of SetSettingLastSynced.
func (*MockDatabaseSettingsManagerMockRecorder) SetSettingsNotifier ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetSettingsNotifier(n interface{}) *gomock.Call
SetSettingsNotifier indicates an expected call of SetSettingsNotifier.
func (*MockDatabaseSettingsManagerMockRecorder) SetTokenGroupByCommunity ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetTokenGroupByCommunity(value interface{}) *gomock.Call
SetTokenGroupByCommunity indicates an expected call of SetTokenGroupByCommunity.
func (*MockDatabaseSettingsManagerMockRecorder) SetUseMailservers ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SetUseMailservers(value interface{}) *gomock.Call
SetUseMailservers indicates an expected call of SetUseMailservers.
func (*MockDatabaseSettingsManagerMockRecorder) ShouldBroadcastUserStatus ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) ShouldBroadcastUserStatus() *gomock.Call
ShouldBroadcastUserStatus indicates an expected call of ShouldBroadcastUserStatus.
func (*MockDatabaseSettingsManagerMockRecorder) SubscribeToChanges ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) SubscribeToChanges() *gomock.Call
SubscribeToChanges indicates an expected call of SubscribeToChanges.
func (*MockDatabaseSettingsManagerMockRecorder) URLUnfurlingMode ¶
func (mr *MockDatabaseSettingsManagerMockRecorder) URLUnfurlingMode() *gomock.Call
URLUnfurlingMode indicates an expected call of URLUnfurlingMode.