Skip to content

Commit

Permalink
Regenerate mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNihelton committed Nov 21, 2023
1 parent 2ff2787 commit 09cee6d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class MockSubscribeNowModel extends _i1.Mock implements _i5.SubscribeNowModel {
Invocation.getter(#client),
),
) as _i2.AgentApiClient);

@override
_i6.Future<_i3.SubscriptionInfo> applyProToken(_i7.ProToken? token) =>
(super.noSuchMethod(
Expand All @@ -91,6 +92,7 @@ class MockSubscribeNowModel extends _i1.Mock implements _i5.SubscribeNowModel {
),
)),
) as _i6.Future<_i3.SubscriptionInfo>);

@override
void launchProWebPage() => super.noSuchMethod(
Invocation.method(
Expand All @@ -99,6 +101,7 @@ class MockSubscribeNowModel extends _i1.Mock implements _i5.SubscribeNowModel {
),
returnValueForMissingStub: null,
);

@override
_i6.Future<_i4.Either<_i8.PurchaseStatus, _i3.SubscriptionInfo>>
purchaseSubscription() => (super.noSuchMethod(
Expand All @@ -117,6 +120,7 @@ class MockSubscribeNowModel extends _i1.Mock implements _i5.SubscribeNowModel {
)),
) as _i6
.Future<_i4.Either<_i8.PurchaseStatus, _i3.SubscriptionInfo>>);

@override
bool purchaseAllowed() => (super.noSuchMethod(
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
)),
) as _i4.Future<_i2.SubscriptionInfo>);

@override
_i4.Future<bool> ping() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -65,6 +66,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
returnValue: _i4.Future<bool>.value(false),
) as _i4.Future<bool>);

@override
_i4.Future<_i2.SubscriptionInfo> subscriptionInfo() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -80,6 +82,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
)),
) as _i4.Future<_i2.SubscriptionInfo>);

@override
_i4.Future<_i2.SubscriptionInfo> notifyPurchase() => (super.noSuchMethod(
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
)),
) as _i4.Future<_i2.SubscriptionInfo>);

@override
_i4.Future<bool> ping() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -65,6 +66,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
returnValue: _i4.Future<bool>.value(false),
) as _i4.Future<bool>);

@override
_i4.Future<_i2.SubscriptionInfo> subscriptionInfo() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -80,6 +82,7 @@ class MockAgentApiClient extends _i1.Mock implements _i3.AgentApiClient {
),
)),
) as _i4.Future<_i2.SubscriptionInfo>);

@override
_i4.Future<_i2.SubscriptionInfo> notifyPurchase() => (super.noSuchMethod(
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class MockAgentStartupMonitor extends _i1.Mock
Invocation.getter(#agentLauncher),
returnValue: () => _i4.Future<bool>.value(false),
) as _i3.AgentLauncher);

@override
_i3.ApiClientFactory get clientFactory => (super.noSuchMethod(
Invocation.getter(#clientFactory),
Expand All @@ -55,11 +56,13 @@ class MockAgentStartupMonitor extends _i1.Mock
Invocation.getter(#clientFactory),
),
) as _i3.ApiClientFactory);

@override
_i3.AgentApiCallback get onClient => (super.noSuchMethod(
Invocation.getter(#onClient),
returnValue: (_i2.AgentApiClient __p0) => null,
) as _i3.AgentApiCallback);

@override
_i4.Stream<_i3.AgentState> start({
Duration? interval = const Duration(seconds: 1),
Expand All @@ -76,6 +79,7 @@ class MockAgentStartupMonitor extends _i1.Mock
),
returnValue: _i4.Stream<_i3.AgentState>.empty(),
) as _i4.Stream<_i3.AgentState>);

@override
_i4.Future<void> reset() => (super.noSuchMethod(
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class MockAgentStartupMonitor extends _i1.Mock
Invocation.getter(#agentLauncher),
returnValue: () => _i5.Future<bool>.value(false),
) as _i4.AgentLauncher);

@override
_i4.ApiClientFactory get clientFactory => (super.noSuchMethod(
Invocation.getter(#clientFactory),
Expand All @@ -67,11 +68,13 @@ class MockAgentStartupMonitor extends _i1.Mock
Invocation.getter(#clientFactory),
),
) as _i4.ApiClientFactory);

@override
_i4.AgentApiCallback get onClient => (super.noSuchMethod(
Invocation.getter(#onClient),
returnValue: (_i2.AgentApiClient __p0) => null,
) as _i4.AgentApiCallback);

@override
_i5.Stream<_i4.AgentState> start({
Duration? interval = const Duration(seconds: 1),
Expand All @@ -88,6 +91,7 @@ class MockAgentStartupMonitor extends _i1.Mock
),
returnValue: _i5.Stream<_i4.AgentState>.empty(),
) as _i5.Stream<_i4.AgentState>);

@override
_i5.Future<void> reset() => (super.noSuchMethod(
Invocation.method(
Expand Down Expand Up @@ -123,6 +127,7 @@ class MockAgentApiClient extends _i1.Mock implements _i2.AgentApiClient {
),
)),
) as _i5.Future<_i3.SubscriptionInfo>);

@override
_i5.Future<bool> ping() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -131,6 +136,7 @@ class MockAgentApiClient extends _i1.Mock implements _i2.AgentApiClient {
),
returnValue: _i5.Future<bool>.value(false),
) as _i5.Future<bool>);

@override
_i5.Future<_i3.SubscriptionInfo> subscriptionInfo() => (super.noSuchMethod(
Invocation.method(
Expand All @@ -146,6 +152,7 @@ class MockAgentApiClient extends _i1.Mock implements _i2.AgentApiClient {
),
)),
) as _i5.Future<_i3.SubscriptionInfo>);

@override
_i5.Future<_i3.SubscriptionInfo> notifyPurchase() => (super.noSuchMethod(
Invocation.method(
Expand Down

0 comments on commit 09cee6d

Please sign in to comment.