update mocks

This commit is contained in:
julian 2024-05-10 15:59:23 -06:00
parent ceeaf44bf7
commit ba0e3e1fbd
12 changed files with 12 additions and 156 deletions

View file

@ -884,32 +884,6 @@ class MockPrefs extends _i1.Mock implements _i7.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -978,32 +978,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -454,32 +454,6 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -78,6 +78,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i5.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -87,6 +88,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i7.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i7.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i7.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i7.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -548,6 +548,7 @@ class MockCachedElectrumXClient extends _i1.Mock
required String? groupId,
String? blockhash = r'',
required _i7.Coin? coin,
required bool? useOnlyCacheIfNotEmpty,
}) =>
(super.noSuchMethod(
Invocation.method(
@ -557,6 +558,7 @@ class MockCachedElectrumXClient extends _i1.Mock
#groupId: groupId,
#blockhash: blockhash,
#coin: coin,
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
},
),
returnValue:

View file

@ -712,32 +712,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -598,32 +598,6 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -698,32 +698,6 @@ class MockPrefs extends _i1.Mock implements _i14.Prefs {
returnValueForMissingStub: null,
);
@override
bool get solanaEnabled => (super.noSuchMethod(
Invocation.getter(#solanaEnabled),
returnValue: false,
) as bool);
@override
set solanaEnabled(bool? solanaEnabled) => super.noSuchMethod(
Invocation.setter(
#solanaEnabled,
solanaEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get frostEnabled => (super.noSuchMethod(
Invocation.getter(#frostEnabled),
returnValue: false,
) as bool);
@override
set frostEnabled(bool? frostEnabled) => super.noSuchMethod(
Invocation.setter(
#frostEnabled,
frostEnabled,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,