Skip to content

Commit

Permalink
Merge pull request #1066 from bannzai/dependabot/pub/mockito-5.4.4
Browse files Browse the repository at this point in the history
Bump mockito from 5.4.2 to 5.4.4
  • Loading branch information
bannzai authored Feb 10, 2024
2 parents 8d70e58 + 3608c09 commit a8b48e9
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 31 deletions.
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -721,10 +721,10 @@ packages:
dependency: "direct main"
description:
name: mockito
sha256: "7d5b53bcd556c1bc7ffbe4e4d5a19c3e112b7e925e9e172dd7c6ad0630812616"
sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917"
url: "https://pub.dev"
source: hosted
version: "5.4.2"
version: "5.4.4"
package_config:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
url_launcher: ^6.2.4
package_info: ^2.0.0
json_annotation: ^4.0.0
mockito: ^5.3.2
mockito: ^5.4.4
freezed_annotation: ^2.2.0
riverpod: ^2.4.4
hooks_riverpod: ^2.4.10
Expand Down
67 changes: 39 additions & 28 deletions test/helper/mock.mocks.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Mocks generated by Mockito 5.4.2 from annotations
// Mocks generated by Mockito 5.4.4 from annotations
// in pilll/test/helper/mock.dart.
// Do not manually edit this file.

