update test mocks

This commit is contained in:
julian 2023-01-10 17:48:55 -06:00
parent 3e2edde640
commit 15258314cd
32 changed files with 195 additions and 0 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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(

View file

@ -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,

View file

@ -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,

View file

@ -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(

View file

@ -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,

View file

@ -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,