build runner mocks

This commit is contained in:
julian 2023-01-16 16:37:12 -06:00
parent d1f237ae51
commit 6ac6dc2724
8 changed files with 48 additions and 48 deletions

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i19;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i13;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i11;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i10;
import 'package:stackwallet/models/balance.dart' as _i12;
@ -21,7 +22,6 @@ import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i21;
import 'package:stackwallet/services/coins/coin_service.dart' as _i14;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/locale_service.dart' as _i24;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i13;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i8;
@ -151,8 +151,8 @@ class _FakeBalance_9 extends _i1.SmartFake implements _i12.Balance {
);
}
class _FakeIDB_10 extends _i1.SmartFake implements _i13.IDB {
_FakeIDB_10(
class _FakeMainDB_10 extends _i1.SmartFake implements _i13.MainDB {
_FakeMainDB_10(
Object parent,
Invocation parentInvocation,
) : super(
@ -1037,13 +1037,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i21.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i13.IDB get db => (super.noSuchMethod(
_i13.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_10(
returnValue: _FakeMainDB_10(
this,
Invocation.getter(#db),
),
) as _i13.IDB);
) as _i13.MainDB);
@override
_i17.Future<void> exit() => (super.noSuchMethod(
Invocation.method(

View file

@ -7,6 +7,7 @@ import 'dart:async' as _i10;
import 'package:decimal/decimal.dart' as _i8;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i7;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i5;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i4;
import 'package:stackwallet/models/balance.dart' as _i6;
@ -14,7 +15,6 @@ import 'package:stackwallet/models/isar/models/isar_models.dart' as _i12;
import 'package:stackwallet/models/lelantus_coin.dart' as _i13;
import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i3;
import 'package:stackwallet/services/coins/firo/firo_wallet.dart' as _i9;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i7;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i2;
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i11;
@ -83,8 +83,8 @@ class _FakeBalance_4 extends _i1.SmartFake implements _i6.Balance {
);
}
class _FakeIDB_5 extends _i1.SmartFake implements _i7.IDB {
_FakeIDB_5(
class _FakeMainDB_5 extends _i1.SmartFake implements _i7.MainDB {
_FakeMainDB_5(
Object parent,
Invocation parentInvocation,
) : super(
@ -337,13 +337,13 @@ class MockFiroWallet extends _i1.Mock implements _i9.FiroWallet {
returnValueForMissingStub: null,
);
@override
_i7.IDB get db => (super.noSuchMethod(
_i7.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_5(
returnValue: _FakeMainDB_5(
this,
Invocation.getter(#db),
),
) as _i7.IDB);
) as _i7.MainDB);
@override
bool validateAddress(String? address) => (super.noSuchMethod(
Invocation.method(

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i19;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11;
@ -19,7 +20,6 @@ import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i20;
import 'package:stackwallet/services/coins/coin_service.dart' as _i14;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/locale_service.dart' as _i23;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i12;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7;
@ -136,8 +136,8 @@ class _FakeBalance_8 extends _i1.SmartFake implements _i11.Balance {
);
}
class _FakeIDB_9 extends _i1.SmartFake implements _i12.IDB {
_FakeIDB_9(
class _FakeMainDB_9 extends _i1.SmartFake implements _i12.MainDB {
_FakeMainDB_9(
Object parent,
Invocation parentInvocation,
) : super(
@ -828,13 +828,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i20.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i12.IDB get db => (super.noSuchMethod(
_i12.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_9(
returnValue: _FakeMainDB_9(
this,
Invocation.getter(#db),
),
) as _i12.IDB);
) as _i12.MainDB);
@override
_i17.Future<void> exit() => (super.noSuchMethod(
Invocation.method(

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i18;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11;
@ -17,7 +18,6 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8;
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i19;
import 'package:stackwallet/services/coins/coin_service.dart' as _i13;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i12;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7;
@ -132,8 +132,8 @@ class _FakeBalance_8 extends _i1.SmartFake implements _i11.Balance {
);
}
class _FakeIDB_9 extends _i1.SmartFake implements _i12.IDB {
_FakeIDB_9(
class _FakeMainDB_9 extends _i1.SmartFake implements _i12.MainDB {
_FakeMainDB_9(
Object parent,
Invocation parentInvocation,
) : super(
@ -813,13 +813,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i19.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i12.IDB get db => (super.noSuchMethod(
_i12.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_9(
returnValue: _FakeMainDB_9(
this,
Invocation.getter(#db),
),
) as _i12.IDB);
) as _i12.MainDB);
@override
_i16.Future<void> exit() => (super.noSuchMethod(
Invocation.method(

View file

@ -10,6 +10,7 @@ import 'package:decimal/decimal.dart' as _i14;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i13;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i11;
import 'package:stackwallet/models/balance.dart' as _i9;
@ -21,7 +22,6 @@ import 'package:stackwallet/services/coins/coin_service.dart' as _i7;
import 'package:stackwallet/services/coins/firo/firo_wallet.dart' as _i22;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/locale_service.dart' as _i23;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i13;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/notes_service.dart' as _i28;
import 'package:stackwallet/services/price_service.dart' as _i27;
@ -151,8 +151,8 @@ class _FakeCachedElectrumX_9 extends _i1.SmartFake
);
}
class _FakeIDB_10 extends _i1.SmartFake implements _i13.IDB {
_FakeIDB_10(
class _FakeMainDB_10 extends _i1.SmartFake implements _i13.MainDB {
_FakeMainDB_10(
Object parent,
Invocation parentInvocation,
) : super(
@ -1250,13 +1250,13 @@ class MockFiroWallet extends _i1.Mock implements _i22.FiroWallet {
returnValueForMissingStub: null,
);
@override
_i13.IDB get db => (super.noSuchMethod(
_i13.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_10(
returnValue: _FakeMainDB_10(
this,
Invocation.getter(#db),
),
) as _i13.IDB);
) as _i13.MainDB);
@override
bool validateAddress(String? address) => (super.noSuchMethod(
Invocation.method(

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i17;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11;
@ -17,7 +18,6 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8;
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i18;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/locale_service.dart' as _i21;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i12;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7;
@ -132,8 +132,8 @@ class _FakeBalance_8 extends _i1.SmartFake implements _i11.Balance {
);
}
class _FakeIDB_9 extends _i1.SmartFake implements _i12.IDB {
_FakeIDB_9(
class _FakeMainDB_9 extends _i1.SmartFake implements _i12.MainDB {
_FakeMainDB_9(
Object parent,
Invocation parentInvocation,
) : super(
@ -576,13 +576,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i12.IDB get db => (super.noSuchMethod(
_i12.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_9(
returnValue: _FakeMainDB_9(
this,
Invocation.getter(#db),
),
) as _i12.IDB);
) as _i12.MainDB);
@override
_i15.Future<void> exit() => (super.noSuchMethod(
Invocation.method(

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i19;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11;
@ -18,7 +19,6 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8;
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i20;
import 'package:stackwallet/services/coins/coin_service.dart' as _i14;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i12;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7;
@ -135,8 +135,8 @@ class _FakeBalance_8 extends _i1.SmartFake implements _i11.Balance {
);
}
class _FakeIDB_9 extends _i1.SmartFake implements _i12.IDB {
_FakeIDB_9(
class _FakeMainDB_9 extends _i1.SmartFake implements _i12.MainDB {
_FakeMainDB_9(
Object parent,
Invocation parentInvocation,
) : super(
@ -827,13 +827,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i20.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i12.IDB get db => (super.noSuchMethod(
_i12.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_9(
returnValue: _FakeMainDB_9(
this,
Invocation.getter(#db),
),
) as _i12.IDB);
) as _i12.MainDB);
@override
_i17.Future<void> exit() => (super.noSuchMethod(
Invocation.method(

View file

@ -9,6 +9,7 @@ import 'dart:ui' as _i19;
import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11;
@ -18,7 +19,6 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8;
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i20;
import 'package:stackwallet/services/coins/coin_service.dart' as _i14;
import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/mixins/wallet_db.dart' as _i12;
import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7;
@ -135,8 +135,8 @@ class _FakeBalance_8 extends _i1.SmartFake implements _i11.Balance {
);
}
class _FakeIDB_9 extends _i1.SmartFake implements _i12.IDB {
_FakeIDB_9(
class _FakeMainDB_9 extends _i1.SmartFake implements _i12.MainDB {
_FakeMainDB_9(
Object parent,
Invocation parentInvocation,
) : super(
@ -827,13 +827,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i20.BitcoinWallet {
returnValueForMissingStub: null,
);
@override
_i12.IDB get db => (super.noSuchMethod(
_i12.MainDB get db => (super.noSuchMethod(
Invocation.getter(#db),
returnValue: _FakeIDB_9(
returnValue: _FakeMainDB_9(
this,
Invocation.getter(#db),
),
) as _i12.IDB);
) as _i12.MainDB);
@override
_i17.Future<void> exit() => (super.noSuchMethod(
Invocation.method(