mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
update test mocks
This commit is contained in:
parent
3e2edde640
commit
15258314cd
32 changed files with 195 additions and 0 deletions
|
@ -2137,6 +2137,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -2504,6 +2509,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i13.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i16.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
|
|
@ -416,6 +416,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -377,6 +377,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -375,6 +375,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -684,6 +684,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -471,6 +471,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -471,6 +471,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -471,6 +471,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -469,6 +469,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -684,6 +684,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -525,6 +525,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -461,6 +461,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -461,6 +461,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -469,6 +469,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -726,6 +726,11 @@ class MockManager extends _i1.Mock implements _i15.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -469,6 +469,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -248,6 +248,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -247,6 +247,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -246,6 +246,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -288,6 +288,11 @@ class MockManager extends _i1.Mock implements _i8.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -248,6 +248,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
|
|
@ -366,6 +366,11 @@ class MockFiroWallet extends _i1.Mock implements _i7.FiroWallet {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
set onIsActiveWalletChanged(void Function(bool)? _onIsActiveWalletChanged) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
|
|
|
@ -1784,6 +1784,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -2151,6 +2156,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i13.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i16.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
|
|
@ -1507,6 +1507,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -1874,6 +1879,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i12.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i15.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
|
|
@ -580,6 +580,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -951,6 +956,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i7.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i16.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
@ -1397,6 +1407,11 @@ class MockFiroWallet extends _i1.Mock implements _i19.FiroWallet {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
set onIsActiveWalletChanged(void Function(bool)? _onIsActiveWalletChanged) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
|
|
|
@ -1721,6 +1721,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -2088,6 +2093,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i13.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i16.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
|
|
@ -1721,6 +1721,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get currentHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#currentHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
|
@ -2088,6 +2093,11 @@ class MockCoinServiceAPI extends _i1.Mock implements _i13.CoinServiceAPI {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
int get storedChainHeight => (super.noSuchMethod(
|
||||
Invocation.getter(#storedChainHeight),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
_i16.Future<Map<String, dynamic>> prepareSend({
|
||||
required String? address,
|
||||
required int? satoshiAmount,
|
||||
|
|
Loading…
Reference in a new issue