mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 11:29:23 +00:00
update mocks
This commit is contained in:
parent
ceeaf44bf7
commit
ba0e3e1fbd
12 changed files with 12 additions and 156 deletions
|
@ -884,32 +884,6 @@ class MockPrefs extends _i1.Mock implements _i7.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -978,32 +978,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -454,32 +454,6 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -78,6 +78,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i5.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -87,6 +88,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i7.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i7.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i7.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i7.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
required String? groupId,
|
||||
String? blockhash = r'',
|
||||
required _i7.Coin? coin,
|
||||
required bool? useOnlyCacheIfNotEmpty,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
|||
#groupId: groupId,
|
||||
#blockhash: blockhash,
|
||||
#coin: coin,
|
||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||
},
|
||||
),
|
||||
returnValue:
|
||||
|
|
|
@ -712,32 +712,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -598,32 +598,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -698,32 +698,6 @@ class MockPrefs extends _i1.Mock implements _i14.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get solanaEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#solanaEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#solanaEnabled,
|
||||
solanaEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get frostEnabled => (super.noSuchMethod(
|
||||
Invocation.getter(#frostEnabled),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#frostEnabled,
|
||||
frostEnabled,
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
Loading…
Reference in a new issue