mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 03:39:23 +00:00
updated mocks
This commit is contained in:
parent
606e70a061
commit
f969179ea6
19 changed files with 149 additions and 0 deletions
|
@ -486,6 +486,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i22.Future<bool>.value(false),
|
returnValue: _i22.Future<bool>.value(false),
|
||||||
) as _i22.Future<bool>);
|
) as _i22.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i22.Future<void> addExistingStackWallet({
|
_i22.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -107,6 +107,14 @@ class MockWalletsService extends _i1.Mock implements _i6.WalletsService {
|
||||||
returnValue: _i7.Future<bool>.value(false),
|
returnValue: _i7.Future<bool>.value(false),
|
||||||
) as _i7.Future<bool>);
|
) as _i7.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i6.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i6.WalletInfo>{},
|
||||||
|
) as Map<String, _i6.WalletInfo>);
|
||||||
|
@override
|
||||||
_i7.Future<void> addExistingStackWallet({
|
_i7.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -94,6 +94,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -94,6 +94,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -94,6 +94,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -92,6 +92,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -107,6 +107,14 @@ class MockWalletsService extends _i1.Mock implements _i6.WalletsService {
|
||||||
returnValue: _i7.Future<bool>.value(false),
|
returnValue: _i7.Future<bool>.value(false),
|
||||||
) as _i7.Future<bool>);
|
) as _i7.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i6.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i6.WalletInfo>{},
|
||||||
|
) as Map<String, _i6.WalletInfo>);
|
||||||
|
@override
|
||||||
_i7.Future<void> addExistingStackWallet({
|
_i7.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -56,6 +56,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i3.Future<bool>.value(false),
|
returnValue: _i3.Future<bool>.value(false),
|
||||||
) as _i3.Future<bool>);
|
) as _i3.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i3.Future<void> addExistingStackWallet({
|
_i3.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -148,6 +148,14 @@ class MockWalletsService extends _i1.Mock implements _i9.WalletsService {
|
||||||
returnValue: _i8.Future<bool>.value(false),
|
returnValue: _i8.Future<bool>.value(false),
|
||||||
) as _i8.Future<bool>);
|
) as _i8.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i9.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i9.WalletInfo>{},
|
||||||
|
) as Map<String, _i9.WalletInfo>);
|
||||||
|
@override
|
||||||
_i8.Future<void> addExistingStackWallet({
|
_i8.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -56,6 +56,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i3.Future<bool>.value(false),
|
returnValue: _i3.Future<bool>.value(false),
|
||||||
) as _i3.Future<bool>);
|
) as _i3.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i3.Future<void> addExistingStackWallet({
|
_i3.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -56,6 +56,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i3.Future<bool>.value(false),
|
returnValue: _i3.Future<bool>.value(false),
|
||||||
) as _i3.Future<bool>);
|
) as _i3.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i3.Future<void> addExistingStackWallet({
|
_i3.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -92,6 +92,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -349,6 +349,14 @@ class MockWalletsService extends _i1.Mock implements _i13.WalletsService {
|
||||||
returnValue: _i8.Future<bool>.value(false),
|
returnValue: _i8.Future<bool>.value(false),
|
||||||
) as _i8.Future<bool>);
|
) as _i8.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i13.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i13.WalletInfo>{},
|
||||||
|
) as Map<String, _i13.WalletInfo>);
|
||||||
|
@override
|
||||||
_i8.Future<void> addExistingStackWallet({
|
_i8.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -92,6 +92,14 @@ class MockWalletsService extends _i1.Mock implements _i5.WalletsService {
|
||||||
returnValue: _i6.Future<bool>.value(false),
|
returnValue: _i6.Future<bool>.value(false),
|
||||||
) as _i6.Future<bool>);
|
) as _i6.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i5.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i5.WalletInfo>{},
|
||||||
|
) as Map<String, _i5.WalletInfo>);
|
||||||
|
@override
|
||||||
_i6.Future<void> addExistingStackWallet({
|
_i6.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -482,6 +482,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i22.Future<bool>.value(false),
|
returnValue: _i22.Future<bool>.value(false),
|
||||||
) as _i22.Future<bool>);
|
) as _i22.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i22.Future<void> addExistingStackWallet({
|
_i22.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -469,6 +469,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i21.Future<bool>.value(false),
|
returnValue: _i21.Future<bool>.value(false),
|
||||||
) as _i21.Future<bool>);
|
) as _i21.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i21.Future<void> addExistingStackWallet({
|
_i21.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -2528,6 +2528,11 @@ class MockPriceService extends _i1.Mock implements _i28.PriceService {
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
@override
|
@override
|
||||||
|
Set<String> get tokenContractAddressesToCheck => (super.noSuchMethod(
|
||||||
|
Invocation.getter(#tokenContractAddressesToCheck),
|
||||||
|
returnValue: <String>{},
|
||||||
|
) as Set<String>);
|
||||||
|
@override
|
||||||
Duration get updateInterval => (super.noSuchMethod(
|
Duration get updateInterval => (super.noSuchMethod(
|
||||||
Invocation.getter(#updateInterval),
|
Invocation.getter(#updateInterval),
|
||||||
returnValue: _FakeDuration_12(
|
returnValue: _FakeDuration_12(
|
||||||
|
|
|
@ -481,6 +481,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i22.Future<bool>.value(false),
|
returnValue: _i22.Future<bool>.value(false),
|
||||||
) as _i22.Future<bool>);
|
) as _i22.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i22.Future<void> addExistingStackWallet({
|
_i22.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
|
@ -481,6 +481,14 @@ class MockWalletsService extends _i1.Mock implements _i2.WalletsService {
|
||||||
returnValue: _i22.Future<bool>.value(false),
|
returnValue: _i22.Future<bool>.value(false),
|
||||||
) as _i22.Future<bool>);
|
) as _i22.Future<bool>);
|
||||||
@override
|
@override
|
||||||
|
Map<String, _i2.WalletInfo> fetchWalletsData() => (super.noSuchMethod(
|
||||||
|
Invocation.method(
|
||||||
|
#fetchWalletsData,
|
||||||
|
[],
|
||||||
|
),
|
||||||
|
returnValue: <String, _i2.WalletInfo>{},
|
||||||
|
) as Map<String, _i2.WalletInfo>);
|
||||||
|
@override
|
||||||
_i22.Future<void> addExistingStackWallet({
|
_i22.Future<void> addExistingStackWallet({
|
||||||
required String? name,
|
required String? name,
|
||||||
required String? walletId,
|
required String? walletId,
|
||||||
|
|
Loading…
Reference in a new issue