mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
fix: build runner
This commit is contained in:
parent
a353ab341a
commit
3b9aba2eb5
64 changed files with 665 additions and 259 deletions
|
@ -1,15 +1,19 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/cached_electrumx_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
import 'dart:ui' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
||||
import 'package:decimal/decimal.dart' as _i2;
|
||||
import 'package:mockito/mockito.dart' as _i1;
|
||||
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i3;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i8;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i7;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i9;
|
||||
import 'package:stackwallet/utilities/enums/sync_type_enum.dart' as _i6;
|
||||
import 'package:stackwallet/utilities/prefs.dart' as _i5;
|
||||
|
||||
|
@ -782,7 +786,55 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
|
|||
returnValueForMissingStub: _i4.Future<void>.value(),
|
||||
) as _i4.Future<void>);
|
||||
@override
|
||||
void addListener(_i8.VoidCallback? listener) => super.noSuchMethod(
|
||||
_i8.AmountUnit amountUnit(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i8.AmountUnit.normal,
|
||||
) as _i8.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i9.Coin? coin,
|
||||
required _i8.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i9.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i10.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
[listener],
|
||||
|
@ -790,7 +842,7 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void removeListener(_i8.VoidCallback? listener) => super.noSuchMethod(
|
||||
void removeListener(_i10.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#removeListener,
|
||||
[listener],
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/electrumx_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:ui' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
||||
import 'package:mockito/mockito.dart' as _i1;
|
||||
import 'package:stackwallet/electrumx_rpc/rpc.dart' as _i2;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i7;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i6;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i8;
|
||||
import 'package:stackwallet/utilities/enums/sync_type_enum.dart' as _i5;
|
||||
import 'package:stackwallet/utilities/prefs.dart' as _i4;
|
||||
|
||||
|
@ -509,7 +513,55 @@ class MockPrefs extends _i1.Mock implements _i4.Prefs {
|
|||
returnValueForMissingStub: _i3.Future<void>.value(),
|
||||
) as _i3.Future<void>);
|
||||
@override
|
||||
void addListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
_i7.AmountUnit amountUnit(_i8.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i7.AmountUnit.normal,
|
||||
) as _i7.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i8.Coin? coin,
|
||||
required _i7.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i8.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i8.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
[listener],
|
||||
|
@ -517,7 +569,7 @@ class MockPrefs extends _i1.Mock implements _i4.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void removeListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void removeListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#removeListener,
|
||||
[listener],
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/flutter_secure_storage_interface_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/models/type_adapter_tests/lelantus_coin_adapter_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:convert' as _i5;
|
||||
import 'dart:typed_data' as _i4;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/models/type_adapter_tests/transactions_model_adapter_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:convert' as _i5;
|
||||
import 'dart:typed_data' as _i4;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/models/type_adapter_tests/utxo_model_adapter_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:convert' as _i5;
|
||||
import 'dart:typed_data' as _i4;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/notifications/notification_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:typed_data' as _i6;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/pages/send_view/send_view_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i23;
|
||||
import 'dart:typed_data' as _i30;
|
||||
|
@ -33,6 +35,7 @@ import 'package:stackwallet/services/wallets.dart' as _i21;
|
|||
import 'package:stackwallet/services/wallets_service.dart' as _i2;
|
||||
import 'package:stackwallet/themes/theme_service.dart' as _i32;
|
||||
import 'package:stackwallet/utilities/amount/amount.dart' as _i15;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i36;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i35;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i22;
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart' as _i28;
|
||||
|
@ -337,9 +340,8 @@ class MockWallets extends _i1.Mock implements _i21.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i16.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i16.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i16.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1734,14 +1736,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i23.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i15.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i23.Future<int> Function({required String address})? getTxCount,
|
||||
required _i23.Future<List<_i29.SigningData>> Function(List<_i18.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
@ -2723,6 +2723,54 @@ class MockPrefs extends _i1.Mock implements _i24.Prefs {
|
|||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i36.AmountUnit amountUnit(_i22.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i36.AmountUnit.normal,
|
||||
) as _i36.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i22.Coin? coin,
|
||||
required _i36.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i22.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i22.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i25.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/price_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:convert' as _i4;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/address_book_view/address_book_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/address_book_view/subviews/add_address_book_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i9;
|
||||
import 'dart:ui' as _i11;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/address_book_view/subviews/address_book_entry_details_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/address_book_view/subviews/edit_address_book_entry_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,35 +1,40 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/exchange/exchange_view_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i6;
|
||||
import 'dart:ui' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
||||
import 'package:decimal/decimal.dart' as _i14;
|
||||
import 'package:http/http.dart' as _i12;
|
||||
import 'package:decimal/decimal.dart' as _i16;
|
||||
import 'package:http/http.dart' as _i14;
|
||||
import 'package:mockito/mockito.dart' as _i1;
|
||||
import 'package:stackwallet/models/exchange/change_now/cn_exchange_estimate.dart'
|
||||
as _i17;
|
||||
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart'
|
||||
as _i19;
|
||||
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart'
|
||||
as _i21;
|
||||
import 'package:stackwallet/models/exchange/change_now/exchange_transaction_status.dart'
|
||||
as _i20;
|
||||
as _i22;
|
||||
import 'package:stackwallet/models/exchange/response_objects/estimate.dart'
|
||||
as _i16;
|
||||
import 'package:stackwallet/models/exchange/response_objects/fixed_rate_market.dart'
|
||||
as _i18;
|
||||
import 'package:stackwallet/models/exchange/response_objects/fixed_rate_market.dart'
|
||||
as _i20;
|
||||
import 'package:stackwallet/models/exchange/response_objects/range.dart'
|
||||
as _i15;
|
||||
import 'package:stackwallet/models/exchange/response_objects/trade.dart' as _i9;
|
||||
import 'package:stackwallet/models/isar/exchange_cache/currency.dart' as _i13;
|
||||
import 'package:stackwallet/models/isar/exchange_cache/pair.dart' as _i21;
|
||||
import 'package:stackwallet/services/exchange/change_now/change_now_api.dart'
|
||||
as _i17;
|
||||
import 'package:stackwallet/models/exchange/response_objects/trade.dart'
|
||||
as _i11;
|
||||
import 'package:stackwallet/models/isar/exchange_cache/currency.dart' as _i15;
|
||||
import 'package:stackwallet/models/isar/exchange_cache/pair.dart' as _i23;
|
||||
import 'package:stackwallet/services/exchange/change_now/change_now_api.dart'
|
||||
as _i13;
|
||||
import 'package:stackwallet/services/exchange/exchange_response.dart' as _i2;
|
||||
import 'package:stackwallet/services/trade_notes_service.dart' as _i10;
|
||||
import 'package:stackwallet/services/trade_service.dart' as _i8;
|
||||
import 'package:stackwallet/services/trade_notes_service.dart' as _i12;
|
||||
import 'package:stackwallet/services/trade_service.dart' as _i10;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i7;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i5;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i8;
|
||||
import 'package:stackwallet/utilities/enums/sync_type_enum.dart' as _i4;
|
||||
import 'package:stackwallet/utilities/prefs.dart' as _i3;
|
||||
|
||||
|
@ -452,7 +457,55 @@ class MockPrefs extends _i1.Mock implements _i3.Prefs {
|
|||
returnValueForMissingStub: _i6.Future<void>.value(),
|
||||
) as _i6.Future<void>);
|
||||
@override
|
||||
void addListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
_i7.AmountUnit amountUnit(_i8.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i7.AmountUnit.normal,
|
||||
) as _i7.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i8.Coin? coin,
|
||||
required _i7.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i8.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i8.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
[listener],
|
||||
|
@ -460,7 +513,7 @@ class MockPrefs extends _i1.Mock implements _i3.Prefs {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void removeListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void removeListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#removeListener,
|
||||
[listener],
|
||||
|
@ -488,29 +541,29 @@ class MockPrefs extends _i1.Mock implements _i3.Prefs {
|
|||
/// A class which mocks [TradesService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
||||
class MockTradesService extends _i1.Mock implements _i10.TradesService {
|
||||
MockTradesService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
||||
@override
|
||||
List<_i9.Trade> get trades => (super.noSuchMethod(
|
||||
List<_i11.Trade> get trades => (super.noSuchMethod(
|
||||
Invocation.getter(#trades),
|
||||
returnValue: <_i9.Trade>[],
|
||||
) as List<_i9.Trade>);
|
||||
returnValue: <_i11.Trade>[],
|
||||
) as List<_i11.Trade>);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
_i9.Trade? get(String? tradeId) => (super.noSuchMethod(Invocation.method(
|
||||
_i11.Trade? get(String? tradeId) => (super.noSuchMethod(Invocation.method(
|
||||
#get,
|
||||
[tradeId],
|
||||
)) as _i9.Trade?);
|
||||
)) as _i11.Trade?);
|
||||
@override
|
||||
_i6.Future<void> add({
|
||||
required _i9.Trade? trade,
|
||||
required _i11.Trade? trade,
|
||||
required bool? shouldNotifyListeners,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -527,7 +580,7 @@ class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
|||
) as _i6.Future<void>);
|
||||
@override
|
||||
_i6.Future<void> edit({
|
||||
required _i9.Trade? trade,
|
||||
required _i11.Trade? trade,
|
||||
required bool? shouldNotifyListeners,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -544,7 +597,7 @@ class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
|||
) as _i6.Future<void>);
|
||||
@override
|
||||
_i6.Future<void> delete({
|
||||
required _i9.Trade? trade,
|
||||
required _i11.Trade? trade,
|
||||
required bool? shouldNotifyListeners,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -577,7 +630,7 @@ class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
|||
returnValueForMissingStub: _i6.Future<void>.value(),
|
||||
) as _i6.Future<void>);
|
||||
@override
|
||||
void addListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void addListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
[listener],
|
||||
|
@ -585,7 +638,7 @@ class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void removeListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void removeListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#removeListener,
|
||||
[listener],
|
||||
|
@ -613,7 +666,7 @@ class MockTradesService extends _i1.Mock implements _i8.TradesService {
|
|||
/// A class which mocks [TradeNotesService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockTradeNotesService extends _i1.Mock implements _i10.TradeNotesService {
|
||||
class MockTradeNotesService extends _i1.Mock implements _i12.TradeNotesService {
|
||||
MockTradeNotesService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
@ -665,7 +718,7 @@ class MockTradeNotesService extends _i1.Mock implements _i10.TradeNotesService {
|
|||
returnValueForMissingStub: _i6.Future<void>.value(),
|
||||
) as _i6.Future<void>);
|
||||
@override
|
||||
void addListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void addListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
[listener],
|
||||
|
@ -673,7 +726,7 @@ class MockTradeNotesService extends _i1.Mock implements _i10.TradeNotesService {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void removeListener(_i7.VoidCallback? listener) => super.noSuchMethod(
|
||||
void removeListener(_i9.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#removeListener,
|
||||
[listener],
|
||||
|
@ -701,13 +754,13 @@ class MockTradeNotesService extends _i1.Mock implements _i10.TradeNotesService {
|
|||
/// A class which mocks [ChangeNowAPI].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
||||
class MockChangeNowAPI extends _i1.Mock implements _i13.ChangeNowAPI {
|
||||
MockChangeNowAPI() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
||||
@override
|
||||
set client(_i12.Client? _client) => super.noSuchMethod(
|
||||
set client(_i14.Client? _client) => super.noSuchMethod(
|
||||
Invocation.setter(
|
||||
#client,
|
||||
_client,
|
||||
|
@ -715,7 +768,7 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>> getAvailableCurrencies({
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>> getAvailableCurrencies({
|
||||
bool? fixedRate,
|
||||
bool? active,
|
||||
}) =>
|
||||
|
@ -729,8 +782,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue:
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i13.Currency>>(
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i15.Currency>>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getAvailableCurrencies,
|
||||
|
@ -741,26 +794,26 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>> getCurrenciesV2() =>
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>> getCurrenciesV2() =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getCurrenciesV2,
|
||||
[],
|
||||
),
|
||||
returnValue:
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i13.Currency>>(
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i15.Currency>>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getCurrenciesV2,
|
||||
[],
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>> getPairedCurrencies({
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>> getPairedCurrencies({
|
||||
required String? ticker,
|
||||
bool? fixedRate,
|
||||
}) =>
|
||||
|
@ -774,8 +827,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue:
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i13.Currency>>(
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i15.Currency>>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPairedCurrencies,
|
||||
|
@ -786,9 +839,9 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i13.Currency>>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i15.Currency>>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i14.Decimal>> getMinimalExchangeAmount({
|
||||
_i6.Future<_i2.ExchangeResponse<_i16.Decimal>> getMinimalExchangeAmount({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
String? apiKey,
|
||||
|
@ -803,8 +856,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
#apiKey: apiKey,
|
||||
},
|
||||
),
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i14.Decimal>>.value(
|
||||
_FakeExchangeResponse_0<_i14.Decimal>(
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i16.Decimal>>.value(
|
||||
_FakeExchangeResponse_0<_i16.Decimal>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMinimalExchangeAmount,
|
||||
|
@ -816,9 +869,9 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i14.Decimal>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i16.Decimal>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i15.Range>> getRange({
|
||||
_i6.Future<_i2.ExchangeResponse<_i17.Range>> getRange({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required bool? isFixedRate,
|
||||
|
@ -835,8 +888,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
#apiKey: apiKey,
|
||||
},
|
||||
),
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i15.Range>>.value(
|
||||
_FakeExchangeResponse_0<_i15.Range>(
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i17.Range>>.value(
|
||||
_FakeExchangeResponse_0<_i17.Range>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getRange,
|
||||
|
@ -849,12 +902,12 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i15.Range>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i17.Range>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i16.Estimate>> getEstimatedExchangeAmount({
|
||||
_i6.Future<_i2.ExchangeResponse<_i18.Estimate>> getEstimatedExchangeAmount({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required _i14.Decimal? fromAmount,
|
||||
required _i16.Decimal? fromAmount,
|
||||
String? apiKey,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -868,8 +921,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
#apiKey: apiKey,
|
||||
},
|
||||
),
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i16.Estimate>>.value(
|
||||
_FakeExchangeResponse_0<_i16.Estimate>(
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i18.Estimate>>.value(
|
||||
_FakeExchangeResponse_0<_i18.Estimate>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getEstimatedExchangeAmount,
|
||||
|
@ -882,13 +935,13 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i16.Estimate>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i18.Estimate>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i16.Estimate>>
|
||||
_i6.Future<_i2.ExchangeResponse<_i18.Estimate>>
|
||||
getEstimatedExchangeAmountFixedRate({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required _i14.Decimal? fromAmount,
|
||||
required _i16.Decimal? fromAmount,
|
||||
required bool? reversed,
|
||||
bool? useRateId = true,
|
||||
String? apiKey,
|
||||
|
@ -906,8 +959,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
#apiKey: apiKey,
|
||||
},
|
||||
),
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i16.Estimate>>.value(
|
||||
_FakeExchangeResponse_0<_i16.Estimate>(
|
||||
returnValue: _i6.Future<_i2.ExchangeResponse<_i18.Estimate>>.value(
|
||||
_FakeExchangeResponse_0<_i18.Estimate>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getEstimatedExchangeAmountFixedRate,
|
||||
|
@ -922,17 +975,17 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i16.Estimate>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i18.Estimate>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i17.CNExchangeEstimate>>
|
||||
_i6.Future<_i2.ExchangeResponse<_i19.CNExchangeEstimate>>
|
||||
getEstimatedExchangeAmountV2({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required _i17.CNEstimateType? fromOrTo,
|
||||
required _i14.Decimal? amount,
|
||||
required _i19.CNEstimateType? fromOrTo,
|
||||
required _i16.Decimal? amount,
|
||||
String? fromNetwork,
|
||||
String? toNetwork,
|
||||
_i17.CNFlowType? flow = _i17.CNFlowType.standard,
|
||||
_i19.CNFlowType? flow = _i19.CNFlowType.standard,
|
||||
String? apiKey,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -951,8 +1004,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue:
|
||||
_i6.Future<_i2.ExchangeResponse<_i17.CNExchangeEstimate>>.value(
|
||||
_FakeExchangeResponse_0<_i17.CNExchangeEstimate>(
|
||||
_i6.Future<_i2.ExchangeResponse<_i19.CNExchangeEstimate>>.value(
|
||||
_FakeExchangeResponse_0<_i19.CNExchangeEstimate>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getEstimatedExchangeAmountV2,
|
||||
|
@ -969,9 +1022,9 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i17.CNExchangeEstimate>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i19.CNExchangeEstimate>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i18.FixedRateMarket>>>
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i20.FixedRateMarket>>>
|
||||
getAvailableFixedRateMarkets({String? apiKey}) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getAvailableFixedRateMarkets,
|
||||
|
@ -979,8 +1032,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
{#apiKey: apiKey},
|
||||
),
|
||||
returnValue: _i6.Future<
|
||||
_i2.ExchangeResponse<List<_i18.FixedRateMarket>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i18.FixedRateMarket>>(
|
||||
_i2.ExchangeResponse<List<_i20.FixedRateMarket>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i20.FixedRateMarket>>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getAvailableFixedRateMarkets,
|
||||
|
@ -988,14 +1041,14 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
{#apiKey: apiKey},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i18.FixedRateMarket>>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i20.FixedRateMarket>>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i19.ExchangeTransaction>>
|
||||
_i6.Future<_i2.ExchangeResponse<_i21.ExchangeTransaction>>
|
||||
createStandardExchangeTransaction({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required String? receivingAddress,
|
||||
required _i14.Decimal? amount,
|
||||
required _i16.Decimal? amount,
|
||||
String? extraId = r'',
|
||||
String? userId = r'',
|
||||
String? contactEmail = r'',
|
||||
|
@ -1021,8 +1074,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue: _i6.Future<
|
||||
_i2.ExchangeResponse<_i19.ExchangeTransaction>>.value(
|
||||
_FakeExchangeResponse_0<_i19.ExchangeTransaction>(
|
||||
_i2.ExchangeResponse<_i21.ExchangeTransaction>>.value(
|
||||
_FakeExchangeResponse_0<_i21.ExchangeTransaction>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#createStandardExchangeTransaction,
|
||||
|
@ -1041,14 +1094,14 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i19.ExchangeTransaction>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i21.ExchangeTransaction>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i19.ExchangeTransaction>>
|
||||
_i6.Future<_i2.ExchangeResponse<_i21.ExchangeTransaction>>
|
||||
createFixedRateExchangeTransaction({
|
||||
required String? fromTicker,
|
||||
required String? toTicker,
|
||||
required String? receivingAddress,
|
||||
required _i14.Decimal? amount,
|
||||
required _i16.Decimal? amount,
|
||||
required String? rateId,
|
||||
required bool? reversed,
|
||||
String? extraId = r'',
|
||||
|
@ -1078,8 +1131,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue: _i6.Future<
|
||||
_i2.ExchangeResponse<_i19.ExchangeTransaction>>.value(
|
||||
_FakeExchangeResponse_0<_i19.ExchangeTransaction>(
|
||||
_i2.ExchangeResponse<_i21.ExchangeTransaction>>.value(
|
||||
_FakeExchangeResponse_0<_i21.ExchangeTransaction>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#createFixedRateExchangeTransaction,
|
||||
|
@ -1100,9 +1153,9 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i19.ExchangeTransaction>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<_i21.ExchangeTransaction>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<_i20.ExchangeTransactionStatus>>
|
||||
_i6.Future<_i2.ExchangeResponse<_i22.ExchangeTransactionStatus>>
|
||||
getTransactionStatus({
|
||||
required String? id,
|
||||
String? apiKey,
|
||||
|
@ -1117,8 +1170,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
},
|
||||
),
|
||||
returnValue: _i6.Future<
|
||||
_i2.ExchangeResponse<_i20.ExchangeTransactionStatus>>.value(
|
||||
_FakeExchangeResponse_0<_i20.ExchangeTransactionStatus>(
|
||||
_i2.ExchangeResponse<_i22.ExchangeTransactionStatus>>.value(
|
||||
_FakeExchangeResponse_0<_i22.ExchangeTransactionStatus>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getTransactionStatus,
|
||||
|
@ -1130,9 +1183,9 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
),
|
||||
)),
|
||||
) as _i6
|
||||
.Future<_i2.ExchangeResponse<_i20.ExchangeTransactionStatus>>);
|
||||
.Future<_i2.ExchangeResponse<_i22.ExchangeTransactionStatus>>);
|
||||
@override
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i21.Pair>>>
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i23.Pair>>>
|
||||
getAvailableFloatingRatePairs({bool? includePartners = false}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1141,8 +1194,8 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
{#includePartners: includePartners},
|
||||
),
|
||||
returnValue:
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i21.Pair>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i21.Pair>>(
|
||||
_i6.Future<_i2.ExchangeResponse<List<_i23.Pair>>>.value(
|
||||
_FakeExchangeResponse_0<List<_i23.Pair>>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getAvailableFloatingRatePairs,
|
||||
|
@ -1150,5 +1203,5 @@ class MockChangeNowAPI extends _i1.Mock implements _i11.ChangeNowAPI {
|
|||
{#includePartners: includePartners},
|
||||
),
|
||||
)),
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i21.Pair>>>);
|
||||
) as _i6.Future<_i2.ExchangeResponse<List<_i23.Pair>>>);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/lockscreen_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/main_view_tests/main_view_screen_testA_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/main_view_tests/main_view_screen_testB_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/main_view_tests/main_view_screen_testC_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/backup_key_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/backup_key_warning_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/create_pin_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/name_your_wallet_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/restore_wallet_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i9;
|
||||
import 'dart:ui' as _i12;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/onboarding/verify_backup_key_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/currency_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/network_settings_subviews/add_custom_node_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i9;
|
||||
import 'dart:ui' as _i11;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/network_settings_subviews/node_details_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i9;
|
||||
import 'dart:ui' as _i11;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/network_settings_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:ui' as _i7;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_backup_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/change_pin_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rename_wallet_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rescan_warning_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/wallet_delete_mnemonic_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_subviews/wallet_settings_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i14;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/settings_view/settings_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i7;
|
||||
import 'dart:ui' as _i9;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/transaction_subviews/transaction_details_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/transaction_subviews/transaction_search_results_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/transaction_subviews/transaction_search_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/wallet_view/confirm_send_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/wallet_view/receive_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/wallet_view/send_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i12;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/screen_tests/wallet_view/wallet_view_screen_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i8;
|
||||
import 'dart:ui' as _i10;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/change_now/change_now_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
import 'dart:convert' as _i4;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/bitcoin/bitcoin_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/bitcoincash/bitcoincash_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/dogecoin/dogecoin_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/firo/firo_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/manager_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i11;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/namecoin/namecoin_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/coins/particl/particl_wallet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/services/wallets_service_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/address_book_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i4;
|
||||
import 'dart:ui' as _i5;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/custom_buttons/favorite_toggle_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:typed_data' as _i6;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/custom_loading_overlay_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:typed_data' as _i6;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/desktop/desktop_scaffold_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:typed_data' as _i6;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/managed_favorite_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i23;
|
||||
import 'dart:typed_data' as _i29;
|
||||
|
@ -334,9 +336,8 @@ class MockWallets extends _i1.Mock implements _i21.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1526,14 +1527,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i23.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i14.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i23.Future<int> Function({required String address})? getTxCount,
|
||||
required _i23.Future<List<_i28.SigningData>> Function(List<_i17.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/node_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:ui' as _i7;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/node_options_sheet_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i11;
|
||||
import 'dart:ui' as _i13;
|
||||
|
@ -9,11 +11,12 @@ import 'dart:ui' as _i13;
|
|||
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/models/node_model.dart' as _i16;
|
||||
import 'package:stackwallet/models/node_model.dart' as _i17;
|
||||
import 'package:stackwallet/services/coins/manager.dart' as _i6;
|
||||
import 'package:stackwallet/services/node_service.dart' as _i3;
|
||||
import 'package:stackwallet/services/wallets.dart' as _i8;
|
||||
import 'package:stackwallet/services/wallets_service.dart' as _i2;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i16;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i15;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i9;
|
||||
import 'package:stackwallet/utilities/enums/sync_type_enum.dart' as _i14;
|
||||
|
@ -172,9 +175,8 @@ class MockWallets extends _i1.Mock implements _i8.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i10.Tuple2<_i9.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i10.Tuple2<_i9.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i10.Tuple2<_i9.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -691,6 +693,54 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
|
|||
returnValueForMissingStub: _i11.Future<void>.value(),
|
||||
) as _i11.Future<void>);
|
||||
@override
|
||||
_i16.AmountUnit amountUnit(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i16.AmountUnit.normal,
|
||||
) as _i16.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i9.Coin? coin,
|
||||
required _i16.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i9.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i13.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
|
@ -741,15 +791,15 @@ class MockNodeService extends _i1.Mock implements _i3.NodeService {
|
|||
),
|
||||
) as _i7.SecureStorageInterface);
|
||||
@override
|
||||
List<_i16.NodeModel> get primaryNodes => (super.noSuchMethod(
|
||||
List<_i17.NodeModel> get primaryNodes => (super.noSuchMethod(
|
||||
Invocation.getter(#primaryNodes),
|
||||
returnValue: <_i16.NodeModel>[],
|
||||
) as List<_i16.NodeModel>);
|
||||
returnValue: <_i17.NodeModel>[],
|
||||
) as List<_i17.NodeModel>);
|
||||
@override
|
||||
List<_i16.NodeModel> get nodes => (super.noSuchMethod(
|
||||
List<_i17.NodeModel> get nodes => (super.noSuchMethod(
|
||||
Invocation.getter(#nodes),
|
||||
returnValue: <_i16.NodeModel>[],
|
||||
) as List<_i16.NodeModel>);
|
||||
returnValue: <_i17.NodeModel>[],
|
||||
) as List<_i17.NodeModel>);
|
||||
@override
|
||||
bool get hasListeners => (super.noSuchMethod(
|
||||
Invocation.getter(#hasListeners),
|
||||
|
@ -767,7 +817,7 @@ class MockNodeService extends _i1.Mock implements _i3.NodeService {
|
|||
@override
|
||||
_i11.Future<void> setPrimaryNodeFor({
|
||||
required _i9.Coin? coin,
|
||||
required _i16.NodeModel? node,
|
||||
required _i17.NodeModel? node,
|
||||
bool? shouldNotifyListeners = false,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -784,40 +834,40 @@ class MockNodeService extends _i1.Mock implements _i3.NodeService {
|
|||
returnValueForMissingStub: _i11.Future<void>.value(),
|
||||
) as _i11.Future<void>);
|
||||
@override
|
||||
_i16.NodeModel? getPrimaryNodeFor({required _i9.Coin? coin}) =>
|
||||
_i17.NodeModel? getPrimaryNodeFor({required _i9.Coin? coin}) =>
|
||||
(super.noSuchMethod(Invocation.method(
|
||||
#getPrimaryNodeFor,
|
||||
[],
|
||||
{#coin: coin},
|
||||
)) as _i16.NodeModel?);
|
||||
)) as _i17.NodeModel?);
|
||||
@override
|
||||
List<_i16.NodeModel> getNodesFor(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
List<_i17.NodeModel> getNodesFor(_i9.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getNodesFor,
|
||||
[coin],
|
||||
),
|
||||
returnValue: <_i16.NodeModel>[],
|
||||
) as List<_i16.NodeModel>);
|
||||
returnValue: <_i17.NodeModel>[],
|
||||
) as List<_i17.NodeModel>);
|
||||
@override
|
||||
_i16.NodeModel? getNodeById({required String? id}) =>
|
||||
_i17.NodeModel? getNodeById({required String? id}) =>
|
||||
(super.noSuchMethod(Invocation.method(
|
||||
#getNodeById,
|
||||
[],
|
||||
{#id: id},
|
||||
)) as _i16.NodeModel?);
|
||||
)) as _i17.NodeModel?);
|
||||
@override
|
||||
List<_i16.NodeModel> failoverNodesFor({required _i9.Coin? coin}) =>
|
||||
List<_i17.NodeModel> failoverNodesFor({required _i9.Coin? coin}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#failoverNodesFor,
|
||||
[],
|
||||
{#coin: coin},
|
||||
),
|
||||
returnValue: <_i16.NodeModel>[],
|
||||
) as List<_i16.NodeModel>);
|
||||
returnValue: <_i17.NodeModel>[],
|
||||
) as List<_i17.NodeModel>);
|
||||
@override
|
||||
_i11.Future<void> add(
|
||||
_i16.NodeModel? node,
|
||||
_i17.NodeModel? node,
|
||||
String? password,
|
||||
bool? shouldNotifyListeners,
|
||||
) =>
|
||||
|
@ -869,7 +919,7 @@ class MockNodeService extends _i1.Mock implements _i3.NodeService {
|
|||
) as _i11.Future<void>);
|
||||
@override
|
||||
_i11.Future<void> edit(
|
||||
_i16.NodeModel? editedNode,
|
||||
_i17.NodeModel? editedNode,
|
||||
String? password,
|
||||
bool? shouldNotifyListeners,
|
||||
) =>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/table_view/table_view_row_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i22;
|
||||
import 'dart:typed_data' as _i27;
|
||||
|
@ -322,9 +324,8 @@ class MockWallets extends _i1.Mock implements _i20.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i21.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i21.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i21.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1614,14 +1615,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i28.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i22.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i14.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i22.Future<int> Function({required String address})? getTxCount,
|
||||
required _i22.Future<List<_i30.SigningData>> Function(List<_i17.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/trade_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i5;
|
||||
import 'dart:typed_data' as _i6;
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/transaction_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i18;
|
||||
import 'dart:typed_data' as _i32;
|
||||
import 'dart:typed_data' as _i33;
|
||||
import 'dart:ui' as _i20;
|
||||
|
||||
import 'package:decimal/decimal.dart' as _i28;
|
||||
import 'package:decimal/decimal.dart' as _i29;
|
||||
import 'package:flutter/foundation.dart' as _i4;
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
|
||||
import 'package:mockito/mockito.dart' as _i1;
|
||||
|
@ -16,7 +18,7 @@ import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i13;
|
|||
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i12;
|
||||
import 'package:stackwallet/models/balance.dart' as _i9;
|
||||
import 'package:stackwallet/models/isar/models/isar_models.dart' as _i21;
|
||||
import 'package:stackwallet/models/isar/stack_theme.dart' as _i31;
|
||||
import 'package:stackwallet/models/isar/stack_theme.dart' as _i32;
|
||||
import 'package:stackwallet/models/models.dart' as _i8;
|
||||
import 'package:stackwallet/models/signing_data.dart' as _i23;
|
||||
import 'package:stackwallet/services/coins/coin_service.dart' as _i7;
|
||||
|
@ -24,14 +26,15 @@ 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 _i24;
|
||||
import 'package:stackwallet/services/node_service.dart' as _i3;
|
||||
import 'package:stackwallet/services/notes_service.dart' as _i29;
|
||||
import 'package:stackwallet/services/price_service.dart' as _i27;
|
||||
import 'package:stackwallet/services/notes_service.dart' as _i30;
|
||||
import 'package:stackwallet/services/price_service.dart' as _i28;
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart'
|
||||
as _i11;
|
||||
import 'package:stackwallet/services/wallets.dart' as _i16;
|
||||
import 'package:stackwallet/services/wallets_service.dart' as _i2;
|
||||
import 'package:stackwallet/themes/theme_service.dart' as _i30;
|
||||
import 'package:stackwallet/themes/theme_service.dart' as _i31;
|
||||
import 'package:stackwallet/utilities/amount/amount.dart' as _i10;
|
||||
import 'package:stackwallet/utilities/amount/amount_unit.dart' as _i27;
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart' as _i26;
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i17;
|
||||
import 'package:stackwallet/utilities/enums/sync_type_enum.dart' as _i25;
|
||||
|
@ -281,9 +284,8 @@ class MockWallets extends _i1.Mock implements _i16.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i17.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i17.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i17.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -2553,6 +2555,54 @@ class MockPrefs extends _i1.Mock implements _i19.Prefs {
|
|||
returnValueForMissingStub: _i18.Future<void>.value(),
|
||||
) as _i18.Future<void>);
|
||||
@override
|
||||
_i27.AmountUnit amountUnit(_i17.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#amountUnit,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _i27.AmountUnit.normal,
|
||||
) as _i27.AmountUnit);
|
||||
@override
|
||||
void updateAmountUnit({
|
||||
required _i17.Coin? coin,
|
||||
required _i27.AmountUnit? amountUnit,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateAmountUnit,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#amountUnit: amountUnit,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
int maxDecimals(_i17.Coin? coin) => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#maxDecimals,
|
||||
[coin],
|
||||
),
|
||||
returnValue: 0,
|
||||
) as int);
|
||||
@override
|
||||
void updateMaxDecimals({
|
||||
required _i17.Coin? coin,
|
||||
required int? maxDecimals,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#updateMaxDecimals,
|
||||
[],
|
||||
{
|
||||
#coin: coin,
|
||||
#maxDecimals: maxDecimals,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
void addListener(_i20.VoidCallback? listener) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addListener,
|
||||
|
@ -2589,7 +2639,7 @@ class MockPrefs extends _i1.Mock implements _i19.Prefs {
|
|||
/// A class which mocks [PriceService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockPriceService extends _i1.Mock implements _i27.PriceService {
|
||||
class MockPriceService extends _i1.Mock implements _i28.PriceService {
|
||||
MockPriceService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
@ -2626,35 +2676,35 @@ class MockPriceService extends _i1.Mock implements _i27.PriceService {
|
|||
returnValue: false,
|
||||
) as bool);
|
||||
@override
|
||||
_i15.Tuple2<_i28.Decimal, double> getPrice(_i17.Coin? coin) =>
|
||||
_i15.Tuple2<_i29.Decimal, double> getPrice(_i17.Coin? coin) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPrice,
|
||||
[coin],
|
||||
),
|
||||
returnValue: _FakeTuple2_13<_i28.Decimal, double>(
|
||||
returnValue: _FakeTuple2_13<_i29.Decimal, double>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPrice,
|
||||
[coin],
|
||||
),
|
||||
),
|
||||
) as _i15.Tuple2<_i28.Decimal, double>);
|
||||
) as _i15.Tuple2<_i29.Decimal, double>);
|
||||
@override
|
||||
_i15.Tuple2<_i28.Decimal, double> getTokenPrice(String? contractAddress) =>
|
||||
_i15.Tuple2<_i29.Decimal, double> getTokenPrice(String? contractAddress) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getTokenPrice,
|
||||
[contractAddress],
|
||||
),
|
||||
returnValue: _FakeTuple2_13<_i28.Decimal, double>(
|
||||
returnValue: _FakeTuple2_13<_i29.Decimal, double>(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getTokenPrice,
|
||||
[contractAddress],
|
||||
),
|
||||
),
|
||||
) as _i15.Tuple2<_i28.Decimal, double>);
|
||||
) as _i15.Tuple2<_i29.Decimal, double>);
|
||||
@override
|
||||
_i18.Future<void> updatePrice() => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -2717,7 +2767,7 @@ class MockPriceService extends _i1.Mock implements _i27.PriceService {
|
|||
/// A class which mocks [NotesService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockNotesService extends _i1.Mock implements _i29.NotesService {
|
||||
class MockNotesService extends _i1.Mock implements _i30.NotesService {
|
||||
MockNotesService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
@ -2824,7 +2874,7 @@ class MockNotesService extends _i1.Mock implements _i29.NotesService {
|
|||
/// A class which mocks [ThemeService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockThemeService extends _i1.Mock implements _i30.ThemeService {
|
||||
class MockThemeService extends _i1.Mock implements _i31.ThemeService {
|
||||
MockThemeService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
@ -2838,10 +2888,10 @@ class MockThemeService extends _i1.Mock implements _i30.ThemeService {
|
|||
),
|
||||
) as _i14.MainDB);
|
||||
@override
|
||||
List<_i31.StackTheme> get installedThemes => (super.noSuchMethod(
|
||||
List<_i32.StackTheme> get installedThemes => (super.noSuchMethod(
|
||||
Invocation.getter(#installedThemes),
|
||||
returnValue: <_i31.StackTheme>[],
|
||||
) as List<_i31.StackTheme>);
|
||||
returnValue: <_i32.StackTheme>[],
|
||||
) as List<_i32.StackTheme>);
|
||||
@override
|
||||
void init(_i14.MainDB? db) => super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -2851,7 +2901,7 @@ class MockThemeService extends _i1.Mock implements _i30.ThemeService {
|
|||
returnValueForMissingStub: null,
|
||||
);
|
||||
@override
|
||||
_i18.Future<void> install({required _i32.Uint8List? themeArchiveData}) =>
|
||||
_i18.Future<void> install({required _i33.Uint8List? themeArchiveData}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#install,
|
||||
|
@ -2891,31 +2941,31 @@ class MockThemeService extends _i1.Mock implements _i30.ThemeService {
|
|||
returnValue: _i18.Future<bool>.value(false),
|
||||
) as _i18.Future<bool>);
|
||||
@override
|
||||
_i18.Future<List<_i30.StackThemeMetaData>> fetchThemes() =>
|
||||
_i18.Future<List<_i31.StackThemeMetaData>> fetchThemes() =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#fetchThemes,
|
||||
[],
|
||||
),
|
||||
returnValue: _i18.Future<List<_i30.StackThemeMetaData>>.value(
|
||||
<_i30.StackThemeMetaData>[]),
|
||||
) as _i18.Future<List<_i30.StackThemeMetaData>>);
|
||||
returnValue: _i18.Future<List<_i31.StackThemeMetaData>>.value(
|
||||
<_i31.StackThemeMetaData>[]),
|
||||
) as _i18.Future<List<_i31.StackThemeMetaData>>);
|
||||
@override
|
||||
_i18.Future<_i32.Uint8List> fetchTheme(
|
||||
{required _i30.StackThemeMetaData? themeMetaData}) =>
|
||||
_i18.Future<_i33.Uint8List> fetchTheme(
|
||||
{required _i31.StackThemeMetaData? themeMetaData}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#fetchTheme,
|
||||
[],
|
||||
{#themeMetaData: themeMetaData},
|
||||
),
|
||||
returnValue: _i18.Future<_i32.Uint8List>.value(_i32.Uint8List(0)),
|
||||
) as _i18.Future<_i32.Uint8List>);
|
||||
returnValue: _i18.Future<_i33.Uint8List>.value(_i33.Uint8List(0)),
|
||||
) as _i18.Future<_i33.Uint8List>);
|
||||
@override
|
||||
_i31.StackTheme? getTheme({required String? themeId}) =>
|
||||
_i32.StackTheme? getTheme({required String? themeId}) =>
|
||||
(super.noSuchMethod(Invocation.method(
|
||||
#getTheme,
|
||||
[],
|
||||
{#themeId: themeId},
|
||||
)) as _i31.StackTheme?);
|
||||
)) as _i32.StackTheme?);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/wallet_card_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i21;
|
||||
import 'dart:typed_data' as _i28;
|
||||
|
@ -310,9 +312,8 @@ class MockWallets extends _i1.Mock implements _i19.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i20.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i20.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i20.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1268,14 +1269,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i21.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i14.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i21.Future<int> Function({required String address})? getTxCount,
|
||||
required _i21.Future<List<_i26.SigningData>> Function(List<_i17.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i23;
|
||||
import 'dart:typed_data' as _i29;
|
||||
|
@ -331,9 +333,8 @@ class MockWallets extends _i1.Mock implements _i21.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1523,14 +1524,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i23.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i14.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i23.Future<int> Function({required String address})? getTxCount,
|
||||
required _i23.Future<List<_i28.SigningData>> Function(List<_i17.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// Mocks generated by Mockito 5.3.2 from annotations
|
||||
// Mocks generated by Mockito 5.4.1 from annotations
|
||||
// in stackwallet/test/widget_tests/wallet_info_row/wallet_info_row_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// @dart=2.19
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i23;
|
||||
import 'dart:typed_data' as _i28;
|
||||
|
@ -334,9 +336,8 @@ class MockWallets extends _i1.Mock implements _i21.Wallets {
|
|||
#getManagerProvidersByCoin,
|
||||
[],
|
||||
),
|
||||
returnValue: <
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
returnValue: <_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>[],
|
||||
) as List<
|
||||
_i15.Tuple2<_i22.Coin,
|
||||
List<_i5.ChangeNotifierProvider<_i6.Manager>>>>);
|
||||
|
@ -1626,14 +1627,12 @@ class MockBitcoinWallet extends _i1.Mock implements _i29.BitcoinWallet {
|
|||
required int Function({
|
||||
required int feeRatePerKB,
|
||||
required int vSize,
|
||||
})?
|
||||
estimateTxFee,
|
||||
})? estimateTxFee,
|
||||
required _i23.Future<Map<String, dynamic>> Function({
|
||||
required String address,
|
||||
required _i14.Amount amount,
|
||||
Map<String, dynamic>? args,
|
||||
})?
|
||||
prepareSend,
|
||||
})? prepareSend,
|
||||
required _i23.Future<int> Function({required String address})? getTxCount,
|
||||
required _i23.Future<List<_i31.SigningData>> Function(List<_i17.UTXO>)?
|
||||
fetchBuildTxData,
|
||||
|
|
Loading…
Reference in a new issue