Expand All @@ -9,20 +9,20 @@ import 'package:cloud_firestore/cloud_firestore.dart' as _i3;
import 'package:flutter_local_notifications/flutter_local_notifications.dart'
as _i14;
import 'package:mockito/mockito.dart' as _i1;
import 'package:mockito/src/dummies.dart' as _i25;
import 'package:pilll/entity/diary.codegen.dart' as _i22;
import 'package:pilll/entity/diary_setting.codegen.dart' as _i21;
import 'package:mockito/src/dummies.dart' as _i21;
import 'package:pilll/entity/diary.codegen.dart' as _i23;
import 'package:pilll/entity/diary_setting.codegen.dart' as _i22;
import 'package:pilll/entity/firestore_id_generator.dart' as _i35;
import 'package:pilll/entity/menstruation.codegen.dart' as _i8;
import 'package:pilll/entity/pill_sheet.codegen.dart' as _i31;
import 'package:pilll/entity/pill_sheet_group.codegen.dart' as _i7;
import 'package:pilll/entity/pill_sheet_modified_history.codegen.dart' as _i18;
import 'package:pilll/entity/pill_sheet_type.dart' as _i17;
import 'package:pilll/entity/pilll_ads.codegen.dart' as _i24;
import 'package:pilll/entity/pilll_ads.codegen.dart' as _i25;
import 'package:pilll/entity/reminder_notification_customization.codegen.dart'
as _i5;
import 'package:pilll/entity/remote_config_parameter.codegen.dart' as _i27;
import 'package:pilll/entity/schedule.codegen.dart' as _i23;
import 'package:pilll/entity/schedule.codegen.dart' as _i24;
import 'package:pilll/entity/setting.codegen.dart' as _i6;
import 'package:pilll/entity/user.codegen.dart' as _i4;
import 'package:pilll/provider/batch.dart' as _i11;
Expand All @@ -47,6 +47,8 @@ import 'package:purchases_flutter/purchases_flutter.dart' as _i10;
// ignore_for_file: avoid_redundant_argument_values
// ignore_for_file: avoid_setters_without_getters
// ignore_for_file: comment_references
// ignore_for_file: deprecated_member_use
// ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports
// ignore_for_file: invalid_use_of_visible_for_testing_member
// ignore_for_file: prefer_const_constructors
Expand Down Expand Up @@ -844,7 +846,10 @@ class MockDatabaseConnection extends _i1.Mock
@override
String get userID => (super.noSuchMethod(
Invocation.getter(#userID),
returnValue: '',
returnValue: _i21.dummyValue<String>(
this,
Invocation.getter(#userID),
),
) as String);
@override
_i3.DocumentReference<_i4.User> userReference() => (super.noSuchMethod(
Expand Down Expand Up @@ -875,49 +880,49 @@ class MockDatabaseConnection extends _i1.Mock
),
) as _i3.DocumentReference<Object?>);
@override
_i3.DocumentReference<_i21.DiarySetting> diarySettingReference() =>
_i3.DocumentReference<_i22.DiarySetting> diarySettingReference() =>
(super.noSuchMethod(
Invocation.method(
#diarySettingReference,
[],
),
returnValue: _FakeDocumentReference_8<_i21.DiarySetting>(
returnValue: _FakeDocumentReference_8<_i22.DiarySetting>(
this,
Invocation.method(
#diarySettingReference,
[],
),
),
) as _i3.DocumentReference<_i21.DiarySetting>);
) as _i3.DocumentReference<_i22.DiarySetting>);
@override
_i3.CollectionReference<_i22.Diary> diariesReference() => (super.noSuchMethod(
_i3.CollectionReference<_i23.Diary> diariesReference() => (super.noSuchMethod(
Invocation.method(
#diariesReference,
[],
),
returnValue: _FakeCollectionReference_9<_i22.Diary>(
returnValue: _FakeCollectionReference_9<_i23.Diary>(
this,
Invocation.method(
#diariesReference,
[],
),
),
) as _i3.CollectionReference<_i22.Diary>);
) as _i3.CollectionReference<_i23.Diary>);
@override
_i3.DocumentReference<_i22.Diary> diaryReference(_i22.Diary? diary) =>
_i3.DocumentReference<_i23.Diary> diaryReference(_i23.Diary? diary) =>
(super.noSuchMethod(
Invocation.method(
#diaryReference,
[diary],
),
returnValue: _FakeDocumentReference_8<_i22.Diary>(
returnValue: _FakeDocumentReference_8<_i23.Diary>(
this,
Invocation.method(
#diaryReference,
[diary],
),
),
) as _i3.DocumentReference<_i22.Diary>);
) as _i3.DocumentReference<_i23.Diary>);
@override
_i3.DocumentReference<Object?> userPrivateRawReference() =>
(super.noSuchMethod(
Expand Down Expand Up @@ -1032,58 +1037,58 @@ class MockDatabaseConnection extends _i1.Mock
),
) as _i3.DocumentReference<_i7.PillSheetGroup>);
@override
_i3.CollectionReference<_i23.Schedule> schedulesReference() =>
_i3.CollectionReference<_i24.Schedule> schedulesReference() =>
(super.noSuchMethod(
Invocation.method(
#schedulesReference,
[],
),
returnValue: _FakeCollectionReference_9<_i23.Schedule>(
returnValue: _FakeCollectionReference_9<_i24.Schedule>(
this,
Invocation.method(
#schedulesReference,
[],
),
),
) as _i3.CollectionReference<_i23.Schedule>);
) as _i3.CollectionReference<_i24.Schedule>);
@override
_i3.DocumentReference<_i23.Schedule> scheduleReference(String? scheduleID) =>
_i3.DocumentReference<_i24.Schedule> scheduleReference(String? scheduleID) =>
(super.noSuchMethod(
Invocation.method(
#scheduleReference,
[scheduleID],
),
returnValue: _FakeDocumentReference_8<_i23.Schedule>(
returnValue: _FakeDocumentReference_8<_i24.Schedule>(
this,
Invocation.method(
#scheduleReference,
[scheduleID],
),
),
) as _i3.DocumentReference<_i23.Schedule>);
) as _i3.DocumentReference<_i24.Schedule>);
@override
_i3.DocumentReference<_i24.PilllAds?> pilllAds() => (super.noSuchMethod(
_i3.DocumentReference<_i25.PilllAds?> pilllAds() => (super.noSuchMethod(
Invocation.method(
#pilllAds,
[],
),
returnValue: _FakeDocumentReference_8<_i24.PilllAds?>(
returnValue: _FakeDocumentReference_8<_i25.PilllAds?>(
this,
Invocation.method(
#pilllAds,
[],
),
),
) as _i3.DocumentReference<_i24.PilllAds?>);
) as _i3.DocumentReference<_i25.PilllAds?>);
@override
_i9.Future<T> transaction<T>(_i3.TransactionHandler<T>? transactionHandler) =>
(super.noSuchMethod(
Invocation.method(
#transaction,
[transactionHandler],
),
returnValue: _i25.ifNotNull(
_i25.dummyValueOrNull<T>(
returnValue: _i21.ifNotNull(
_i21.dummyValueOrNull<T>(
this,
Invocation.method(
#transaction,
Expand Down Expand Up @@ -1422,7 +1427,13 @@ class MockFirestoreIDGenerator extends _i1.Mock
#call,
[],
),
returnValue: '',
returnValue: _i21.dummyValue<String>(
this,
Invocation.method(
#call,
[],
),
),
) as String);
}

Expand Down

0 comments on commit a8b48e9

Please sign in to comment.