mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17: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,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
|
@ -978,32 +978,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
|
@ -454,32 +454,6 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
|
@ -78,6 +78,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i5.Coin? coin,
|
required _i5.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -87,6 +88,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i7.Coin? coin,
|
required _i7.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i7.Coin? coin,
|
required _i7.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i7.Coin? coin,
|
required _i7.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i7.Coin? coin,
|
required _i7.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
required String? groupId,
|
required String? groupId,
|
||||||
String? blockhash = r'',
|
String? blockhash = r'',
|
||||||
required _i7.Coin? coin,
|
required _i7.Coin? coin,
|
||||||
|
required bool? useOnlyCacheIfNotEmpty,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
#groupId: groupId,
|
#groupId: groupId,
|
||||||
#blockhash: blockhash,
|
#blockhash: blockhash,
|
||||||
#coin: coin,
|
#coin: coin,
|
||||||
|
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue:
|
returnValue:
|
||||||
|
|
|
@ -712,32 +712,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
|
@ -598,32 +598,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
|
@ -698,32 +698,6 @@ class MockPrefs extends _i1.Mock implements _i14.Prefs {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@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(
|
bool get hasListeners => (super.noSuchMethod(
|
||||||
Invocation.getter(#hasListeners),
|
Invocation.getter(#hasListeners),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
|
|
Loading…
Reference in a new issue